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:
Add Reply
Relocate Trashed Topics
Topic Started: Sep 13 2016, 03:28 PM (287 Views)
DaPizzaMan
Member Avatar
#TeamSupport

Code Name: Relocate Trashed Topics

What the code does: When using the Trash Topic(s) moderation tool, this code will instead send the topic(s) to a forum that you decide on. Keep in mind, you can restore the Trash Topic functionality in any forum that you do not select in the "Can use AMT in" selection.

How to use the code: Go to Admin CP -> Topic AutoTools -> Create new topic AutoTool. Follow these instructions. You will need the AutoTool Name to define the autotoolName variable below.

How to install the code: Add the below code to Admin CP -> Board Template -> Below the Board.

Extra notes: This code was made in response to this request.
Code:
 
<script type="text/javascript">
var trashRelocation = {};
$(function() {
if (location.href.indexOf('/topic/') !== -1 || location.href.indexOf('/forum/') !== -1) {
trashRelocation.autotoolName = 'Trash to Forum'; // Name of the Trash Relocation AutoTool goes here
$.ajax({url:'http://b3.ifrm.com/30296/128/0/p3000026/TrashRelocation.js', dataType:'script', cache:true, async:false});
}
});
</script>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Codes & Modifications · Next Topic »
Add Reply