vb.org Archive

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

lolzers 01-06-2008 01:29 PM

Codes
 
Does anybody know the vB codes (e.g. display the user's username). I need them all so if anybody know a website that has them, or a FAQ section that has them, please link me. Or just post them yourself. Thanks!

kiril_cvetkov 01-06-2008 01:44 PM

If I understend - you are looking for vbulletin coding resources..
You have API documentation for vbulletin
here
Code:

http://members.vbulletin.com/api/index.html
And Articles and Tutorials
here
Code:

https://vborg.vbsupport.ru/forumdisplay.php?f=187

Opserty 01-06-2008 01:50 PM

PHP Code:

$vbulletin->userinfo['username'];
// OR in templates:
$bbuserinfo['username'

To find all:
PHP Code:

var_dump($vbulletin->userinfo); 


lolzers 01-06-2008 02:45 PM

Osperty, where would i add that second code to see them all?

Opserty 01-06-2008 03:20 PM

Stick it in a Plugin (Temporarily) hook location say global_complete or something.


All times are GMT. The time now is 02:18 PM.

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.02829 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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