vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I let users add their real name in ()'s next to their username? (https://vborg.vbsupport.ru/showthread.php?t=170717)

JoeJack101 02-17-2008 03:33 AM

How do I let users add their real name in ()'s next to their username?
 
How do I let users add their real name in ()'s next to their username?

On some vBulletin forums, I've seen something like this for the format of usernames next to posts....
dark_knight872 (David)
Username (Real Name)

How do I get it to show up in threads like that on MY vBulletin forum?

Here is the URL of a forum that's like this:
http://forums.govteen.com/showthread.php?t=241222

Here is the URL for MY FORUM:
http://www.ugissues.com/

Boofo 02-17-2008 04:00 AM

Do a profile field for their real name and call the profile field in the postbit. ;)

Romeos Tune 02-17-2008 04:04 AM

Just add a new profile field for their first name. Remember the field ID and then put this code where you want it to show up in your postbit. Remember to change the x to your fieldID that you made.

<if condition="$post['fieldx']"><div class="postinfo">$post[fieldx]</div></if>

Boofo 02-17-2008 04:18 AM

Yes, Romeos Tune expanded on what I said so follow that and you will have what you are looking for. ;)

JoeJack101 02-18-2008 05:10 AM

No matter what I do to the postbit in the templates section of the Admin control panel, it seems like nothing is changing. Any idea why?

Lynne 02-18-2008 02:02 PM

Are you changing the correct postbit? There is postbit, for when the user info is on the top, and postbit_legacy, for when the user info is to the left.

JoeJack101 02-18-2008 04:54 PM

Thank you! HAHA! I didn't know that! I was changing the wrong one, Lynne!


All times are GMT. The time now is 07:00 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.01021 seconds
  • Memory Usage 1,720KB
  • 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
  • (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