##################################################################################
#HACK NAME : Recycle bin For UBB 6.2.1 #
##################################################################################
##VERSION: 2 Beta #
##################################################################################
##DESCRIPTON : #
## This hack will place any deleted topic or replay in a forum that #
## you create for this aspect. #
## The Recycle bin can be toggled off in the control panel. #
## Any topic or replay deleted or edited by a user, Moderated, or #
## administrator is going to be moved to the recycle form. #
## If you delete a topic from a recycle bin it will be deleted or ever #
##################################################################################
##Modification #
## Add support to record the move and close topic #
##################################################################################
##AUTHOR : wwb95 #
##################################################################################
##file to edit: #
## EDIT CP_VARS_MISC.PL #
## EDIT CP_LIB.CGI #
## ubb_edit_post.cgi #
## ubb_topic_maint.cgi #
##################################################################################
##DISCLAIMER #
## By using this modification, the user implicitly agrees #
## that they are willingly modifying any and all files at #
## their own risk. Should any errors occur either as a #
## direct or indirect result of said modifications the user #
## agrees not to hold Infopop Corporation or any of the #
## individuals listed accountable. #
## #
## #
## IN OTHER WORDS: PLEASE MAKE BACKUP COPIES OF EVERY FILE YOU PLAN TO #
## MODIFY PRIOR TO MODIFICATION!! #
##################################################################################
Will this hack will give you the ability to store any modification done to a topic or post. It has a full CP control.
You can enable the following from the CP
1-Enable the recycle bin
2-Enable recycles for edit post
3-Enable recycles for deletion of a post
Enabling for editing is when a user, modulator, or admin change some thing in his post
Enable for deletion is when a user, modulator, or admin delete a post
When a user edits a post or topic the first post in a topic that will appear in the recycle bin will look like this
000001
This post was edited by: wbb95
On: March 27, 2002 at: 08:04 PM
The post number of this is: 1
The forum in which the post was: Forum 1
The topic number was: 000001
The subject will change in the recycle to be:
(edit) The subject
the same thing when a post is deleted
When a topic is deleted the information above will be added to the first post of the topic
If delete or edit a post or topic in the recycle it will be removed for ever
To empty the recycle you have to do that from the cp== maintenance== Prune post
I have done to hack
For the ubb with No sticky hack added === you can down load this from
http://66.113.218.51/recycle_621.zip For the ubb with sticky hack added === you can down load this from
http://66.113.218.51/recycle_621_sticky.zip