Quick Login   
 
Register AdminFusion Tutorials Post Fusion Forum Matrix
 
Go Back AdminFusion » Software & Tech » Software » vBulletin » vB Variables List
Reply
 
LinkBack
Old 12-11-2005, 05:43 PM   #1
Forum Guru
 
Ryan's Avatar
 
Join Date: Sep 2005
Location: Athens, GA
Posts: 10,258
Ryan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond repute
vB Variables List

This is obviously not a complete list by any means, but I'm sure it will help you out a little bit

If you have more - List them!


$BBuserinfo Array, this can show anything thats stored in the user table

  • $bbuserinfo[username] Username
    $bbuserinfo[userid] User ID number
    $bbuserinfo[posts] Users postcount
    $bbuserinfo[signature] Users signature
    $bbuserinfo[email] User Email Address
    $bbuserinfo[homepage] Users homepage in profile
    $bbuserinfo[msn] Users MSN address from profile
    $bbuserinfo[yahoo] "" Yahoo ""
    $bbuserinfo[icq] "" ICQ ""
    $bbuserinfo[usertitle] Users custom usertitle
$VBoptions Array, these are the options stored in the settings table, i.e things that you configured from Vbulletin AdminCP>>Vbulletin Options.
  • $vboptions[forumactive] Status of whether forum is turned on/off
    $vboptions[bbclosedreason] Reason why forum turned off
    $vboptions[bbtitle] Forum title
    $vboptions[bburl] Forum URL
    $vboptions[hometitle] Site homepage Title
    $vboptions[homeurl] Site homepage URL
    $vboptions[copyrighttext] Site copyright text
    $vboptions[privacyurl] URL to forum privacy statement
    $vboptions[webmasteremail] Webmaster email address
    $vboptions[contactuslink] contact us URL
    $vboptiions[enablehooks] Status of plugin/hook system
    $vboptions[imagetype] Determine if using GD or Imagemagick
    $vboptions[timeoffset] forum time offset
    $vboptions[cookiepath] forum cookie path
    $vboptions[legacypostbit] Determine if using legacy (side) postbit or new horizontal postbit
    $vboptions[use_smtp] If SMTP mail is enabled
    $vboptions[smtp_host] SMTP hostname
    $vboptions[smtp_port] SMTP port number
    $vboptions[allowregistrations] Determine if new users can register
    $vboptions[welcomemail] Determine if welcome mail is sent on registration
    $vboptions[avatarenabled] Check if avatars are enabled
    $vboptions[reputationenable] Check if reputation system is enabled
$stylevar Array, this contains all the paths to forum images and other style variables that are editable in the Styles and templates >> Stylevars
  • $stylevar[titleimage] Path/filename for top banner
    $stylevar[outertablewidth] The width of your forum
    $stylevar[spacersize] Spacing betwen main body and content
    $stylevar[cellspacing] Inner border width
    $stylevar[cellpadding] Table cell padding
    $stylevar[formwidth] Form width in pixels
    $stylevar[imgdir_buton] Path for forum buttons
    $stylevar[imgdir_statusicon] Path for status icons
    $stylevar[imgdir_attach] Path for attachment icons
$css array, this is where all the CSS attributed can be located
  • $css variables[body][background] Body background colour
    $css[body][color] Body text colour
    $css[body][LINK_N][color] Body normal links
    $css[body][LINK_V][color] Body visited links
    $css[body][LINK_M][color] Body link hover colour
    $css[.page][background] Page background colour
    $css[.page][color] Page text colour
    $css[.tborder][background] Table border background colour
    $css[.tborder][color] Table border font colour
    $css[.tcat][background] Category strip background/colour
    $css[.tcat][color] Category strip font colour
    $css[.thead][background] Table header background gradient/colour
    $css[.thead][color] Table header background colour
    $css[.tfoot][background] Table footer background colour/gradient
    $css[.tfoot][color] Table footer text colour
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Professional vBulletin Skins
Ryan is offline   Reply With Quote
Old 12-12-2005, 12:49 AM   #2
Apprentice

 
illusion's Avatar
 
