We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Force Deleted Topics to go to Trash
Topic Started: Jul 31 2015, 08:33 PM (167 Views)
Tyler Dream
Member Avatar
Member
[ *  *  *  * ]
ZB
URL in mini profile
Is there a code that would force deleted topics to go to the trash can before getting actually deleted?
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
http://support.zathyus.com/topic/5088378/1/

Check the first and last post.
Offline Profile Goto Top
 
Tyler Dream
Member Avatar
Member
[ *  *  *  * ]
I've never seen the last code until now. I have question though, is the last code a replacement for the first code or is it an add on?
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
The code in the OP makes it so when you click the 'Delete' button on a post, it will trash it instead of delete it.

Ferby's code removes all delete topic(s)/post(s) options and renames the 'trash' text to 'delete'. Ferby's code also has an if statement that makes it so the code doesn't apply to administrators, so they can still delete topics and posts or trash them.
Offline Profile Goto Top
 
Tyler Dream
Member Avatar
Member
[ *  *  *  * ]
Works great. Thanks :)
Offline Profile Goto Top
 
Liam
Member Avatar
~

Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic