Back to vBulletin 3.0 Template Modifications

User CP Option - Search Display Mode
Mod Version: 1.00, by Oblivion Knight

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 0
Released: 25 Jun 2005 Last Update: Never Downloads:
Not Supported Template Edits  

This is an addon (if it can be called that) to the following modification:
New posts as posts, Instead of updated threads.

Many of my users didn't like the change and asked me how they could use the "old" layout (meaning threads). So I created an option in the User CP for users to choose, and by default it's set to display by Threads..

Firstly, create a new User Profile Field.
AdminCP -> User Profile Fields -> Add New User Profile Field

Select "Single-Selection Menu" from the dropdown menu, and set the following options..

Title: Search Display Mode
Description: When displaying New Posts or Today's Posts, there are two interface types available to you.
Options: Updated Threads
New Posts

Set Default: Yes, but No First Blank Option

Which page displays this option? Options: Other

Save and make a note of the field number that has been allocated to it.

Now, where you have added or changed a search.php link in your templates to include
HTML Code:
&showposts=1
at the end of the address, change it to
HTML Code:
<if condition="$bbuserinfo['fieldX']=='New Posts'">&showposts=1</if>
Changing X in fieldX, to the allocated field number of your User Profile Field.

AdminCP -> Styles & Templates -> Style Manager

Download

No files for download.

Similar Mods

Display which Option a User Voted for vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024