Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-16-2007, 09:24 AM
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there are only a speciric ammount of $show varibles and for the most part they are not global

Code:
$bbuserinfo 
$vboptions
$stylevar
Are the 3 globals that i am aware about besides $GLOBAL

$bbuserinfo can show anything that is stored in the usertable field for the specific person who is online: IE $bbuserinfo[posts] will show the amount of posts, $bbuserinfo[username] will show a users, username.

$vboptions are all the options that are stored in the settings table like to show DHTML or the name of your board or even your bulletin boards url
$vboptions[bburl] $vboptions[homeurl]

$stylevar holds all the non css style settings, like the image directorys.


Here are the $bbuserinfo vars. (also anything within the user database table can be used aswell)

Code:
Array
(
    [userid] => 
    [temp] => 
    [field1] => 
    [field2] => 
    [field3] => 
    [field4] => 
    [subfolders] => 
    [pmfolders] => 
    [buddylist] => 
    [ignorelist] => 
    [signature] => 
    [searchprefs] => 
    [usergroupid] => 
    [membergroupids] => 
    [displaygroupid] => 
    [username] =>
    [password] =>
    [passworddate] => 
    [email] =>
    [styleid] => 
    [parentemail] => 
    [homepage] => 
    [icq] => 
    [aim] => 
    [yahoo] => 
    [showvbcode] => 
    [usertitle] => 
    [customtitle] =>
    [joindate] =>
    [daysprune] => 
    [lastvisit] => 
    [lastactivity] => 
    [lastpost] => 
    [posts] => 
    [reputation] => 
    [reputationlevelid] =>
    [timezoneoffset] => 
    [pmpopup] =>
    [avatarid] =>
    [avatarrevision] =>
    [options] =>
    [birthday] => 
    [birthday_search] =>
    [maxposts] =>
    [startofweek] =>
    [ipaddress] => 
    [referrerid] =>
    [languageid] =>
    [msn] => 
    [emailstamp] =>
    [threadedmode] =>
    [autosubscribe] =>
    [pmtotal] => 
    [pmunread] => 
    [salt] => 
    [arcadesettings] => 
    [lang_options] => 
    [lang_code] => 
    [lang_charset] => 
    [lang_locale] => 
    [lang_imagesoverride] => 
    [lang_dateoverride] => 
    [lang_timeoverride] => 
    [lang_registereddateoverride] => 
    [lang_calformat1override] => 
    [lang_calformat2override] => 
    [lang_logdateoverride] => 
    [lang_decimalsep] => 
    [lang_thousandsep] =>
    [showsignatures] => 
    [showavatars] => 
    [showimages] => 
    [coppauser] => 
    [adminemail] => 
    [showvcard] => 
    [dstauto] => 
    [dstonoff] => 
    [showemail] => 
    [invisible] => 
    [showreputation] => 
    [receivepm] => 
    [emailonpm] => 
    [hasaccessmask] => 
    [postorder] => 
    [urlusername] => 
    [musername] => 
    [displaygrouptitle] => 
    [displayusertitle] => 
    [realstyleid] => 
    [tzoffset] => 
    [lastvisitdate] => 
    [permissions] => Array
        (
            [usergroupid] => 
            [title] => 
            [description] => 
            [usertitle] => 
            [passwordexpires] => 
            [passwordhistory] => 
            [pmquota] => 
            [pmsendmax] => 
            [pmforwardmax] => 
            [opentag] => 
            [closetag] => 
            [canoverride] => 
            [ispublicgroup] => 
            [forumpermissions] => 
            [pmpermissions] => 
            [calendarpermissions] => 
            [wolpermissions] => 
            [adminpermissions] => 
            [genericpermissions] => 
            [genericoptions] => 
            [pmpermissions_bak] => 
            [attachlimit] => 
            [avatarmaxwidth] => 
            [avatarmaxheight] => 
            [avatarmaxsize] => 
            [profilepicmaxwidth] => 
            [profilepicmaxheight] => 
            [profilepicmaxsize] => 
            [arcadepermissions] =>
        )

    [forumpermissions] => Array
        (
            [1] => 
            [2] => 
        )

    [calendarpermissions] => Array
        (
            [1] => 
        )

    [joingroupid] =>

$vboptions vars

Code:
Array
(
    [templateversion] =>
    [attachfile] => 
    [attachpath] =>
    [usefileavatar] => 
    [avatarpath] =>
    [avatarurl] =>
    [divnotpara] => 
    [usebbcodeparserecurse] =>
    [bbactive] => 
    [bbclosedreason] =>
    [bbtitle] => 
    [bburl] => 
    [hometitle] => 
    [homeurl] => 
    [contactuslink] => 
    [contactusoptions] => 
    [webmasteremail] =>
    [privacyurl] => 
    [copyrighttext] => 
    [companyname] => 
    [faxnumber] => 
    [address] => 
    [keywords] => 
    [description] => 
    [useforumjump] => 
    [pagenavpages] => 
    [enableaccess] => 
    [showimicons] => 
    [addtemplatename] => 
    [usestrikesystem] => 
    [yestoday] => 
    [timeoffset] => 
    [dstonoff] => 
    [dateformat] => 
    [timeformat] => 
    [registereddateformat] => 
    [calformat1] => 
    [calformat2] => 
    [logdateformat] => 
    [cookietimeout] => 
    [cookiepath] => 
    [cookiedomain] => 
    [gzipoutput] => 
    [gziplevel] => 
    [addheaders] => 
    [nocacheheaders] => 
    [useheaderredirect] => 
    [allowphpinfo] => 
    [cachemaxage] => 
    [threadviewslive] => 
    [attachmentviewslive] => 
    [emailsendnum] => 
    [sessionlimit] =>
    [loadlimit] => 
    [allowimgsizefailure] => 
    [gdversion] => 
    [safeupload] => 
    [tmppath] => 
    [usemailqueue] => 
    [needfromemail] => 
    [copypostindex] => 
    [languageid] => 
    [styleid] => 
    [allowchangestyles] => 
    [cleargifurl] =>
    [storecssasfile] => 
    [usepopups] => 
    [legacypostbit] => 
    [enablecensor] => 
    [censorchar] => 
    [censorwords] => 
    [blankasciistrip] => 
    [enableemail] => 
    [displayemails] => 
    [secureemail] => 
    [emailfloodtime] => 
    [allowregistration] => 
    [usecoppa] => 
    [moderatenewmembers] => 
    [regimagecheck] => 
    [welcomemail] => 
    [newuseremail] => 
    [allowmultiregs] => 
    [verifyemail] => 
    [requireuniqueemail] => 
    [minuserlength] => 
    [maxuserlength] => 
    [illegalusernames] => 
    [usereferrer] => 
    [defaultregoptions] => 
    [ctMaxChars] => 
    [ctCensorWords] => 
    [ctCensorMod] => 
    [allowsignatures] => 
    [sigmax] => 
    [allowbbcode] => 
    [allowsmilies] => 
    [allowbbimagecode] 
    [allowhtml] => 
    [ignoremods] => 
    [avatarenabled] => 
    [numavatarswide] => 
    [numavatarsperpage] => 
    [profilepicenabled] => 
    [reputationenable] => 
    [reputationhide] => 
    [reputationdefault] => 
    [reputationundefined] => 
    [showuserrates] => 
    [adminpower] =>
    [rdpower] => 
    [pcpower] => 
    [kppower] => 
    [minreputationpost] => 
    [minreputationcount] => 
    [maxreputationperday] => 
    [reputationrepeat] => 
    [unallowvbcode] => 
    [unallowsmilies] => 
    [unallowimg] => 
    [unallowhtml] => 
    [enablememberlist] => 
    [memberlistposts] => 
    [memberlistfields] => 
    [memberlistperpage] => 
    [usememberlistadvsearch] => 
    [profilelastpost] => 
    [enablebanning] => 
    [banip] => 
    [banemail] => 
    [allowkeepbannedemail] => 
    [globalignore] => 
    [allowedbbcodes] => 
    [codemaxlines] => 
    [quickreply] => 
    [quickreplyclick] => 
    [postminchars] => 
    [ignorequotechars] => 
    [quotetitle] => 
    [postmaxchars] => 
    [maximages] => 
    [stopshouting] => 
    [allowdynimg] => 
    [floodchecktime] => 
    [editthreadtitlelimit] => 
    [addpolltimeout] => 
    [edittimelimit] => 
    [noeditedbytime] => 
    [logip] => 
    [allowvbcodebuttons] => 
    [wysiwyg_show_smiliebox] => 
    [smtotal] => 
    [smcolumns] => 
    [wysiwyg_smtotal] => 
    [syscolorpicker] => 
    [attachtotalspace] => 
    [attachlimit] => 
    [attachboxcount] => 
    [allowattachdel] => 
    [allowclosedattachdel] => 
    [allowduplicates] => 
    [viewattachedimages] => 
    [attachthumbs] => 
    [attachthumbssize] => 
    [attachrow] => 
    [thumbpng] => 
    [maxpolloptions] => 
    [updatelastpost] => 
    [showvotes] => 
    [votechange] => 
    [enablesearches] => 
    [searchfloodtime] => 
    [minsearchlength] => 
    [maxsearchlength] => 
    [goodwords] => 
    [searchperpage] =>
    [maxresults] =>
    [allowwildcards] => 
    [similarthreadsearch] => 
    [similarthreadthreshold] => 
    [multimatchscore] => 
    [datescore] => 
    [threadtitlescore] => 
    [posttitlescore] => 
    [replyscore] =>
    [replyfunc] =>
    [viewscore] =>
    [viewfunc] => 
    [ratescore] => 
    [ratefunc] => 
    [forumhome] => 
    [displayloggedin] =>
    [showbirthdays] => 
    [birthdaydatecut] => 
    [showevents] => 
    [showholidays] =>
    [showeventtype] =>
    [forumhomedepth] => 
    [forumdisplaydepth] => 
    [subforumdepth] => 
    [showforumdescription] =>
    [hideprivateforums] =>
    [showlocks] => 
    [lastthreadchars] =>
    [showmoderatorcolumn] => 
    [showforumusers] => 
    [maxthreads] => 
    [showstickies] =>
    [showdots] => 
    [usehotthreads] =>
    [hotnumberviews] => 
    [hotnumberposts] => 
    [linktopages] => 
    [maxmultipage] =>
    [threadpreview] =>
    [oneannounce] =>
    [showthreadusers] => 
    [maxposts] =>
    [usermaxposts] =>
    [showdeficon] =>
    [enableage] =>
    [wordwrap] => 
    [threadvoted] => 
    [threadsubscribed] =>
    [showsimilarthreads] => 
    [allowthreadedmode] => 
    [threadedmode] => 
    [threaded_listdepth] => 
    [threaded_maxcache] => 
    [enablepms] => 
    [checknewpm] => 
    [pmmaxchars] => 
    [pmfloodtime] => 
    [pmperpage] => 
    [pmmaxperpage] => 
    [privallowicons] => 
    [privallowbbcode] => 
    [privallowsmilies] => 
    [privallowbbimagecode] => 
    [privallowhtml] => 
    [WOLenable] => 
    [WOLrefresh] => 
    [WOLguests] => 
    [WOLresolve] => 
    [enablespiders] => 
    [spiderstrings] => 
    [spiderdesc] => 
    [archiveenabled] => 
    [archive_threadsperpage] => 
    [archive_postsperpage] => 
    [cpstylefolder] => 
    [timeoutcontrolpanel] =>
    [adminquickstats] => 
    [cp_collapse_forums] => 
    [cp_usereditcolumns] => 
    [externaljs] => 
    [externalrss] => 
    [externalxml] => 
    [errorlogdatabase] => 
    [errorlogsecurity] => 
    [errorlogmaxsize] => 
    [disableerroremail] => 
    [subscriptionmethods] => 
    [ppemail] => 
    [ncxemail] => 
    [worldpay_instid] => 
    [authorize_loginid] => 
    [abspath] =>
    [hourdiff] =>
)
And the $stylevar

Code:
Array
(
    [cellpadding] => 
    [cellspacing] => 
    [closedthreadimage] =>
    [codeblockwidth] => 
    [contenttype] => 
    [formspacer] =>
    [formwidth] =>
    [formwidth_usercp] => 
    [htmldoctype] => 
    [htmlextrasfolder] =>
    [imagesfolder] => 
    [imgdir_attach] =>
    [imgdir_button] =>
    [imgdir_editor] => 
    [imgdir_misc] =>
    [imgdir_poll] =>
    [imgdir_rating] =>
    [imgdir_reputation] => 
    [imgdir_statusicon] => 
    [messagewidth] => 
    [messagewidth_usercp] => 
    [newreplyimage] =>
    [newthreadimage] =>
    [outerborderwidth] =>
    [outertablewidth] =>
    [spacersize] =>
    [tablewidth] => 
    [textareacols_ie4] =>
    [textareacols_ns4] => 
    [textareacols_ns6] => 
    [titleimage] => 
    [textdirection] =>
    [left] => 
    [right] => 
    [languagecode] => 
    [charset] => 
    [body_bgcolor] => 
    [body_fgcolor] => 
    [page_bgcolor] => 
    [page_fgcolor] =>
    [tborder_bgcolor] => 
    [tborder_fgcolor] => 
    [tcat_bgcolor] =>
    [tcat_fgcolor] => 
    [thead_bgcolor] =>
    [thead_fgcolor] => 
    [tfoot_bgcolor] => 
    [tfoot_fgcolor] =>
    [alt1_bgcolor] => 
    [alt1_fgcolor] => 
    [alt2_bgcolor] => 
    [alt2_fgcolor] => 
    [alt3_bgcolor] =>
    [alt3_fgcolor] =>
    [wysiwyg_bgcolor] =>
    [wysiwyg_fgcolor] => 
    [time_fgcolor] => 
    [highlight_fgcolor] => 
    [fjsel_bgcolor] => 
    [fjsel_fgcolor] => 
    [fjdpth0_bgcolor] =>
    [fjdpth0_fgcolor] =>
    [panel_bgcolor] =>
    [panel_fgcolor] => 
    [panelsurround_bgcolor] =>
    [panelsurround_fgcolor] => 
    [legend_fgcolor] =>
    [vbmenu_control_bgcolor] =>
    [vbmenu_control_fgcolor] =>
    [vbmenu_popup_bgcolor] =>
    [vbmenu_popup_fgcolor] =>
    [vbmenu_option_bgcolor] =>
    [vbmenu_option_fgcolor] => 
    [vbmenu_hilite_bgcolor] =>
    [vbmenu_hilite_fgcolor] =>
    [imgdir_arcade] => 
    [outerdivwidth] =>
    [divwidth] =>
)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 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.17828 seconds
  • Memory Usage 2,364KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete