php forum
php mysql forum
php mysql smarty
 
Topic Options
#211190 - 08/01/01 11:07 AM An idea about archiving posts
poil Offline
Enthusiast

Registered: 08/14/00
Posts: 492
Loc: poilville, in the republic of ...
an Idea for archiving posts.<br />i was thinking about people who are requesting the archiving of old posts. and i have come up with an idea. this i have no use for, and my host is broken. anyways, you could add a column to w3tposts and name it archive or whatever. that could be the field where if archive=1 the post would be archived. everynight you could run a cron script to check for where archive = 1 and it would use lynx and go to the page and save the output to /announce/12.php and in postlist and whatnot the query would go something like if archive = 1 the post goes to the made page.<br /><br />also check this out, THE FIRST W3T POST EVER!<br />http://www.wwwthreads.com/php/showflat.php?&Board=questions&Number=1 and even back then people were requesting an email to forum gateway.<br />
_________________________
Extreme!!!

Top
#211191 - 08/02/01 01:14 AM Re: An idea about archiving posts [Re: vent]
dannylin Offline
Journeyman

Registered: 04/03/01
Posts: 128
Loc: Taiwan
I thought a seperated table should be suitable for archiving posts especially when there were huge archived posts. Since not every user browse the archived posts, putting them in a seperated table maybe w3t_Archives should be better than adding a field in w3t_Posts that might overloading the normal message reading.<br /><br />Post archives should be added by moderators/administrators/whatever. When they decided to add a post to archives, simply duplicated a copy of the posts to another table. Thus, we don't need a crontab since some of the w3t forum owners did not have their own server or crontab privilege.
_________________________
---
If you can dream it, you can do it. mediafront

Top



Moderator:  Deb 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks