SMF For Free Support Forum
Signup For Free Forum
October 07, 2008, 04:11:30 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: my admin and mod rs crowns.  (Read 596 times)
0 Members and 1 Guest are viewing this topic.
str rocks
SMF For Free Newbie
*
Offline Offline

Posts: 3


View Profile
« on: June 30, 2008, 10:59:51 am »

Forum Url: http://xozpk.smfforfree4.com
i cant figure out what im doing wrong i out stuff in and crowns and stuff wont pop-up!!Can anyone help here, ill copy and paste my footer in here.


<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["<b>owner cnote</b>","","red","<img src='http://i307.photobucket.com/albums/nn311/PhotoKillz/m7xeep.gif' />"];
for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML.match(vfour[f][0])){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>
« Last Edit: July 01, 2008, 07:18:48 pm by simply sibyl » Logged
simply sibyl
Global Moderator
*
Offline Offline

Posts: 8410



View Profile WWW
« Reply #1 on: June 30, 2008, 11:24:23 am »

You cannot use the <b> and </b> tags for the OLD Name.    You can use them only for the NEW Name.     Also make sure the OLD name is the exact name it is on your forum and it is case specific (upper case, lower case) 
Logged

mintkiller
SMF For Free Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #2 on: July 01, 2008, 11:30:48 am »

maybe this can help its a fixed version:

<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["owner cnote","<b>owner cnote</b>","red","<img src='http://i307.photobucket.com/albums/nn311/PhotoKillz/m7xeep.gif' />"];
for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML.match(vfour[f][0])){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>
Logged



The Ultimate Private Server!
3lf-ครรครรเภ
SMF For Free Full Member
*
Offline Offline

Posts: 108



View Profile
« Reply #3 on: July 17, 2008, 07:17:50 am »

ok guys.. it might be helpful to post it with code tags.. here ill do it.
Code:
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["owner cnote","<b>owner cnote</b>","red","<img src='http://i307.photobucket.com/albums/nn311/PhotoKillz/m7xeep.gif' />"];
for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML.match(vfour[f][0])){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>
Logged

FinishTheFight
SMF For Free Member
*
Offline Offline

Posts: 26



View Profile WWW
« Reply #4 on: July 17, 2008, 07:43:54 am »

 It seems his forums has not been active, but the code below should work.


Code:
<script>
function name_across_board() {
//Created by Agent Moose (smcodes.smfforfree3.com)
$(function() {
var vfour = new Array()
vfour[vfour.length] = ["owner cnote","owner cnote","red","<img src='http://i307.photobucket.com/albums/nn311/PhotoKillz/m7xeep.gif'>"]
for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML.match(vfour[f][0])){this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='"+vfour[f][2]+"'>"+vfour[f][3]+vfour[f][(vfour[f][1] != "" ? 1 : 0)]+"</font>");};
});};});}
name_across_board();
</script>
Logged


Code:
Respect the admins and they will respect you
Follow the Rules
SMF RULES!!!!!!!


Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.316 seconds with 17 queries.