Peter
New Member
God
Posts: 6
|
Post by Peter on Oct 29, 2004 11:35:18 GMT
Code created by Naruto[/color]
Add Rating Icons to the Left of the Textarea <script type="text/javascript"> //Copyright Naruto - hatakeforum.proboards30.com/ //Add Rating Icons to the Left of the Textarea if(location.href.indexOf("=post")!=-1 || location.href.indexOf("=createpoll")!=-1 || location.href.indexOf("=modify")!=-1 || location.href.indexOf("=imsend")!=-1){
var rateI = document.body.createTextRange(); rateI.collapse(true);
while (rateI.findText("Message:")) { rateI.pasteHTML('Message:<br><br>Rating Icons:<br><br><center><a href=javascript:add("rate1 ")><img src="Rate 1 image" border="0"></a><br><a href=javascript:add("rate2 ")><img src="Rate 2 image" border="0"></a><br><a href=javascript:add("rate3 ")><img src="Rate 3 image" border="0"></a><br><a href=javascript:add("rate4 ")><img src="Rate 4 image" border="0"></a><br><a href=javascript:add("rate5 ")><img src="Rate 5 image" border="0"></a><br></center>'); rateI.collapse(false); }} </script>
This script will add rating images under the word "Message:" when posting. There has been a similar script made like this at FreePBtemplates. Change the orange to the images you need. After that, go to your censored words list and do something like the following: rate 1=[img src="[/b]] http://register.com/image.gif"
Just edit the orange to your image that you had above so it corresponds [remember up to rate5]
Place this code in all board footers, unless you don't want it in a certain board. Preview: Here #nosmileys#nosmileys#nosmileys#nosmileys#nosmileys#nosmileys
|
|