inherit
123128
0
Feb 3, 2020 13:53:38 GMT -8
Malagrond
Remember, remember the 5th of November.
813
April 2008
malagrond
|
Post by Malagrond on Jun 14, 2009 16:22:00 GMT -8
Code Name: [CB] Group Suffixes Description:Allows you to add a styled suffix (e.g. Malagrond becomes Malagrond_PWN) to users of a certain group. HTML formatting only, no UBBC.You need to add groups in the format: groups["groupN"] = "<b>_SUFF</b>";
Where N is replaced by the group ID. To find the group ID, go to your admin panel and go to Modify Groups. In the drop-down box, find the group name, and the number to the right (after id:) is the group ID. For group #3 (Moderators, by default), you would use: groups["group3"] = "<font style='text-decoration:overline;'>_MOD</font>";
NOTE: Remember to use single quotes for attributes of things like style tags, font tags, etc. Preview: ClickGlobal Footer <script> <!-- /* Group Suffixes by Malagrond */
var allLinks = document.getElementsByTagName("a"); var groups = new Array(); groups["group1"] = "<font style='color:#FF0000;font-weight:bold;'>_ADMIN</font>";
for(var i=0;i<allLinks.length;i++){ if(allLinks[i].className.match(/group/gi) && allLinks[i].href.match(/viewprofile&user=/gi)){ allLinks[i].innerHTML += groups[allLinks[i].className]; } } --> </script>
~Mala
|
|