vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   List of variables (https://vborg.vbsupport.ru/showthread.php?t=64498)

yeloc 04-28-2004 06:51 PM

List of variables
 
Guys, I'm trying so hard to learn how to mod VBulletin, but I'm so overwhelmed by all the variable names and templates. I thought I remember seeing one a while back for version 2, but I could be wrong. Is there such a list because this would help me out so much.

ex

what is $bbuserinfo and what's in it?
what does forumdisplay.php do?

I'm very excited about working on my forum every night, but I'm getting frustated with hitting these walls. Thanks guys.

NTLDR 04-28-2004 07:14 PM

Quote:

Originally Posted by yeloc
what is $bbuserinfo and what's in it?

Contains all the information about the user who is viewing the site, so for example here on vB.org when I'm browsing $bbuserinfo['userid'] contains 10435, my userid.

Quote:

what does forumdisplay.php do?
Shows a thread/announcement listing for a specified forum and does the redirects for the forum jump.

yeloc 04-28-2004 07:22 PM

thanks. That's exactly what I'm talking about. Is there a list of all those variables and files? That would help me so much.

NTLDR 04-28-2004 07:37 PM

Not unless they have any details about them in the manual on vB.com, which I don't think they do.

maximux1 05-25-2004 08:30 PM

Quote:

Originally Posted by NTLDR
Not unless they have any details about them in the manual on vB.com, which I don't think they do.

so, what exactly is contained in the $bbuserinfo array? I am looking to use groupid and other things and was wondering how I could find out what all was in $bbuserinfo array.

Thank you

eob 05-26-2004 01:47 AM

I'm also on the road to writing my first hack, so I'd like to know what's involved in using global.php to grab user information. I noticed that some hacks seem to use the VBB cookie, rather than VBB itself to connect up and grab VBB user information etc, what's the deal here?

If I run code like this

PHP Code:

include (global.php)

(list (
$key,$value)) $bbuserinfo {echo $key $value

(pseudo code) will it work, or does it get more complicated than that?

Is there a beginners guide for hackers available or what's the story there?


All times are GMT. The time now is 12:34 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.01083 seconds
  • Memory Usage 1,724KB
  • 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_php_printable
  • (3)bbcode_quote_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