vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   List of changed var/array/function names (https://vborg.vbsupport.ru/showthread.php?t=82632)

tamarian 06-12-2005 01:57 PM

Thanks for the how-to's :up:

I needed to use $session outside the templates, it's now:

$session => $vbulletin->session->vars

noppid 06-12-2005 02:57 PM

Quote:

Originally Posted by tamarian
Thanks for the how-to's :up:

I needed to use $session outside the templates, it's now:

$session => $vbulletin->session->vars

That syntax you used may be confusing. It took me about 3 minutes to catch your drift. I see now that you were making a relation though. But here's what the new one looks like for the other folks.

$vbulletin->session->vars['sessionurl']

tamarian 06-12-2005 03:10 PM

Quote:

Originally Posted by noppid
That syntax you used may be confusing.

It shouldn't be :) That's the syntax suggested by the first post, left to right.

noppid 06-12-2005 03:19 PM

Quote:

Originally Posted by tamarian
It shouldn't be :) That's the syntax suggested by the first post, left to right.

Sorry I tried to help. Perhaps I should just shut up. :/

I was not trying to start an argument.

tamarian 06-12-2005 03:32 PM

Quote:

Originally Posted by noppid
Sorry I tried to help. Perhaps I should just shut up. :/

I was not trying to start an argument.

Me neither. My post was not meant to offende you, and if it did, I apologize. I just meant that was the syntax used by Brad in his first post. Anyway, between the both of us, we may have actually helped someone. :)

sabret00the 06-14-2005 08:06 AM

what is the new array for $userinfo (not $bbuserinfo)

Colin F 06-14-2005 08:20 AM

Quote:

Originally Posted by sabret00the
what is the new array for $userinfo (not $bbuserinfo)

That's the one that's used on the members profile and so, right?

I just checked the memberinfo template, and it hasn't changed there...

zetetic 06-14-2005 01:38 PM

Yeah, I mentioned that u=$userinfo[userid] wasn't working in the postbit a few posts ago. I think we might have to wait for the documentation to find out all the new conditionals.

tamarian 06-14-2005 02:03 PM

userinfo is not a global variable like bbuserinfo. So it won't be part of the new $vbulletin object and other globals. The variable name for userinfo will be different depending on the script or template being edited.

zetetic 06-14-2005 02:38 PM

Quote:

Originally Posted by tamarian
userinfo is not a global variable like bbuserinfo. So it won't be part of the new $vbulletin object and other globals. The variable name for userinfo will be different depending on the script or template being edited.

Thanks for the info, tamarian. I'll just use $post[userid] in the postbit instead. :)

Do you have any idea how I can solve this problem? Is there a replacement for $GLOBALS?


All times are GMT. The time now is 11:37 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.01365 seconds
  • Memory Usage 1,735KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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