vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Display Userid In MemberLists (Admins Only) (https://vborg.vbsupport.ru/showthread.php?t=138829)

Mastar 02-07-2007 10:00 PM

Display Userid In MemberLists (Admins Only)
 
This puts the userid under the user's username in the memberlist also a quick way to edit a member in the ACP.

Statistics
File Uploads: 0
Template Changes: 1
Products to Install: 0

INSTALLATION:

TEMPLATE CHANGES

Code:

memberlist_resultsbit
FIND:
Code:

<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>

REPLACE IT WITH:
Code:

               
<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>

<br>
<!-- USERID -->
<if condition="$bbuserinfo[usergroupid]==6">
<a class="smallfont" href="admincp/user.php?do=edit&u=$userinfo[userid]">$vbphrase[userid]:$userinfo[userid]</a>
</if>
<!-- END USERID -->



Also check out Display Userid in Postbit/Postbit_Legecy & MemberInfo

rjmjr69 02-09-2007 05:12 PM

NICE!!! thank you

AzaDiyaR 04-05-2007 09:37 AM

nice thank you so much :D installed :D

athlon64bit 10-15-2007 03:55 PM

Excellent mod! Thank you!

chikkoo 10-15-2007 04:10 PM

Very interesting mod.
I like it, and I will use it.

acco 01-04-2008 02:58 PM

Thanks for doing this, installed :)

support2142 01-07-2008 03:42 AM

What a handy hack! Nice work!


All times are GMT. The time now is 10:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01451 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete