PDA

View Full Version : My idea for thread archiving


TurboFC3S
17 Jun 2001, 21:01
I would love to see some sort of archiving features in vBulletin. But just archive everything over x days old isn't exactly what I would like to see. Running a technical based forum, the same questions come up over and over again, so here's my idea for how to archive them.

Basically you would have a forum, and a corresponding archive for that forum. Then if a thread reaches a set rating with a minimum number of votes, the thread is automatically moved to a non-writable archive for that forum. That way only the good threads are archived, and you can then prune the forum without losing anything good.

Options for it could be:
Moderator approval - have an admin page where the threads are stored in queue. If the moderator ok's the move to the archive, then the thread is moved.
Choices of where to move - give users the choice of moving threads from one or many forums into one or many archives.
Archiving variables - allow the rating and minimum number of votes to be set in the control panel, or another admin page.

And something else that might be an entirely different hack would be download archive. Something to basically turn the entire archive into one big HTML or zip file that you download for your own use at home.

So what do you think? Feedback?

TurboFC3S
20 Jun 2001, 13:48
So I guess nobody likes this idea? Or would it be to hard to implement?

Deacon Frost
21 Jul 2001, 18:09
well, I like this idea...

My Problem is, on my host, I can't create DBs bigger than 100 MB... So I've to prune old threads all the time... this is very depressing, because there aren't still all threads available.

So I'm lookin' for a hack, which is archiving all old threads (which have no new posts since XX days) in static html-files and create links to them in a (maybe) "Archiv-Forum".

Sorry for my english:)

Deacon Frost
29 Jul 2001, 08:04
*bump* there are lots of great hack-writers, an noone wants to help me? I can't believe it :)

TurboFC3S
20 Aug 2001, 19:24
It's looking like I'm going to have to pay to get this one done...

theflow
21 Aug 2001, 22:30
Turbo, it's been my experience that a number of the great hack writers here do not even look at the "Requests" subforum. Try reposting your request in the "free for all" area here:

http://www.vbulletin.com/forum/forumdisplay.php?s=&forumid=8

**Note: I've suggested to the vB Moderators that they re-org this whole hacks forum because they say "be sure to make requests in the Requests forum", yet 95% of all requests are actualy made in this free-for-all area. It's an inconsistent mess, even if the intentions were good.

You might also try a PM to Firefly, who is new to vB, but who has just kicked ass with a number of great hacks which have been very helpful to me. Also, I have made several attempts to pay people to accomplish some desired hacks. In general, no responses. One person who was willing to attempt some hacking for a reasonable hourly fee was:

s.molinari:
PM:
http://www.vbulletin.com/forum/private.php?s=&action=newmessage&userid=626

Good luck

Chen
22 Aug 2001, 06:34
/me bookmarks this page :)

Chen
22 Aug 2001, 14:16
Ok I started working on it.

It will be a part of moving threads (where you have the option to move by username or date). You will be able to move all, or selectively.
I'll keep you informed of my progress.

Wish me luck! :D

EDIT:
I could really use a testing forum. I would test everything on a copy of my forum, but it's not very popular and has no thread votes.
So I would really appreciate if you (TurboFC3S) could send me a backup of your forum, with fake passwords (so I won't see them.
It would really really help me.
Thanks.

Chen
22 Aug 2001, 15:48
Looks like I'm done, now I only need a forum to test this on. :rolleyes:
Any volunteers in the audience? :p

Chen
22 Aug 2001, 17:26
Just so you can see what I came up with, take a look at the screen shot I attached. :)

Forgot to mention that if you want I can make it close the threads, so you won't have to make the archive forums "read only". :)

theflow
22 Aug 2001, 19:46
Firefly, I'd let you use my forums but they're not open yet and no traffic yet either... plus I've got a headcold and groggy. But if you accomplished the task, again, great work. You are at one with vBulletin :)

Chen
22 Aug 2001, 20:03
Thanks Richard. :D

I really just need a database, just so I could install it somewhere and test the added functions on it.

Chen
24 Aug 2001, 06:10
Um... TurboFC3S? Anyone?
Tell me I didn't do this for nothing.

TurboFC3S
24 Aug 2001, 22:25
FireFly, WOW! I didn't expect somebody to just whip it out. Tell me what exactly you need me to do. You can either reply here or e-mail me at turbo@nothnbut.net

Thanks!

Chen
27 Aug 2001, 14:27
Open thread.php under your admin folder.
Add this code


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


right before


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Now add


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


right before


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


And that's it. :)

TurboFC3S
28 Aug 2001, 03:35
So you used that database I gave you and it tested fine?

Impressive list of hacks btw. If this works, you'll be my hero.

TurboFC3S
28 Aug 2001, 03:52
One more request. I want to use this for a way to archive threads, so to keep it from moving active threads, could you throw one more variable in for date. Basically just to move if (number of votes = x) and (rating = x) and (date is before xx/xx/xx)

I know you could do it in like 5 seconds, but I'm going to play along at home and see if I can do it... then compare to how you do it :D

Chen
29 Aug 2001, 17:27
Replace the whole huge block of PHP you added last post with this block:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And now add


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


right after


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


(everything in thread.php)
That should do what you want. :)

Chen
29 Aug 2001, 17:42
Ok I updated a little language mistake, and also tested it while at it - works just like I anticipated. :)

TurboFC3S
30 Aug 2001, 01:10
Thanks again! You are the man ... I actually hacked it and had it working, but I like your way better. Want a job :D

Chen
30 Aug 2001, 05:48
God I hear that a lot these days. :p

You're welcome (I actually use this myself ya know ;)).

smees
04 Oct 2006, 10:41
I wonder if this is usable for vbulletin 3.6.

Since this thread is not the youngest, i wonder why such a function is not implemented in standard installation.

We are now looking several days for a modification like this and are getting nearly none replies in the vbulletin boards.

Any help is appreciated :-)

Quarterbore
04 Oct 2006, 13:13
Here was an idea I threw out there....

http://www.vbulletin.org/forum/showthread.php?t=114702

Same concept... take the old threads and posts and move them to a read only database... when a member wants and old post they can go to the read only archive and see what was posted years ago...

I have not had time to work on this...

Paul M
05 Oct 2006, 00:06
I wonder if this is usable for vbulletin 3.6.
No, this is over five years old and relates to vbulletin version 2.