![]() |
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.
|
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>" |
Few errors in above code and using $bbuserinfo not $userinfo. ;)
Code:
width="<if condition="$bbuserinfo['fieldXX']">$bbuserinfo[fieldXX]<else />800px</if>" |
As a matter of course, I always forget the bb part. At least I'm consistent. :D :(
|
All times are GMT. The time now is 06:53 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|