Back to vBulletin 4.x Template Modifications

Users choose to see either Postbit or Postbit Legacy
Mod Version: 1.00, by dvsDave

vB Version: 4.0.x Rating: (0 vote - 0 average) Installs: 12
Released: 13 Sep 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Is in Beta Stage  

1. Create profile field that had the option of "Horizontal" or "Vertical" with one of them being being the first option, it's a required field, first option is default with no blank.

NOTE: set as default whichever is your current settings.

2. Note what the fieldID is in the profile field controlpanel

3a. (If your postbit is defaultly horizontal, do this, otherwise skip to step 3.b )
Open your postbit, at the top copy this:

Code:
<vb:if condition="$bbuserinfo[fieldx] != 'Vertical'">

3b. (If your postbit is defaultly vertical, do this)
Open your postbit, at the top copy this:

Code:
<vb:if condition="$bbuserinfo[fieldx] == 'Horizontal'">

4. At the end of the postbit, copy this:
Code:
<vb:else />

5. Then copy the entire contents of your postbit_legacy template after that.

6. The after you've posted the entire postbit_legacy template, copy this:
Code:
</vb:if>

7. Make sure your admincp settings in Styles & Languages is set to NOT use the Legacy Postbit, and it will be good to go!

Download

No files for download.

Screenshots

Click image for larger version
Name:	postbit1.PNG
Views:	664
Size:	20.0 KB
ID:	121960   Click image for larger version
Name:	postbit2.PNG
Views:	434
Size:	44.2 KB
ID:	121961  

Similar Mods

Show Thread Enhancements Showing Custom Profile Fields On Postbit And Postbit Legacy vBulletin 3.6 Template Modifications
Show Thread Enhancements Email to Friend, Print Version, Subscribe Thread in Postbit/Postbit Legacy vBulletin 3.8 Template Modifications

vblts.ru supports vBulletin®, 2022-2024