User CP Option - Search Display Mode
This modification is in the archives.
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 HTML Code:
<if condition="$bbuserinfo['fieldX']=='New Posts'">&showposts=1</if> AdminCP -> Styles & Templates -> Style Manager Download No files for download. |
Similar Mods
Display which Option a User Voted for | vBulletin 2.x Full Releases |