| 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: |
| [ C ] Force Deleted Topics to go to Trash | |
|---|---|
| Tweet Topic Started: Jul 31 2015, 08:33 PM (167 Views) | |
| Tyler Dream | Jul 31 2015, 08:33 PM Post #1 |
|
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? |
![]() |
|
| Cory | Jul 31 2015, 08:36 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
http://support.zathyus.com/topic/5088378/1/ Check the first and last post. |
![]() |
|
| Tyler Dream | Jul 31 2015, 08:38 PM Post #3 |
|
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? |
![]() |
|
| Cory | Jul 31 2015, 10:22 PM Post #4 |
|
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. |
![]() |
|
| Tyler Dream | Aug 1 2015, 04:50 PM Post #5 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Works great. Thanks
|
![]() |
|
| Liam | Aug 2 2015, 05:53 AM Post #6 |
![]()
~
![]()
|
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. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
8:18 PM Jul 10
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)




8:18 PM Jul 10