|
Post by stinky666 on Sept 23, 2004 0:19:45 GMT -5
Three questions:
1.) Does anyone know the code, for when you PM the Admin, a pop up appears and says something, it says whatever you want it to say?
Like the code on here, if you PM the Admin on here a pop up appears and says dont send support questions or something like that......
2.) Is there a code to limit the amount of chars used in a post......like at the moment you can use something like 10000 chars, si there a code to make a certain board only use say 5000?
3.) When you put your board in Maintanence mode, is there a code so that instead of it just saying that it is in maintanence mode and only Gmods and Admin can login, it can say something you want it to say?
|
|
Monty
New Member
Posts: 38
|
Post by Monty on Sept 24, 2004 23:04:21 GMT -5
Three questions: 1.) Does anyone know the code, for when you PM the Admin, a pop up appears and says something, it says whatever you want it to say? Like the code on here, if you PM the Admin on here a pop up appears and says dont send support questions or something like that...... 2.) Is there a code to limit the amount of chars used in a post......like at the moment you can use something like 10000 chars, si there a code to make a certain board only use say 5000? 3.) When you put your board in Maintanence mode, is there a code so that instead of it just saying that it is in maintanence mode and only Gmods and Admin can login, it can say something you want it to say? 1.) swg.proboards4.com/index.cgi?board=cd&action=display&n=1&thread=10946943582.) <script language="JavaScript"> <!-- maxLength = 5000
if (location.href.indexOf("=post") != -1 || location.href.indexOf("=reply") != -1 || location.href.indexOf("=modify") != -1 || location.href.indexOf("=imreply") != -1 || location.href.indexOf("=imquote") != -1 || location.href.indexOf("=createpoll") != -1 || location.href.indexOf("=imsend") != -1) { var supportsKeys = false function tick() { calcCharLeft(document.forms[0]) if (!supportsKeys) timerID = setTimeout("tick()",300) } function calcCharLeft(post) { clipped = false if (document.postmodify.message.value.length > maxLength) { document.postmodify.message.value = document.postmodify.message.value.substring(0,maxLength) charleft = 0 clipped = true alert('You have exceeded the maximum amount of characters, ' + maxLength + '.'); } else { charleft = maxLength - document.postmodify.message.value.length } return clipped }
tick(); } // --> </script> 3.) <script language=javascript> <!-- function switchit(item,item2) { var range = document.body.createTextRange(); range.collapse(true); if (location.href.indexOf("action=headersfooters") == -1 ) while (range.findText(item)) { range.text=item2; range.collapse(false); } }
switchit("This board is currently in maintainance mode. Only admins and global moderators can access it right now.","WHAT YOU WANT TO CHANGE IT TO"); // --> </script> Hope those work, I tested them
|
|
|
Post by stinky666 on Sept 25, 2004 16:22:10 GMT -5
Headers, footers, all or where? ;D
|
|
Monty
New Member
Posts: 38
|
Post by Monty on Sept 25, 2004 16:40:15 GMT -5
They all go in the footers. (yeah, I know, I should have said that... )
|
|