The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How does vB.org allow for user selectable board width?
In the Options area of the User CP, the user can choose if they want a fixed or fluid style, and even if they would prefer 80%, 90%, etc. How is this being done? Is there an add-on that will do this? I'm using vB 3.7.
|
#2
|
||||
|
||||
My guess is they're using the Custom Profile Field ID number as a variable in the main table width. Something like:
Code:
width="<if condition="$userinfo['fieldXX]">$userinfo['fieldXX]<else />800px</if>" |
#3
|
|||
|
|||
Few errors in above code and using $bbuserinfo not $userinfo.
Code:
width="<if condition="$bbuserinfo['fieldXX']">$bbuserinfo[fieldXX]<else />800px</if>" |
#4
|
||||
|
||||
As a matter of course, I always forget the bb part. At least I'm consistent.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|