Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions

Why not Register and remove some of the ads from vBulletin Setup
Post New Thread  Reply



#1   12-19-2006, 03:54 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,242 Location: Topeka, KS
vBulletin Variables List


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


I found this at AF, please go check them out, it's a great site..
here is a link
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Reply to the Welcome PM for Full Access to the Forums.. Thanks

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums
Check out this cool page - Bar Code Signatures
Quote   |  



#2   07-29-2007, 09:30 AM
foulplay will become famous soon enough Join Date: Mar 2007 Posts: 16
Re: vBulletin Variables List


................

Last edited by foulplay; 09-20-2007 at 05:18 AM.
Quote   |  



#3   08-03-2007, 05:51 AM
radarhunter will become famous soon enough Join Date: Sep 2006 Posts: 103
Re: vBulletin Variables List


hey thanks man this can come in handy a big deal
--------------------
StepheniansOnline™
Quote   |  



#4   10-18-2007, 10:33 AM
Neutral Singh will become famous soon enough Join Date: Oct 2006 Posts: 5
Re: vBulletin Variables List


Code:
<table cellpadding="0" cellspacing="0"><tbody><tr><td>
To link to this page, copy the following code to your website: 
<input name="detail_link" value="&lt;a href=&quot;http://www.sikhphilosophy.net&quot;&gt;$ vboption[bbtitle]&lt;/a&gt;" class="alt2" readonly="true" size="50" type="text">
</td></tr></tbody></table>
I am looking to change the variable in red to show the actual url of page it is being displayed.

Last edited by Neutral Singh; 10-18-2007 at 10:36 AM.
Quote   |  



#5   10-25-2007, 10:10 PM
Luigi has a spectacular aura about Join Date: Oct 2007 Posts: 342
Re: vBulletin Variables List


Hi, Sorry I don't exactly follow. Can someone explain what this list variable list means and how it applies specifically to us and what we would us for the forum?
Quote   |  



#6   10-26-2007, 11:13 PM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,242 Location: Topeka, KS
Re: vBulletin Variables List


It's sort of like in your header question. The variable with
<img src=""> The variable that didn't show when you pasted it here.
A variable just takes the place of something else.
so you wouldn't have to put <img src="http://site.com/image.gif"> you can use
<img src="$style[logo]">

This is my understanding at least.
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Reply to the Welcome PM for Full Access to the Forums.. Thanks

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums
Check out this cool page - Bar Code Signatures
Quote   |  



#7   01-13-2008, 07:34 AM
dgenx210 has a spectacular aura about Join Date: Jan 2008 Posts: 27
Re: vBulletin Variables List


this could come in handy dandy when I want to modify some of my installed hacks

*dgenx210 bookmarked this useful page*
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Thread Tools
Display Modes

 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
vBulletin Template Conditionals List Brandon vBulletin Hacks - Modifications 34 04-27-2008 09:47 PM
List of domains you own Rocket 442 General Discussion 11 10-15-2007 05:36 PM
Members List joh vBulletin Questions 2 03-30-2007 05:03 PM
Members List dprundle vBulletin Questions 4 09-12-2006 01:09 PM


All times are GMT -6. The time now is 07:43 AM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory