Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 335
Member
Member
Offline
Joined: Aug 2000
Posts: 335
One of my members made the following request:

I find the Today's Active Topics page really useful, however, it would be really great (for those of us out of your timezone) if it held the active topics for the last 24 hours instead of those raised today.

I checked infopop's board, and saw that this has been requested before.

Has anyone looked into whether this would be easy to hack, and if so, how to do it?

I'm running 6.1.0.4

Sponsored Links
Joined: Aug 2000
Posts: 335
Member
Member
Offline
Joined: Aug 2000
Posts: 335
After looking at the code (mainly ubb_lib_posting.cgi) for a while, it appears to work like this:

Each daily topic index file is time-stamped with the current date.

When a topic or reply is posted, it's added to the current (for the current date) daily index file, and any old daily index files are deleted.

Here's a possible solution:

The topic entries in the index file appear to be individually time-stamped. If that's true, maybe the previous day's index file could be retained, as well as the current index file. The Today's-Active-Topics function could process both of those files, and discard topics older than 24 hours.

Does this make sense?

Joined: Aug 2000
Posts: 335
Member
Member
Offline
Joined: Aug 2000
Posts: 335
Since there were no responses to this, I've reposted it at http://community.infopop.net/2/OpenTopic?a=tpc&s=729094322&f=7343077313&m=2733026993 , with some minor revisions.

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
FYI, we're fixing this in either 6.2.1 or 6.3, depending which group it gets lumped into.


UBB.classic: Love it or hate it, it was mine.
Joined: Aug 2000
Posts: 335
Member
Member
Offline
Joined: Aug 2000
Posts: 335
Thanks, Charles

Since 6.3 is probably months away, if this is an easy fix, and you can outline the solution, I'd appreciate it.

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
It involves tossing out the current search model, actually.


UBB.classic: Love it or hate it, it was mine.

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)