vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   $bbuserinfo{username} not working.. why? (https://vborg.vbsupport.ru/showthread.php?t=99463)

MamboCube 10-27-2005 07:59 PM

$bbuserinfo{username} not working.. why?
 
ok this is driving me mad

this is the code i have

Code:

<?php echo "".construct_phrase($vbphrase[welcome_x],$bbuserinfo[username]);?>
but all i get is

welcome, .

global.php is working because all the phrases are working, its just this,

i dont think the $bbuserinfo{'userid'} is working either so its must be something to do with the $bbuserinfo variable or watever

any help would be very much appreciated,

thnx very much

Paul M 10-27-2005 08:11 PM

3.5 does not use $bbuserinfo, it uses $vbulletin->userinfo .

MamboCube 10-27-2005 08:27 PM

I LOVE YOU!!

thats it it worked

thats been bugging me sooo much

thanx very much Paul M

Guest190829 10-27-2005 08:43 PM

Here's a great tutorial explaining everything that has changed from 3.0.x to 3.5.

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

It helped me out a lot. :)

MamboCube 10-27-2005 08:53 PM

great!

thnx DANNY

Jaime82 10-28-2005 09:05 PM

Thanks for everyone’s help, I’m getting really close. I now have it where your automatically logged into the chat room with your registered name. I’m still having a problem though. I want the chat room to be password protected where members only can enter. With this code added if someone knows how to find the URL to the applet it will allow them to log in as Unregistered. Does anyone have any ideas on how to block them if they don’t have a registered name?

Thanks in Advance to anyone that can help me

Jaime

Paul M 10-28-2005 09:07 PM

Um, is your post in the right thread ?

Lea Verou 10-28-2005 10:05 PM

Maybe they are the same person? :p

MamboCube 10-29-2005 09:27 AM

nope, thats not me lol

question? 10-29-2005 10:42 AM

so to display some ones user name you use $vbulletin->userinfo[username] ???


All times are GMT. The time now is 03:08 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.02044 seconds
  • Memory Usage 1,725KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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