Home »
FUDforum Development »
Plugins and Code Hacks »
Members link to profiles in Group Manager
Members link to profiles in Group Manager [message #36190] |
Wed, 07 March 2007 16:25 |
Marticus
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&id={VAR: obj->user_id}&{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}
|
|
|
|
Goto Forum:
Current Time: Sun Nov 24 07:03:35 GMT 2024
Total time taken to generate the page: 0.02859 seconds