Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
Is there a method to not include a particular forum's daily postings in the Active Topics summary?

Is there a way to turn off the Active Topics link altogether?

Thanks.

Anonymous
Unregistered
Anonymous
Unregistered
I looked around the control panel and i can't find an option for it to be turned off. You can remove the link in public_forum_summary.pl (find ?ubb=get_daily and remove the entire HTML tag).

Greg Hard (The geek formerly known as MasterMind)
Moderator - Hosting and UBB.x How Do I...

Anonymous
Unregistered
Anonymous
Unregistered
There is no way to exclude a certain forum from the listings currently. First time I have heard that suggestion. Note that private forums are never included in that listing. Can I ask why you want to do that.. just so I understand what the intent is?

Ted O'Neill
CEO, Infopop Corporation

Anonymous
Unregistered
Anonymous
Unregistered
Ted,

Thanks for asking the reason why I want to do this.

I have one health forum which has subjects and postings which are intended for an Adult audience only. Sometimes subjects show up in the Active Topics listing that are not appropriate for all ages. Also, some people are offended by some of the subjects.

I am reluctant to make it a private forum because of the overhead involved in that. The Today's Active Topics is a very nice feature, however I will have to turn it off completely, as per Greg's suggestion, so as not to offend the majority of my members.

Thank you for your concern and interest.

Jeff

Anonymous
Unregistered
Anonymous
Unregistered
Ah, I see.. makes sense. I suppose the only potentially confusing thing about being able to exclude certain forums from that list is that people who are interested in those forums may think nothing new is going on there. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

You actually could hack around this pretty easily, by the way, if this is important to you. It would simply require adding a couple lines of code to the section where the active topic index is built... basicially just telling the UBB not to add topics from whatever your excluded forums are.

Ted O'Neill
CEO, Infopop Corporation

Anonymous
Unregistered
Anonymous
Unregistered
Yes, I do intend to add the hack. Just doing the 6.3.1 upgrade first. :-~

Anonymous
Unregistered
Anonymous
Unregistered
For anyone interested, the quick and dirty hack to prevent a specific forum's daily topics from being posted to Today's Active Topics is to do the following:

### open ubb_lib_posting.cgi

### find &WriteHashToFile

### add before: (where FORUM_NUM is forum number, ie: 1,2,3,etc...)

unless ($_[0] =~ m/FORUM_NUM/) {

### add line after &WriteHashToFile

}

example:

unless ($_[0] =~ m/2/) {
&WriteHashToFile("$vars_config{NonCGIPath}/cache-$cache_cookie/s
earch_index/daily_index-$GotTime{LastLoginJulianDATE}-main.cgi", "daily_date_tim
e", %daily_date_time);

}

Anonymous
Unregistered
Anonymous
Unregistered
If I wanted to make the same sort of mod as above in 6.4.0.1 might I add this line in ubb_lib_ci.cgi?

return if($vars_forums{$forum}->[3] =~ m/FORUM_NAME/);

after (line 71)

return if($vars_forums{$forum}->[6] =~ m/private/);

[This message was edited by ibsgroup on January 24, 2003 at 09:53 PM.]

Anonymous
Unregistered
Anonymous
Unregistered
Make that:

return if($vars_forums{$forum}->[2] =~ m/FORUM_NAME/);

ie: field 2 rather than 3

Anonymous
Unregistered
Anonymous
Unregistered
Quote
Originally posted by Ted O'Neill:
First time I have heard that suggestion.

Ted O'Neill
CEO, Infopop Corporation
Not me ...

Is there a way to select certian forums to be excluded from "Today's Active Topics"?

hehehe <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Note: One thing you can do that I eventually did was to create a different style template for the search pages. Then, if you use the header area, put text in there that lets the user know that it searches all forums, and some topics might not be appropriate for all users.

Jason STIX Buckley
Executive Director / Founder
Stix Fx Network
http://www.StixFx.com
Using: UBB.classicTM 6.4.0

Anonymous
Unregistered
Anonymous
Unregistered
Now I have the opposite problem, I *want* to include my private forum in Today's Active Topics.
Why? So non-members can see some of the fun they are missing.

Anonymous
Unregistered
Anonymous
Unregistered
Which is an even more curious request.

The code above should work just fine in reverse for 6.3.1. For 6.4.0 and higher, the code will need to be changed in ubb_lib_ci's sub update_tat. Should be pretty straightforward...

(Pssst, we finally upgraded the old iMac to Jaguar... Yummy stuff. Safari working out for you on yer UBB?)

--
Charles Capps
UBB.classic™ Developer
Having problems? Open up a support ticket!

Anonymous
Unregistered
Anonymous
Unregistered
Safari is rocking on our Forums... I'm finding it handles the light bulbs better than Explorer X, and renders nice and fast. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
Excellent. Safari will become a tested platform as of 6.5. Hopefully 6.5 will finally be certified to run on OS X, complete with instructions as well, though that might have to wait until the next release. (Right now it runs fine, but we don't have a set of instructions.)

--
Charles Capps
UBB.classic™ Developer
Having problems? Open up a support ticket!

Anonymous
Unregistered
Anonymous
Unregistered
Thanks Charles!

I just commented it out like this...

&GetForumRecord($forum);
#return if($vars_forums{$forum}->[6] =~ m/private/);

Hope that is proper form... it seems to work. And bonus, the topics and posts appear in the content island feeds. :-)

One thing i did notice in Safari is that I can't log out properly. It says I am, but then when I return to the Forums, I am not.

Anonymous
Unregistered
Anonymous
Unregistered
I understand there are a number of rather nasty cookie related bugs... try calling ?ubb=clearcookies if you *REALLY* want to log out. If it works, it will also clear your new post flag, however...

--
Charles Capps
UBB.classic™ Developer
Having problems? Open up a support ticket!

Anonymous
Unregistered
Anonymous
Unregistered
I’d also like the ability to not include a forum in Today’s Active Topics

Will the above suggested hacks work in the latest release?

Joined: Dec 2003
Posts: 611
Former Developer
Former Developer
Joined: Dec 2003
Posts: 611
A lot has changed in the 2 years since those code hacks were originally written.

Your best bet would be to wander over to UBBDev.com and see if there is a hack available.

If you don't want to hack the code, then just make the forum a private forum.


Charles Capps
Former UBB.classic Maintainer
Joined: Jan 2005
Posts: 2
S
stranger
stranger
S Offline
Joined: Jan 2005
Posts: 2
Any update on this topic? I'd like to EXCLUDE a particular forum from the "Today's Active Topics" list. I've done a search here and looked over the settings for the "Forum Basics" and Forum "Permissions" of that forum name but found nothing to help. I also tried one of the above links but it seems to now be "dead". Thanks!

Saludos, MadridMan
(version 6.7.3 - been using UBB for 5 years)

Joined: Dec 2003
Posts: 611
Former Developer
Former Developer
Joined: Dec 2003
Posts: 611
Have you checked for a hack over at UBBDev.com?


Charles Capps
Former UBB.classic Maintainer
Joined: Jan 2005
Posts: 2
S
stranger
stranger
S Offline
Joined: Jan 2005
Posts: 2
Yes. Just checked again. Nuttin'! There was NO information about removing one of the forum names from the "Today's Active Topics". Seems the only way I can remove it is to make it PRIVATE and force password access only. I'd rather not have to do this but if it's the only way...

Saludos, MadridMan


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Ruben), 1,248 guests, and 268 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)