![]() |
Exclude forum from New Posts and Today's Posts
1 Attachment(s)
Here is an easy way to exclude forums from New Posts and Today's Posts.
Edit the search.php file. PHP Code:
|
Hi Andy
I suppose works to 4.0.1 too? Tks in advance |
Quote:
So thanks indeed. |
i'll try this one out
thanks tag br gsmph |
Is there a way do this just for todays and new messages. When this hack installed that forums are all exculded from searchs. :(
|
Quote:
Code:
$foo = $_GET['do']; |
is there a hack that allows members to choose which forums to exclude for themselves?
|
Add-ons must be provided as a downloadable file - in this case a text file with the instructions, thanks.
|
Quote:
|
so... is there a hack that makes it easy for the normal user to do it?
I'm not going to try to explain that to 8000 people lol :) |
Quote:
No, I am unaware of such a mod. Seems like an awful lot of trouble to go to just for a few brain-dead people that probably wouldn't use it anyway. |
investorsiraq.com has it, and the users love it.
|
Quote:
|
Where do you make this edit? This would be a smokin' add on with instructions :)
|
Quote:
|
I found this on vb.com. Super easy.....
http://www.vbulletin.com/forum/showt...+forums+search |
Quote:
|
As said, this needs to be a mod for users to be able to do.
|
One of the problems with allowing the members to exclude the forums they choose is that if they choose lets say a dozen forums, under the breadcrumb where is says "Excluded Forums" becomes very long. To do it right you would want to make the excluded links message a link.
Also some would only want the excluded forums from being displayed when doing a New Posts or Today's Posts and not when using Advanced Search. So to do it right becomes very complex. |
Thanks for the code. Installed.
|
Any ideal if this could shut down a cron task? For some reason as soon as I made this change my cron stopped working.
|
I like it, but it does not exclude Forums from RSS, right?
But what I need too, is a possibility to exclude Forums from RSS feed. |
This can be do so much easier ;)
Enter a new replacement variable in your Styles and Template menu :) Search for Text: do=getnew& Replace with: do=getnew&exclude=xx,xx,xx Where xx is the forum you want to exclude :) |
Quote:
|
just what I needed thanks ^^^
|
I use this on my vB4 forum: https://vborg.vbsupport.ru/showthrea...elective+forum
Still works fine, make sure you read the thread though. Anyway, nicely done and let's people choose for themselves. Also lets the admin choose which forums CANNOT be excluded, etc. |
how about excluding the forums from the sidebar blocks ?
This doesn't affect those |
where do i add that code in the search.php files start or end ?
|
I found it easier to edit Navigation links and to add:
Code:
&exclude='1,2,3,4,5' Code:
&include='6,7,8,9' |
Quote:
In user settings they would simply highlight the forums they don't want to see, save it, and it's done. |
Quote:
|
Quote:
|
Quote:
|
Never mind me, I just quoted the wrong post, :confused: :)
|
Thank you for this. Works perfectly and was much needed.
|
All times are GMT. The time now is 08:35 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:
|