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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 11:25 Go to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
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 17:22 Go to previous message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
As per ilia, this is now in CVS.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: about chinese search
Next Topic: Avatar Moderator flag
Goto Forum:
  

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

Current Time: Tue Dec 12 22:46:41 EST 2017

Total time taken to generate the page: 0.00766 seconds