View Full Version : Moderators Functions - Archive Thread v1.2
Snake
01-25-2006, 10:00 PM
Archive Thread v1.2
by Snake
http://www.vbulletin.org
Author: Snake (https://vborg.vbsupport.ru/member.php?u=80490)
Compatibility: vBulletin 3.6.x and 3.5.x
Mod Version: v1.2
Release: 26. Jan 2006
Last Updated: 22. Dec 2006
Category: Moderation View Panel
Demo: Metal Gear Forums (http://www.metalgearforums.com/)
Support: https://vborg.vbsupport.ru/showthread.php?t=106327
Description: This will add an option under Thread Tools (see screenshot) to archive a thread to a designated forum. Main advantage of this it does not require for someone to have access to the forum. It also logs the action (both moderator log and thread log).
Bug fixes for this release
Please note that these bug fixes are only relevant to update from the last release.
Hooray, there are no bugs to fix at this moment!Support
If you have any problems, questions or trouble installing my mod that are not covered in this file, please post them at the official support thread located at here (https://vborg.vbsupport.ru/showthread.php?t=106327) in the appropriate forum. I will be more than happy to help in any way we can if the request for help is made there. Anyone trying to contact me via e-mail, private message, or any other means will be ignored.
Requirements
The exact requirements will depend on many factors, your estimated board traffic being one.
- vBulletin v3.5.x (or higher)
- PHP 4.0.3 (or higher)
- MySQL 3.22 (or higher)
Server Requirements
You must have a web server that has PHP 4.1.0 (or better) and mySQL 3.23 (or better) installed. If you are unsure whether your server has these programs installed, please check with your web host now. If you are capable, you can always download PHP and download mySQL and install it yourself. If your web host does not support PHP or mySQL, consider hosting your entire web site or forums with Jelsoft Enterprises Ltd services. vBulletin works best on an Apache server, and is Apache 1 and Apache 2 savvy.
General Requirements
You do not need a new SQL database as vBulletin supports table prefixes to prevent tables being overwritten. You will also need the SQL username and SQL password for a SQL user that has permission to "CREATE", "DROP" and "ALTER" tables. You will need about 2MB of free web space and roughly 3MB of SQL database space to allow installation and a moderate sized community. If you are unsure on any of these points, please ask your web host before proceeding.
Modification History
Current Version: 1.2
1.2
Fixed a couple of bugs and added the ability of archiving threads in inline moderation (such as forumdisplay, moderation_threads, search_results, etc).
1.1
Switched to a product file.
1.0
First initial release of modification.
Donations
All donations great or small are appreciated to the greatest extent, whether it's for the modification itself or just a little incentive for myself. If you would like to donate then you can do so via PayPal.
My email to send to is: paypal@metalgearforums.com.
Thanks and enjoy,
-Snake
www.metalgearforums.com (http://www.metalgearforums.com)
The Chief
01-25-2006, 10:17 PM
this looks cool, thanks for this, ill try this for sure later on :)
Daniel
01-25-2006, 10:40 PM
If it contains file edits, it's not an extension, it should go under Code Modifications.
Nice though, none the less.
nexialys
01-25-2006, 10:47 PM
this is good... would be even beter if the designated forum is a per-forum setting... so we can have a part of the forums that send the archived threads to a specific forum, and another part to another... would be like moderating or moving to moderators forums (big communities need... lol)
Andreas
02-09-2006, 04:07 PM
Moved to Code Modifications
Also, $debug = 1; does not work in vBulletin 3.5 :)
Snake
03-14-2006, 12:33 PM
v1.1 is now released! Enjoy! :)
natralis
03-23-2006, 01:01 PM
Where can we set up the destination forum? Can't find the option anywhere in admincp?
Tyegurl
03-27-2006, 01:55 AM
message posting and editing options in vBulletin options
Snake
03-28-2006, 11:44 AM
Admin CP -> vBulletin Options -> Message Posting and Editing Options
Smiry Kin's
04-02-2006, 05:00 AM
cheers dude, would be usfull to have the achive code, on forumdisplay thing, i think, as if you want to move multi threads, it will take some time :(
Snake
04-13-2006, 01:44 PM
Umm I'm not sure what you're trying to say here.
DrainBamaged
04-14-2006, 09:44 PM
Never mind. :P
Snake
04-15-2006, 06:09 PM
Ugh okay I guess.
Nathan2006
04-19-2006, 07:16 AM
Thank you Josh:cool:
Install
Snake
04-21-2006, 06:28 PM
You're quite welcome. Please lemme know if you have any future suggestions on your mind. :)
ianskate
07-11-2006, 03:05 AM
When clicking the link, I get these errors:
Warning: arsort() expects parameter 1 to be array, null given in /includes/class_bbcode.php(149) : eval()'d code on line 5
Warning: Invalid argument supplied for foreach() in /includes/class_bbcode.php(149) : eval()'d code on line 7
It still moves the thread... however, it would be nice to suppress the errors... or at least solve them. :) (Note: I'm using 3.5.3)
Any ideas?
egyptsons
07-19-2006, 08:57 PM
good
I will try it
letsjoy
07-26-2006, 05:18 AM
sounds good
SportsZone
08-31-2006, 12:23 PM
Nice hack - works fine on 3.6!
is there any way the option can say "Trash thread" instead of "archive thread" in thread tools?
Cheers
o0Hubba0o
09-06-2006, 07:40 PM
Nice hack - works fine on 3.6!
is there any way the option can say "Trash thread" instead of "archive thread" in thread tools?
Cheers
Change the phrase, in admincp go to Language/phrases, then search in phrases under global for "archive_thread", click variable name only. Then you can put what you want in it.
SportsZone
09-10-2006, 10:08 AM
Change the phrase, in admincp go to Language/phrases, then search in phrases under global for "archive_thread", click variable name only. Then you can put what you want in it.
Excellent thanks :)
Nice Aftermath,will have a use :)
Spikeman
10-12-2006, 05:37 PM
Nice, works fine on 3.6.2 :)
Snake
10-12-2006, 07:59 PM
Excellent! I never expected this to work on 3.6.x but since you've already installed it and cofirmed this for us, that's good then. :)
COBRAws
10-13-2006, 04:50 AM
this is good... would be even beter if the designated forum is a per-forum setting... so we can have a part of the forums that send the archived threads to a specific forum, and another part to another... would be like moderating or moving to moderators forums (big communities need... lol)
Snake, can this be done?
I was using the vBrecycle hack because I could set up multiple "Archive" forums, I never knew this hack could do the same.
Please let me know. Thanks
Snake
10-13-2006, 11:58 PM
Hmm well, I'll see if I can add up the multiple archive forums in the next release.
Any further suggestions before I go on and work on it? :)
COBRAws
10-16-2006, 10:36 PM
Well, not really. Thats whny I never used your hack Josh. We have archives for diferent forums. Multimedia, staff, reports, etc etc. Having a single archive forum will not keep things (even archived threads) organized.
If you can set up like the old vbrecicle hack, so I can set when I archive threads from "Forum A" go to "Archive A" and threads from "Forum B" go to "Archive B" and so on, it would be awesome. Also keep in mind to add a defaul archive forum in case someone does not want to create diferent archives.
Thanks for your time!
DaNIEL MeNTED
10-20-2006, 10:51 PM
great hack... is there any way to get it to do the same thing from the forumdisplay template?
Snake
10-22-2006, 09:00 AM
COBRA: I'm not sure about that because this hack acts COMPLETELY different from that vBRecycle one so it'll be a "maybe". Why don't you just contact the author of that hack and ask him for an upgrade?
Daniel: Yes, of course, but this will be considered in the next release. :)
COBRAws
10-25-2006, 05:53 AM
COBRA: I'm not sure about that because this hack acts COMPLETELY different from that vBRecycle one so it'll be a "maybe". Why don't you just contact the author of that hack and ask him for an upgrade?
Daniel: Yes, of course, but this will be considered in the next release. :)
For the moment there is no response from the author :S
I'll subscribe to this thread just in case you change your mind :P
DaNIEL MeNTED
11-15-2006, 07:29 PM
Daniel: Yes, of course, but this will be considered in the next release. :)
Any ETA?
Snake
11-17-2006, 07:05 PM
Sorry for the delay. I'm actually done with the upgrade of the hack so I shall release it very soon... :)
Stay tuned!
chick
12-16-2006, 06:53 PM
Anything yet snake?
Anything yet snake?
what she said :)
Snake
12-21-2006, 10:58 PM
v1.2 is now released. Sorry all for the delay once again. I've been really busy with my sites as I'd to move them to a new server which took me a while. :)
If there's anything wrong within the hack or have a suggestion on your mind, feel free to post them below!
Also, please remember to click on the install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=106327) button/link if you have this mod installed already as I have noticed people aren't doing so.
chick
12-22-2006, 12:17 AM
Before I install, how exactly does this work... open to archive thead... and it puts it where? In a forum I have precreated and then designated the 'archived threads' to go to?
I just want to be clear on this before I install, thank you.
Nathan2006
12-22-2006, 12:59 AM
Thank you Josh for the update :)
Updated
Snake
12-22-2006, 03:57 PM
Before I install, how exactly does this work... open to archive thead... and it puts it where? In a forum I have precreated and then designated the 'archived threads' to go to?
I just want to be clear on this before I install, thank you. Yes, that's correct. Just upload the product, navigate to the Admin CP and enter the forum ID that you wanna archive the threads in on the vB Options page.
Thank you Josh for the update :)
Updated You're quite welcome, Nathan. :)
COBRAws
12-25-2006, 08:25 PM
Hey Josh, there is no way for you to make multiple archive forums? I paid a coder for this work but he run away :S I'll be glad to pay you those 100USD (which i paid 50% another coder here on vb.org).
Snake
12-26-2006, 12:04 AM
Well sure I could do that but why would you need multiple forums to archive anyway? I think that would be just pointless, don't you think?
peterska2
12-28-2006, 09:59 PM
So, if I wanted to replace my delete thread with this so that it moved to a designated forum, would it work?
Also, does it work with inline moderation?
Snake
12-28-2006, 10:51 PM
Yes, that is correct, peter. Actually that's how the hack is designed so instead of deleting threads and decrease your forum stats to look like a dead forum, this should help.
And yes, should work with inline moderation as well almost everywhere on the forums. This has been implemented in v1.2 version in case you haven't noticed already. :)
peterska2
12-28-2006, 11:04 PM
Cheers :)
I'll install it later today then as it will make my life a lot easier
Update: Installed and with a few tweaks to my template edits you wouldn't know anything different was happening apart from the fact that the delete options don't appear and the thread is moved. Perfect!
Snake
12-30-2006, 11:13 AM
Actually, this hack doesn't remove the delete thread options in the Moderation Tools because I'm pretty sure some people would still like to have this option on and use this archive hack altogether so if you wanna remove the delete options, then all you have to do is remove them in the template bits via the Admin CP.
Thanks for the install though! :)
peterska2
12-30-2006, 12:11 PM
Exactly, so I just tweaked it to my specifications ;)
TheSh@rk
01-02-2007, 08:42 AM
incredeble hack
many thankes
/me clicked install
SportsZone
01-14-2007, 07:55 PM
This is a great hack, but why does it make all my threads in a forum become centered instead of left aligned? I use vB3.6 btw
eg
https://vborg.vbsupport.ru/ (http://img297.imageshack.us/my.php?image=untitleduu2.png)
Snake
01-15-2007, 04:12 PM
incredeble hack
many thankes
* TheSh@rk clicked install Thanks there, glad you like it!
This is a great hack, but why does it make all my threads in a forum become centered instead of left aligned? I use vB3.6 btw
eg
http://img297.imageshack.us/img297/7760/untitleduu2.th.png (http://img297.imageshack.us/my.php?image=untitleduu2.png) Thanks for the install again. I'm pretty sure it has nothing to do with this hack. Try to disable the archive thread hack via the Admin CP and lemme know what do you see or get. If the problem still continues, then some other hack is causing this issue or you've done something wrong while you were installing other hacks.
SportsZone
01-15-2007, 04:47 PM
Thanks for the install again. I'm pretty sure it has nothing to do with this hack. Try to disable the archive thread hack via the Admin CP and lemme know what do you see or get. If the problem still continues, then some other hack is causing this issue or you've done something wrong while you were installing other hacks.
I agree that this hack shouldn't cause my problem, but after spending hours of disabling plugins and refreshing a page, this plugin is the cause. All I did was upload the xml file and do the template edits. *weird*
Snake
01-15-2007, 08:33 PM
Send me your FTP and Admin CP login info via the PM please. I'll check what's wrong.
SportsZone
01-16-2007, 03:53 PM
PM sent
Snake
01-18-2007, 09:24 AM
SportsZone, I have checked your forum and it seems that everything is working just fine so I'm not sure what you're talking about. Your forumdisplay is working fine here, to me. Check for yourself.
SportsZone
01-18-2007, 02:23 PM
Ok thanks for the help!
o0Hubba0o
01-26-2007, 11:59 PM
Well sure I could do that but why would you need multiple forums to archive anyway? I think that would be just pointless, don't you think?
The forums I admin have two sections that threads can get moved to. One forums the poster(s) keep their post count for all post in the thread, but the thread is out of public view. This would be because the thread is either really old, irrelevant or had potential to get out of hand.
The other is for threads/post that are blatant violations of our forums rules (porn, advertising etc), and upon trashing the thread the forum it's moved to does not allow posts to count towards an individuals post count. But the thread/post(s) are not deleted to allow for future reference for staff if needed.
So basically we have one forum (The recycle bin) for "archived" threads where post counts remain intact. And one forum (The trash compactor) for "archived" threads where post counts do not remain intact.
So we use this mod for the really bad threads so we can get them out of public view a lot faster via the "archive thread" option, but to have another option for the other types of threads would be great, either way this mod comes in very handy. :D
SpanishHarlem
01-27-2007, 05:33 AM
awesome hack. Thanks so much.
Snake
01-30-2007, 12:47 AM
The forums I admin have two sections that threads can get moved to. One forums the poster(s) keep their post count for all post in the thread, but the thread is out of public view. This would be because the thread is either really old, irrelevant or had potential to get out of hand.
The other is for threads/post that are blatant violations of our forums rules (porn, advertising etc), and upon trashing the thread the forum it's moved to does not allow posts to count towards an individuals post count. But the thread/post(s) are not deleted to allow for future reference for staff if needed.
So basically we have one forum (The recycle bin) for "archived" threads where post counts remain intact. And one forum (The trash compactor) for "archived" threads where post counts do not remain intact.
So we use this mod for the really bad threads so we can get them out of public view a lot faster via the "archive thread" option, but to have another option for the other types of threads would be great, either way this mod comes in very handy. :D
First of all, you are not even allowed to have porn on your forum as it against the U.S. federal laws unless you do not live in the U.S..
Second, I don't think you'll able to do that while using this hack and I prefer to have this hack designed as the way it is so I'm gonna change it by adding multiple or triple archiving options. I'm sorry.
Though you can always request a new mod and use the search function for any pre-made ones. I'm sure there are a few already in the database so have a look for yourself.
Ascor
01-30-2007, 04:39 AM
Installed and working fine thank you :)
mshehan
02-01-2007, 04:50 PM
Great idea. Is there a way to have it auto archive the thread at a set date instead of having to manually do it please? -Thanks!
SCRIPT3R
02-01-2007, 05:17 PM
First of all, you are not even allowed to have porn on your forum as it against the U.S. federal laws unless you do not live in the U.S.
that's not true at all.
SCRIPT3R
02-01-2007, 05:18 PM
can this be setup to automatically move threads from one section to another after however many days automatically without the need for user interaction?
Does this plugin remove cleanly? Will it leave vb phrases in the database after it is removed.
Snake
02-06-2007, 04:46 PM
Great idea. Is there a way to have it auto archive the thread at a set date instead of having to manually do it please? -Thanks! Nah not really but I might be able to do that in the next release even though you don't really need to do that. What's the point of that anyway?
that's not true at all. Yes that is true. Take a moment and look at vBulletin's ToS and you'll then know what I'm talking about.
can this be setup to automatically move threads from one section to another after however many days automatically without the need for user interaction? Like I've said already, I can add that function in the next release of this hack but I don't think that is really necessary.
Does this plugin remove cleanly? Will it leave vb phrases in the database after it is removed. Yes it will remove the whole product completely on your board. And no, it will not leave the phrases that comes up with the hack. Once this product has been uninstalled, everything will be vanished that comes this hack.
SCRIPT3R
02-06-2007, 05:41 PM
First of all, you are not even allowed to have porn on your forum as it against the U.S. federal laws unless you do not live in the U.S.
that's not true at all.
Yes that is true. Take a moment and look at vBulletin's ToS and you'll then know what I'm talking about.
what does vBulletin's ToS have to do with U.S. federal laws? i was saying that it's not true that U.S. federal laws do not prevent anyone from having pron on their privately own forum... which is what you said.
Snake
02-08-2007, 02:03 PM
Well, I don't know but I have always thought having pornography on a bulletin board is always against the U.S. federal laws. Anyway, it doesn't matter and please keep the off-topic discussion somewhere else and not in my thread. You're already ruining it!
futuredood
02-08-2007, 02:46 PM
hey, i'm going to install this.. it'd be nice for a future version to have threads move after a certain date. i have "special" topics that i want to run for about two weeks as a "main topic of the week" and then have it auto archive after a certain amount of time.
thanks for the mod.
SCRIPT3R
02-08-2007, 04:06 PM
Well, I don't know but I have always thought having pornography on a bulletin board is always against the U.S. federal laws. Anyway, it doesn't matter and please keep the off-topic discussion somewhere else and not in my thread. You're already ruining it!
no problem, didn't want to make you cry in public.. what are you two? just get your facts straight next time.
Edit per request to play nice.
Snake
02-08-2007, 06:25 PM
Didn't want to make me cry in public? Heh yeah right, my ass.
Paul M
02-08-2007, 11:23 PM
That's enough now, keep support threads for support please.
Tamakh
02-28-2007, 02:34 PM
Nah not really but I might be able to do that in the next release even though you don't really need to do that. What's the point of that anyway?
We are going to use vbulleting to post information that needs to be taken down on a specified date. The staff that is posting the material has requested that it automatically archive so they don?t have to keep track of which post to remove. If it can be done that would be really great!
ski diva
06-19-2007, 01:32 PM
I'm a little confused about the last part of the install directions:
4) Finally, you will need to enter the forum ID to archive all the threads that you'd like. Navigate to Admin CP -> vBulletin Options -> Message Posting and Editing Options -> Archive Forum. Enter the forum ID to use it as the archive forum by hovering on the link (example: http://www.yourdomain.org/forum/forumdisplay.php?f=XXX). Where "XXX" is the ID of the forum.
Should I have created a new forum for use as an archive? I mean, I have an archive for the site in general, but I can't seem to locate the ID number. Where is the link on which I'm supposed to hover?
Thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.