|
<script type="text/Javascript"> // Different New/No New Icons for Different Boards by Chris // Do not redistribute without permission of the creator
// Scroll down to find edit portion var aAH = document.links; function iconChange(bid, onicon, officon){ if(location.href.match(/action=(view_board|home)/i) || !location.href.match(/action=/i)){ for(a=0;a<aAH.length;a++){ if(aAH[a].href.match(new RegExp("board_id="+bid+"($|&)", "gi")) && aAH[a].parentNode.nodeName == "B"){ var c = aAH[a].parentNode.parentNode.parentNode.cells[0]; c = c.getElementsByTagName("img")[0]; c.src = (c.alt.match(/No/)?officon:onicon); break; } } } }
// EDIT HERE. Repeat the following line as necessary: // SYNTAX: iconChange(BOARDID, "NEW ICON URL", "NO NEW ICON URL"); iconChange(1, "URL of new icon", "URL of old icon"); iconChange(3, "URL of new icon", "URL of old icon"); </script>
This module allows for you to have a different new and no new posts image for different boards.
It goes in your global footers.
|
|
|
|
|
If this hasn't already been suggested, you should update this for v5.
|
|
|
|
If this hasn't already been suggested, you should update this for v5. a HyperBoards code?
|
|
|
|
|
I didn't realize there was already a PBv5 plugin for this on PBS... and I didn't realize this was a HyperBoards code, so I just checked that place out since it's been forever. Hasn't changed much lol.
|
|
|