Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jul 2002
Posts: 12
Newbie
Newbie
Offline
Joined: Jul 2002
Posts: 12
What we used to do before we crossed to Threads (so in our Classic time) was download all CGI files and batch them through Word to format them nicely and get each thread in a separate document.

What I'd like to do now, is somehow produce an archive of all threads that were active after a certain date. So all posts, now or old, that had replies (or which started) after a given date. I don't care how, for all that matters it may just spit it out in one go on the screen, but I do need all posts to be organized according to forum and thread.

So... enter date 2002/12/25 - it spits out all threads active starting then:


[General Forum]
---------------
"I have a problem"
Davy: I need some help on a problem blahblah
Kayjey: Well tell us....
Whoever: I don't care if you...

"Second thread"
Some guy: blahblah
Another: Response

[Another Forum]
"..."

...


If anybody could help me out? We need this to build our FAQ. Thanks in advance.

Sponsored Links
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
You'll need to write a script for that, it shouldn't be that complicated.

1. Make a form where you can enter a date
2. Grab alle threads that where active after a certain date
3. Output the threads in an adequate way (maybe like the print thread sites?)

It would be easiest to use HTML as the output format, cause the posts are stored in html. But it should be possible to output rtf or even some xml also. This would regquire some additional parsing, but it is possible.

Maybe you can provide an example what structure these threads and the FAQ have.




Joined: Jul 2002
Posts: 12
Newbie
Newbie
Offline
Joined: Jul 2002
Posts: 12
No specific requirements regarding layout or anything, just need to spit out all posts/threads (grouped by category and thread and sorted by date) that were active in one single file. We go through all of that by hand to build our FAQ. Just need it in a readable format. The .Classic cgi files were easy to convert/read. But in threads I need a few lines of code that does it.

Joined: Jul 2002
Posts: 12
Newbie
Newbie
Offline
Joined: Jul 2002
Posts: 12
Anybody?

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
Sorry, it's over my head. I don't have the time to dive into it yet.

Sponsored Links
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
As is said you could use the print-thread script and enhance it to display more than one thread, sorted by category and date.

You might want to post that request in the developers for hire forum or contact me via PM if nobody wants to code that for free.


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
Posts: 70
Joined: January 2007
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 20240430)