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)
-   -   Miscellaneous Hacks - Display Userid in Postbit/Postbit_Legecy & MemberInfo (https://vborg.vbsupport.ru/showthread.php?t=120964)

pollon 03-08-2007 06:31 PM

hi!
I would like other usergroups to see the user ID. so i want the user ID not to link anywhere.
how can I do it?

aquariumpros 03-08-2007 06:37 PM

Quote:

Originally Posted by pollon (Post 1199006)
hi!
I would like other usergroups to see the user ID. how can I do it?

Add the usergroups to this line :

PHP Code:

<if condition="$bbuserinfo[usergroupid]==6"


MThornback 03-09-2007 12:23 AM

Quote:

Originally Posted by rjmjr69 (Post 1172809)
Can this be added with vb plaza installed? I looked at the code and found SOME of it in membersinfo. But the line doesn't match exactly

This is what I have that matches the most information

<if condition="$userinfo['usertitle']"><div class="smallfont" <if condition="$userinfo['titlestyle']">style="$userinfo[titlestyle]"</if>>$userinfo[usertitle]</div></if>
<!-- vbPlaza end -->


All that bit you posted does is allow VBPlaza to apply colour and font changes etc... if you add this authors code after <!-- vbPlaza end --> it should appear as intended without a problem providing there are no open template conditions above it to interfere :)

rjmjr69 03-09-2007 01:37 AM

Quote:

Originally Posted by MThornback (Post 1199227)
All that bit you posted does is allow VBPlaza to apply colour and font changes etc... if you add this authors code after <!-- vbPlaza end --> it should appear as intended without a problem providing there are no open template conditions above it to interfere :)

Thank you. Got it figured out and did it exactly how you exlained. But with the recent security issues I had to uninstall the plaza for now.

rolfw1 05-20-2007 08:41 AM

Very useful, thanks very much. :)

changed the postbit code slightly to centre the text (for appearance sake)

@ aquariumpros. Thanks for that, now use <if condition="is_member_of($bbuserinfo, 2, 7, 10)"> and gives access to mods and a special group. :)

Mastar 05-20-2007 12:27 PM

Thanks!

rolfw1 05-23-2007 08:14 PM

Thanks again, just added the update, now lets the mods view the member information. Is it possible to point the mods to the complete mod cpanel page with the user loaded, as at the moment it only points to the user information and no sidebar with function controls, so even if they get there, they can't do anything with the information.

Mastar 05-23-2007 08:23 PM

Quote:

Originally Posted by rolfw1 (Post 1253437)
Thanks again, just added the update, now lets the mods view the member information, is it possible to point the mods to the complete mod cpanel page, as at the moment it only points to the user information and no sidebar with function controls, so even if they get there, they can't do anything with the information.

Gonna look into it, thanks!

Andyucs 05-30-2007 05:30 PM

Clicks Installed

Nice 1

dannylin3000 06-03-2007 01:07 AM

i have a custom field for my users to enter their nickname - was wondering if you know how to show their nickname instead of their username?


All times are GMT. The time now is 02:26 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.01098 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete