FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Members link to profiles in Group Manager
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Members link to profiles in Group Manager [message #36190] Wed, 07 March 2007 16:25 Go to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
The following patch will link member entries in the groups manager to their corresponding profile. I found it very useful and hope others will as well.

--- groupmgr.tmpl  2007-03-02 13:41:42.000000000 -0700
+++ groupmgr.tmpl  2007-03-03 12:39:54.000000000 -0700
@@ -87,9 +87,14 @@
 <td title="{VAR: names[$k]}" class="permNO">{MSG: groupmgr_no}</td>
 {SECTION: END}

+{SECTION: find_user_group_member_entry_lnk}
+{ROOT}?t=usrinfo&amp;id={VAR: obj->user_id}&amp;{DEF: _rsid}
+{SECTION: END}
+
 {SECTION: group_member_entry permissions for a user in a group}
 <tr class="{ALT-VAR: mem_list_alt RowStyleA RowStyleB}">
-<td class="nw">{VAR: member_name}</td>
+<td class="nw"><a href="{TEMPLATE: find_user_group_member_entry_lnk}">{VAR: member_name}</a></td>
+
 {TEMPLATE-DATA: perm_table}
 <td class="nw">[<a href="{TEMPLATE: group_member_entry_lnk}">{MSG: groupmgr_edit}</a>] [<a href="{TEMPLATE: group_member_entry_lnk1}">{MSG: groupmgr_delete}</a>]</td></tr>
 {SECTION: END}
Re: Members link to profiles in Group Manager [message #36218 is a reply to message #36190] Thu, 08 March 2007 22:22 Go to previous message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
As per ilia, this is now in CVS.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: about chinese search
Next Topic: Avatar Moderator flag
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 07:03:35 GMT 2024

Total time taken to generate the page: 0.02859 seconds