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.
https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=31;t=000072
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
Go to line 764 in ubb_topic_maint.cgi and
replace
FileExists
by:
-e
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)