Join Date: Oct 2005
Posts: 481
illusion is on a distinguished road
Send a message via AIM to illusion Send a message via MSN to illusion Send a message via Yahoo to illusion
I believe there is a list like that at the vBulletin archives. It has some more in depth descriptions

http://www.vbulletin.org/forum/archi...p/t-73290.html
illusion is offline   Reply With Quote
Old 12-12-2005, 01:10 AM   #3
Forum Guru
 
Ryan's Avatar
 
Join Date: Sep 2005
Location: Athens, GA
Posts: 10,258
Ryan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond repute
Yep, you would be right...some good info there also. I'll try and organize it at a later time
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Professional vBulletin Skins
Ryan is offline   Reply With Quote
Old 04-19-2006, 06:51 AM   #4
Member
 
sunilvarma's Avatar
 
Join Date: Mar 2006
Location: India
Posts: 52
sunilvarma is on a distinguished road
Send a message via MSN to sunilvarma Send a message via Yahoo to sunilvarma
both the list and the link by illusion helped a lot. i've been actually lookin for this sort of thing.
__________________
Using a mobile for calling only is like buying a car just for it's ashtray

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
sunilvarma is offline   Reply With Quote
Old 12-19-2006, 10:51 PM   #5
Super Moderator
 
Brandon Sheley's Avatar
 
Join Date: Nov 2005
Location: Topeka, KS
Posts: 1,751
Brandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond reputeBrandon Sheley has a reputation beyond repute
Send a message via AIM to Brandon Sheley Send a message via MSN to Brandon Sheley Send a message via Yahoo to Brandon Sheley
wow, how did I not see this ?..lol

Thanks for the list guys, I'm always searching for these
__________________
Offering
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
since 2006, a few of my past
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

We just announced our newest
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
over at the
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
.com
Brandon Sheley is offline   Reply With Quote
Old 03-31-2007, 08:36 AM   #6
Lurker
 
Join Date: Aug 2006
Posts: 2
mikem is on a distinguished road
This is what i've been looking for in almost 5 months, thanks.
mikem is offline   Reply With Quote
Old 04-03-2007, 06:24 PM   #7
Lurker
 
DiSpy's Avatar
 
Join Date: Oct 2005
Location: South Florida
Posts: 3
DiSpy is on a distinguished road
$stylevar[imgdir_misc] Path for miscellaneous images

When I want to add a banner, or whatever, I upload it to here and use this variable to call it in my templates. This way no matter what theme, and no matter if it's outside the forum directory (like with a cms or mod) it always knows the correct path to the file. (I use this alot in template edits, thought i'd share.)
DiSpy is offline   Reply With Quote
Old 04-03-2007, 06:26 PM   #8
Lurker
 
Join Date: Aug 2006
Posts: 2
mikem is on a distinguished road
Thank you, I have a list that I have also made for myself as user notes on the desktop, I will add it to the list.
mikem is offline   Reply With Quote
Old 04-03-2007, 09:35 PM   #9
Chadwick ≥ Cadence
 
Adam's Avatar
 
Join Date: Sep 2005
Posts: 1,639
Adam has a brilliant futureAdam has a brilliant futureAdam has a brilliant futureAdam has a brilliant futureAdam has a brilliant futureAdam has a brilliant futureAdam has a brilliant futureAdam has a brilliant futureAdam has a brilliant futureAdam has a brilliant futureAdam has a brilliant future
Great list, I will be looking back to this one often!
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Adam is offline   Reply With Quote
Old 04-05-2007, 06:07 PM   #10
Lurker
 
Norman's Avatar
 
Join Date: Jun 2006
Location: [Italy]
Posts: 11
Norman is on a distinguished road
Send a message via MSN to Norman
Great list. Really thanks.
__________________
I'm Italian, so my english is bad.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Norman is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
vB Chat Options--Which is best? gprime vBulletin 1 01-25-2009 11:51 AM
vB & VB Jolteon vBulletin 11 12-01-2006 04:09 PM
Move from IPB to vB? Anyone done this? Blake Software 5 03-27-2006 09:16 PM

AdminFusion

All times are GMT +1. The time now is 08:05 PM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

© 2009 AdminFusion | Advertising Opportunities | Legal | A member of the Crowdgather Forum Community
 
From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78