vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   show usernam in usercp_shell (https://vborg.vbsupport.ru/showthread.php?t=136332)

Wordplay 01-12-2007 09:56 PM

show usernam in usercp_shell
 
how do i show a user's username in the usercp_shell, i got it to work on one site, but i can't make it work right now, any help?

Princeton 01-12-2007 09:57 PM

$bbuserinfo[username]

noppid 01-12-2007 09:58 PM

How about showing us where you are with your code? That's a pretty broad statement. But, it's not a difficult request with some more info.

EDIT: Never mind. The short answer is on the table. :)

Kirk Y 01-12-2007 09:59 PM

Ehm... Princeton has pretty much answered his question -- he obviously knows which template to edit (usercp_shell), so all he needs is the variable.

noppid 01-12-2007 10:00 PM

I figured that $bbuserinfo[username] was obvious and didn't apply. Let's see.

Wordplay 01-12-2007 10:48 PM

haha... i must be loosin it... i was about to say i tried that... but for some reason i had:

$userinfo[musername]

in there instead... no wonder it didn't work. why didn't i check it?

thanks a lot for the quick response... if you guys are still bored, why not help my with another problem i'm having :D

https://vborg.vbsupport.ru/showthread.php?t=136225

Kirk Y 01-12-2007 11:04 PM

$userinfo would be used in the "memberinfo" template.


All times are GMT. The time now is 09:14 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.00985 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
  • (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