Previous Thread
Next Thread
Print Thread
Rate Thread
#148133 10/29/2001 10:29 AM
Joined: Feb 2001
Posts: 23
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 23
Ok, don't get mad at me, but Im posting ASP functions to retrieve "Todays Active Topics". This is definitely a Beta release. It is configured to work with the latest version 6.1.0 or later. Furthermore, it was written for UBBs that have the following file architecture:

w/in the forum director, /ubb for non-cgi, /bin for cgi.

Its written in VBScript.
Basically, there are groups of functions to do generic tasks and a few functions that actually form the HTML, etc.

If you know ASP to any degree, you should be able to figure out how to modify the functions to fit a UBB w/ different file architecture.

Essentially, it works in the following manner:

1. Determines the latest Cache Folder
2. Determines the latest search index file
3. Scrapes out that Active Topics info.
4. Loops through that and retrieves the post for each Active Topic
5. Armed w/ the forum #, thread # and UBB Dir, a function loops through all Active Topics and gets the last post and related info. from that thread file.
6. Finally, a function to write the posts and write the Forum Name if its passed a Forum#

There are other functions as well, such as trimmers, a julian date converter, etc.

It should be pretty simple to modify the syntax and make this a .vbs file to be run by your task scheduler if your are concerned about performance.

Let me appologize in advance for all you Gnerds that might be offended by M$-related postings wink

here\'s the code.

Here's the URL cuz this style sheet pretty much makes HREFs invisible:

http://www24.brinkster.com/ospensky/activetopics.asp.txt

Email me at [email protected] if you have questions. I reserve the right to not respond tipsy

[ 10-29-2001: Message edited by: ospensky ]

Sponsored Links
Entire Thread
Subject Posted By Posted
[6.1x] Active Topics for ASP ospensky 10/29/2001 5:29 PM
Re: [6.1x] Active Topics for ASP ospensky 10/29/2001 11:38 PM
Re: [6.1x] Active Topics for ASP Dome 10/29/2001 11:44 PM
Re: [6.1x] Active Topics for ASP ospensky 10/30/2001 1:16 AM
Re: [6.1x] Active Topics for ASP gameoverDude 11/03/2001 12:17 AM
Re: [6.1x] Active Topics for ASP ARC 01/13/2002 11:36 PM

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
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
Greg Hard 4,625
Top Posters(30 Days)
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)