![]() |
exclude a forum from "Todays active Threads"
Is there a way to remove a public forum from Todays Active Threads"
For example I have an "Off-topic" or "Chit Chat" forum, that is getting several post per day, but I really don't want to have it take up half of the Todays Active topics results since the topics are irrelevant our sites Niche? Hope this makes sense. Thanks for any advice. |
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=40164" target="_blank">https://vborg.vbsupport.ru/showt...threadid=40164</a>
|
Logician,
Thanks for the link, I think it is the answer to my question :) |
I followed the link in post #2 and I followed the instructions and it did not work, the forum I did not want included in results, remained in the results.
any other suggestions? Thanks |
try to apply Post 2 AND Post 7
|
Quote:
Here are the snippets from my search.php file that I am using: PHP Code:
PHP Code:
|
ok lets try this:
First revert the changes you made in the code and instead of this find the line: (in search.php) PHP Code:
PHP Code:
Dont forget to replace X with your excluded forumid. I guess this will do the trick now.. |
Logician,
That worked like a charm! Thanks a million. Now, one more quick question, I do have one other forum, I would like to exclude, how would I go about excluding two or more fourms? I tried putting in the two forums(98,112) separated by a comma, but that didn't work, I got an error message. PHP Code:
|
PHP Code:
|
Logician,
Thanks, you rock, worked like a charm. |
This is great, however, on my forums it still adds the excluded thread to the total number of new posts....does this happen for anyone else?
any way to exclude it from adding to the new post count? |
Hey.. I used it .. it works great. but now my "show last 10 searches" doesn't work anymore. what's up?
|
Thanks, that last bit worked. Any way that someone could merge this with the other topic?
|
has anyone found a way to exclude it from the post count as well?
|
do u mean in welcome panel?
|
I know this is an old thread but I just wanted to say
Thank you Logician :) hope you are enjoying you vacation! |
Quote:
|
Very useful! I installed it a few months back and it's working fine in restricting but suddenly the member group I had setup to be able to see the full search now has been restricted as well and I can't figure out why. I must have a made a change to something somewhere that has affected this hack.
Sigh. |
how exactly did you apply the hack to that member group in your code? I'd suspect that section of your code be the culprit.
|
Thanks for your reply. I've restored search.php to the original so I can't show you that section of the code. I'm going to try redoing the whole thing and see if it works.
|
It can be easier.
Change the template navbar_atim And change <td class="vbmenu_option"><a href="search.php?do=getdaily&minutes=15">$vbph rase[atin_Last_15]</a></td> <td class="vbmenu_option"><a href="search.php?do=getdaily&minutes=30">$vbph rase[atin_Last_30]</a></td> <td class="vbmenu_option"><a href="search.php?do=getdaily&minutes=45">$vbph rase[atin_Last_45]</a></td> to <td class="vbmenu_option"><a href="search.php?do=getdaily&&exclude=152;minutes=15">$vbphrase[atin_Last_15]</a></td> <td class="vbmenu_option"><a href="search.php?do=getdaily&&exclude=152;minutes=30">$vbphrase[atin_Last_30]</a></td> <td class="vbmenu_option"><a href="search.php?do=getdaily&&exclude=152;minutes=45">$vbphrase[atin_Last_45]</a></td> &exclude=152 is the number of the excluded form. |
Quote:
|
All times are GMT. The time now is 06:56 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:
|