UBB.Dev
Posted By: kurobatto X Recycle Bin - 10/19/2002 10:57 PM
I did search this forum for the idea and found a topic on it but it included a broken link to the hack. Plus, it was 6.1. Can anyone make a 6.3 Recycle Bin? By Recycle Bin, I mean like whenever you, a mod, or a user deletes a post, it would go to a hidden forum called the Recycle Bin instead of being removed from existance. I'd like this in case a Mod doesnt use good jugdement on something to be deleted.
Posted By: wwb95 Re: Recycle Bin - 10/22/2002 10:40 PM
https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=31;t=000072
Posted By: ang Re: Recycle Bin - 11/23/2002 11:21 PM
I've set up Recycle Bin (not using sticky) and it works fine, except when deleting a post or topic, it returns the following error:

Undefined subroutine &main::FileExists called at /home/cgi-bin/ubb/ubb_topic_maint.cgi line 764

It goes ahead and deletes and moves it to the recycle forum, just that this error shows up every time.

What to do??

TIA,

Ang
Posted By: wwb95 Re: Recycle Bin - 11/26/2002 11:40 PM
Go to line 764 in ubb_topic_maint.cgi and
replace
FileExists
by:
-e
Posted By: ang Re: Recycle Bin - 11/29/2002 7:31 AM
Thank you so much! I also had to remove an ampersand that was in front of the FileExists, but it's working just beautifully now. (I just did trial and error....I have no clue what -e is or why that ampersand needed removing)
© UBB.Developers