View Full Version : Need help modifying "New Posts"
shibby2
11-23-2011, 04:13 AM
Hi, was wondering if someone could help me modify which forums return results to the "New Posts" link in the menu bar?
Basically I want to be able to choose which forums results are taken from, so certain posts from certain forums aren't displayed.
Any help is appreciated! :)
Lynne
11-23-2011, 05:22 PM
Have you tried just adding "&include=x,y,z" or "&exclude=a,b,c" to the end of the search url?
shibby2
11-23-2011, 07:48 PM
No, I havent...Im not exactly good with any of this. lmao
So what would I do exactly (be thorough)? :D
Lynne
11-24-2011, 03:55 AM
You would edit the template and try adding that to the end of the URL. I'd test it first on your site though.
shibby2
11-27-2011, 07:23 AM
Which template exactly? search.php?
Lynne
11-27-2011, 04:23 PM
I would guess the navbar template - isn't that the link you are talking about?
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.