![]() |
Omitting a specific forums posts in *New Topics* search?
Sorry if that didnt make sense LMAO but I couldnt think of any better way to say it :dead:
I have one forum that I want to add some sort of setting to to where when someone posts in it, it wont be included in the users search results when they click on the *New posts* button. Thanks in advance :smoke: :smoke: :smoke: |
Without hack:
You can disable access of the forum to some usergroups. Their search will automatically exclude this forum then. With hack: Edit search.php, find: PHP Code:
PHP Code:
PHP Code:
Not tested but should work.. Logician |
Oh you are too awesome. I will try this and let you know how it works. Thanks a bunch! :cool:
|
I have tryed to include it in the search.php but i dident get that result i had hoped for :)
The one i could use would be the one that calls the action http://www.xxxxxxx.dk/forum/search.php?action=getnew How do i modify it for that one ? |
Should be the same modification that Logican posted, just searcg for getnew in search.php and you will see the code to change just under it ;)
|
Yep have found it, but when i modify it, nothing happens, i still get the page ;( SNIFF
|
Quote:
Find: PHP Code:
PHP Code:
PHP Code:
Is it exactly what you did? Attention: This change will exclude the forum for GUESTS ONLY! If you logged in as a member, you have to make the change I referred for ~*Julie*~ above. In other words if you want to exlude the forum for BOTH guests and members apply BOTH changes.. |
This is the change i maid.
I got the 16 from this: http://www.mor-far.dk/vbulletin01.gif PHP Code:
|
Logician,
Thanks for your assistance with the hack. I have followed your instructions exactly, and the forum I do not want to show up in the "Todays Active Threads" still shows up? Any other ideas or suggestions? Thanks BTW, my original post was at: https://vborg.vbsupport.ru/showthrea...threadid=43531 |
Oh I'm sorry I never replied back :( Thanks again, this has helped me alot, it woks awesome :banana: You rock!
|
All times are GMT. The time now is 11:42 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:
|