![]() |
User CP Option - Search Display Mode
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 |
All times are GMT. The time now is 05:28 AM. |
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:
|