Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Recycle Bin Hack Details »»
vB Recycle Bin Hack
Version: 1.00, by FlyingDutchman FlyingDutchman is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-09-2003 Last Update: Never Installs: 17
 
No support by the author.

IMPORTANT: ALTHOUGH I'VE TESTED IT ON A NEW INSTALL, I TAKE NO RESPONSIBILITY FOR ANY DAMAGE THIS HACK MAY DO TO YOUR FORUM! I JUST CAN'T STRESS THIS ENOUGH! ()


What does this hack do: This hack will move all threads users 'delete' to a forum, so it will act like a Recycle Bin. that's the basic idea.


Requested By:
1: https://vborg.vbsupport.ru/showthrea...threadid=36107
2: https://vborg.vbsupport.ru/showthrea...threadid=40989
3: https://vborg.vbsupport.ru/showthrea...threadid=37264


Features:
-Only first post in thread will be recycled, 'normal' posts will still be fully deleted.
-Anyone with delete permissions can delete/recycle a post.
-Total deletion of a whole thread can only be performed by a admin.
-Recycle Bin forum can just be disabled for new posts, so it really acts like a sort of archive. (doesn't matter really, because the newthread & newreply images are gone in the recycle bin forum anyway)
-Admin CP options page, for easy recycle bin management.
-Restore function: users can restore their threads to the original location of the post.
-Users can place a 'deletion request', and if the admin thinks the reason is good, he/she can delete the thread (with one click ).
-Admin's can turn the Recycle Bin on and off
-Admin's can easily speicify the forum id of the forum that should be used as the Recycle Bin
-More probably


Installation:
Follow the instructions in install.txt that is included in the zip file.


Notes: I've tested this hack on a fresh install of 2.2.9, but it should also work on 2.2.x and 2.3.0, although i might not be able to give proper support for other versions than 2.2.9


Future additions-list:
-enable recycle bin on a per-forum basis (small addition, only if anyone really wants it)


Screenshots: https://vborg.vbsupport.ru/showthrea...069#post364069


Updates:
-10 march 2003: Hack is finally out of "BETA" stage and current version is 1.5
some bugs fixed and 2 new admin cp options added.
-11 march 2003: Updated hack to version 1.5.1
2 bugs fixed. zip file updated. new install doesn't need any fixes or anything.
See this post for more info & upgrade instructions (v1.5 to v1.5.1)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-10-2003, 08:18 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FlyingDutchman

and about you kars, well, i guess you have to uninstall it manually, i might do a instruction file tomorrow if i have any time...
Cool, thank you very much!
Reply With Quote
  #13  
Old 03-11-2003, 03:53 AM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot: Recycle bin options in the admin cp.
Reply With Quote
  #14  
Old 03-11-2003, 03:54 AM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot: Recycle bin forum showthread (restore & delete) buttons.
Reply With Quote
  #15  
Old 03-11-2003, 03:55 AM
FlyingDutchman's Avatar
FlyingDutchman FlyingDutchman is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot: vB Options: [Thread Display Options] with the hack installed.
Reply With Quote
  #16  
Old 03-11-2003, 07:29 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Flying Dutchman, maybe im just stupid, but i dont have the restore - delete buttons show up ...
Whats with that:
Code:
$recyclebinnewthread
and
Code:
recyclebinnewreply
?
Should we put this in showthread-template?
Reply With Quote
  #17  
Old 03-11-2003, 07:32 AM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FlyingDutchman
Screenshot: Recycle bin forum showthread (restore & delete) buttons.
i have this problem this two buttons did not show up....

can u tell me where do i doing wrong??thankz~
Reply With Quote
  #18  
Old 03-11-2003, 07:48 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe we must replace the newthreadlink and newreplylink with that varables.

Ive tested it and it works.

Code:
$recyclebinnewthread -  $recyclebinnewreply
Reply With Quote
  #19  
Old 03-11-2003, 08:33 AM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Kars10
I believe we must replace the newthreadlink and newreplylink with that varables.

Ive tested it and it works.

Code:
$recyclebinnewthread -  $recyclebinnewreply
yes....Kars10 u r right!!now it work~~~~~~

i find another problem

when i delete the post in recycle bin and i wrote why i want to

delete's reason but it bring me to this template"error_noid"

so what cause that??thankz~
Reply With Quote
  #20  
Old 03-11-2003, 11:15 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by squawell

yes....Kars10 u r right!!now it work~~~~~~

i find another problem

when i delete the post in recycle bin and i wrote why i want to

delete's reason but it bring me to this template"error_noid"

so what cause that??thankz~
Here the same... aranoid: . I have a look later.
Reply With Quote
  #21  
Old 03-11-2003, 11:47 AM
Dark Shogun Dark Shogun is offline
 
Join Date: Aug 2002
Location: The Underworld
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wondering would it be possible to have it move the whole thread to the recycle bin?

Dark Shogun
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:45 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.07112 seconds
  • Memory Usage 2,317KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete