![]() |
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!
|
Quote:
|
Awesome Work Thanks;
To anyone that this dosn't work for see https://vborg.vbsupport.ru/showthrea...threadid=43531 :bunny: |
Any way that someone could merge this with the other topic linked above?
The fix on the other topic worked for me. |
Any way to do this in vb 3.5?
|
Quote:
add : &exclude=FORUMID_TO_EXCLUDE to your search url. Eg. http://www.vbulletin.com/forum/search.php?do=getdaily&exclude=106 http://www.vbulletin.com/forum/search.php?do=getnew&exclude=106 |
is it possible to use a category ID instead of a forum id?
or maybe several forum ids? |
Just pass it a comma delimited list &exclude=4,6,7,3,5,7,54,3,23
It will exclude all of them. If your inquiring about the 3.5 method. |
yes.
thats it thank you ;) thank you! wored. thanks :D:D:D |
Quote:
|
All times are GMT. The time now is 10:51 PM. |
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:
|