vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   UserID in postbit_legacy (https://vborg.vbsupport.ru/showthread.php?t=98645)

oberheimhaven 06-27-2006 09:37 PM

will this work with 3.5.4 I installed however its was over to the right of member pic and ID what could i be doing wrong yes In new atthis let me check again

Hmm tired everything still going on the far right side pic on the left anyone here that can i help I sure would appreciate it..

Thanks

Sangrun 06-30-2006 02:41 AM

Did not work in my 3.5.4 at all. I went back and triple checked I had it in the right place and all the code was there.

Shazz 06-30-2006 02:46 AM

Works Great!
*clicks install
________
C'?tait un rendez-vous

NetworkTown.Net 07-06-2006 05:14 PM

Hello

Have you got a update version for 3.5.4 please thank you.

Blind Guardian 07-08-2006 09:12 AM

I added a condition so it only shows up for admins, but this should make my life a tad easier whenever I'm adding user-specific features to the templates.

Thanks.

joseph2007 07-17-2006 05:21 AM

Quote:

Originally Posted by Blind Guardian
I added a condition so it only shows up for admins, but this should make my life a tad easier whenever I'm adding user-specific features to the templates.

Thanks.

forgive me but.. how could i go about doing the same? i want to add the userid to my postbit but i don't want anyone cept admins (and or higher) seeing it.

Simplicity 07-20-2006 03:39 PM

I don't see how you would benefit by hiding the user id in the template to other usergroups... all a user needs to do is hover the mouse over the username or go to the users profile page and the user id is viewable in the url. However thats just my opinion.

Blind Guardian 07-20-2006 05:24 PM

Quote:

Originally Posted by joseph2007
forgive me but.. how could i go about doing the same? i want to add the userid to my postbit but i don't want anyone cept admins (and or higher) seeing it.

Where you would add:

Code:

<if condition="$post[userid]">
    <div>UserID: $post[userid]</div><br />
</if>

Instead, add:

Code:

<if condition="$post[userid] AND in_array($bbuserinfo[usergroupid], array(5,6))">
    <div>UserID: $post[userid]</div><br />
</if>

Where "array(5,6)" is the userids for the Super-Moderators and Admins. Any additional usergroups (like moderators) can just be added in the same way, with a comma then the ID.

Quote:

Originally Posted by Simplicity
I don't see how you would benefit by hiding the user id in the template to other usergroups... all a user needs to do is hover the mouse over the username or go to the users profile page and the user id is viewable in the url. However thats just my opinion.

True, but I also don't like cluttering up the postbit for the members with information that doesn't need to be there.

There's no reason for a member to be able to see the userID that easily, where as an administrator such as myself would find it easier having the ID displayed in static text rather than having to hover my mouse over a link every time I need to referrence it.


All times are GMT. The time now is 06:13 AM.

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.01136 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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