vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Member Number in postbit question (https://vborg.vbsupport.ru/showthread.php?t=214178)

nikonuser 05-21-2009 12:07 AM

Member Number in postbit question
 
Okay... please let me just apologize up front, because I'm sure that this has been covered... but for the life of me, I can't find a comprehensive write up...

So, my users are asking if I can add their member numbers to be displayed with their user names. I've seen this done on several other forums... the one that stands out the most to me is NASIOC. The searches I've conducted have told me I need to add this code is postbit... $post[userid] which is fine and dandy, but where exactly to I put it? Does it matter if I have usernames info above each post rather than on the left side (which I believe is the default style for vBulletin). I know, I'm a newb, however, any help would be greatly appreciated. Thanks.

Oh, BTW, I'm using version 3.8.2 with noWhine! template. Thanks again.

Bill

EagleNick 05-21-2009 12:20 AM

If your user information is on the left side of the post, you add that code to the postbit_legacy template; if above the posts, you add it to the postbit template.

You can add the code wherever you want the userID to appear. If you tell me where in relation to the default elements you want it to appear, I can tell you where to add the code.

nikonuser 05-21-2009 12:25 AM

Nick, thanks for getting on so quick. The template I'm using, is very similar to what is being used on this forum, with the user info above posts... infact, everything looks the same minus the colors.

I'd like the member number to be on the right side with the join date, location and all that...

--------------- Added [DATE]1242871959[/DATE] at [TIME]1242871959[/TIME] ---------------

Awesome... I figured it out. hahaha thanks for the help, I really appreciate it.

EagleNick 05-21-2009 01:42 AM

No problem; I'm glad you got it sorted out. :D


All times are GMT. The time now is 04:03 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.00892 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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