vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Real Name in User Name (https://vborg.vbsupport.ru/showthread.php?t=180848)

DivineMessenger 05-29-2008 12:42 AM

Real Name in User Name
 
What I want to do is put user's real names in parenthesis next to their username on the user's online list.

Example:

Users Online: DivineMessenger (Dexter),

There is currently a user field for names so I want to link that in next to their username somehow. Is this doable?

Reeve of shinra 05-29-2008 12:51 AM

add $post[field5] to your postbit template (and any others you want to show this info). You can add this next to or below the username.

(field5 may be another # depending on when you created it, check your user profile fields section of the admincp to confirm).

DivineMessenger 05-29-2008 01:47 AM

I want it everywhere their username is listed though.

GameWizard 05-29-2008 05:10 AM

Then only real way I can think of is to manually edit incorporate the field into every location where the username appears, or create a plugin which will change the output of the username to include the username, which I am uncertain is even possible.

DivineMessenger 05-29-2008 05:32 AM

yeah, seems pretty unable to be done but can you give me an example? username([field5])??

GameWizard 05-30-2008 07:44 PM

beside the username code you should have something like this:

Code:

$userinfo[field5]


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