<script type="text/javascript">
var moved = "MESSAGE";
var na = document.getElementsByTagName("span");
//Created by Agent Moose (revolutionx.smfforfree3.com)
for(me=0;me<na.length;me++){
if(na[me].innerHTML.match("ello <b>(.*)</b")){
var usehername = RegExp.$1;
if(moved.match("[USER]")) moved = moved.replace("[USER]",usehername);
};};
var mo = document.getElementsByTagName("textarea");
for(ve=0;ve<mo.length;ve++){
if(mo[ve].name == "reason"){
mo[ve].value = moved;
};};
</script>
Original Request: http://revolutionx.smfforfree3.com/index.php/topic,918.0.htmlThis code lets you change the Move Topic Message.
MESSAGE = The Message that the moved topic message will be changed to.
There are a couple of things you may use:
[BOARD] = The Board the topic has been moved to.
[USER] = The username of the person who moved it.
[TOPIC URL] = The Topic URL of the topic that was moved.
if you want to add line spaces, add \n for each one.
So, if I had this:
This topic has been moved to [BOARD] by [USER].\n\n[TOPIC URL]
It would look like this:
This topic has been moved to [BOARD] by [USER].
[TOPIC URL]
Now, this code edits the Moved Topic Message box, making it so all you have to do is press the Move button when moving a topic.
Enjoy
