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
Return to the default flat view Create a new topic Submit Reply
Members link to profiles in Group Manager [message #36190] Wed, 07 March 2007 16:25 Go to previous message
Marticus   United States
Messages: 272
Registered: June 2002
Karma:
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}
[Message index]
 
Read Message
Read Message
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 05:56:36 GMT 2024

Total time taken to generate the page: 0.05352 seconds