vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Moderators Functions - Archive Thread v1.2 (https://vborg.vbsupport.ru/showthread.php?t=106327)

Snake 01-25-2006 10:00 PM

Archive Thread v1.2
 
Archive Thread v1.2
by Snake
http://www.vbulletin.org
Author: Snake
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
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 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

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:

Quote:

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

Quote:

Originally Posted by SportsZone
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

Quote:

Originally Posted by o0Hubba0o
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 :)

Ziki 09-15-2006 12:41 PM

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

Quote:

Originally Posted by nexialys
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

Quote:

Originally Posted by Snake
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

Quote:

Originally Posted by Snake (Post 1101885)
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?

LuBi 12-18-2006 10:23 PM

Quote:

Originally Posted by chick (Post 1139881)
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 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

Quote:

Originally Posted by chick (Post 1143182)
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.

Quote:

Originally Posted by Nathan2006 (Post 1143194)
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?


All times are GMT. The time now is 07:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01349 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete