Advertise Here

Author Topic: [Code] Change Username Across Board V3  (Read 9558 times)

0 Members and 1 Guest are viewing this topic.

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Change Username Across Board V3
« Reply #15 on: September 03, 2008, 01:07:37 pm »
Strange it doesnt work..

do you have the jquery in your header?

url please..  we need it in order to check to see what you did

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Change Username Across Board V3
« Reply #16 on: September 03, 2008, 01:10:17 pm »
try this code instead.  Make sure you put your name in correctly for Old name.  It is case sensitive and has to be correct for it to find it to change it.

Code: [Select]
<script>
function name_across_board() {
//Created by Agent Moose (smcodes.smfforfree3.com)
$(function() {
var vfour = new Array()
vfour[vfour.length] = ["NAME","<marquee>NAME</marquee>","RED",""]

for(f=0;f<vfour.length;f++){
$("a").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: September 03, 2008, 01:13:07 pm by simply sibyl »

Offline puchisana

  • SMF For Free Member
  • *
  • Posts: 37
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Change Username Across Board V3
« Reply #17 on: September 03, 2008, 01:11:03 pm »
http://foxlvon.freesmfhosting.com

here is my header:

Quote
<script src="/jquery.js"></script>

<center><img src="http://i231.photobucket.com/albums/ee165/puchisana/header.jpg" border="0" alt="Banner"></center>

<style>
.drop { position: absolute; width: 3;  filter: flipV(), flipH(); font-size: 40; color: blue }
</style>
<script language="javascript">

snow = true;    // false-rain;   true-snow
snowsym = " * "  //These are the symbols for each
rainsym = " ' "  //You can put images here.
howmany = 100     //How many drops

/DO NOT EDIT BELOW THIS/
if(snow){sym = snowsym; speed=1; angle=10; drops=howmany}
else{sym = rainsym; speed=50; drops=howmany; angle=6}
movex = -speed/angle; movey = speed; count = 0;

function moverain(){
for(move = 0; move < drops; move++){
xx+=movex;  yy[move]+=mv[move];
hmm = Math.round(Math.random()*1);
if(xx[move] < 0){xx[move] = maxx+10;}
if(yy[move] > maxy){yy[move] = 10;}
drop[move].left = xx[move]
drop[move].top = yy[move]+document.body.scrollTop;
}setTimeout('moverain()','1')}

</script>
Footers
Quote
<script>document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/UserPage.js'><\/script>");</script>

<script>
function add_color_v3(){
//Created by Agent Moose (smcodes.smfforfree3.com)
$("a , h1 , #top_subject").each(function() {
if(this.innerHTML.match(/\[color=(.*)\]/i)) {
this.innerHTML = "<font color='" + RegExp.$1 + "'>" + this.innerHTML + "</font>";
};});}
add_color_v3();
</script>

<object width="300" height="340"><param name="movie" value="http://media.imeem.com/pl/Bf6n49-QDy/"></param><param name="wmode" value="transparent"></param><embed src="http://media.imeem.com/pl/Bf6n49-QDy/" type="application/x-shockwave-flash" width="300" height="340" wmode="transparent"></embed><a href="http://www.imeem.com/people/pjg4sPS/playlist/6LRtwBwg/snowys_playlist_music_playlist/">Snowys Playlist</a></object>

<script language="javascript">

if (document.all){
drop = new Array(); xx = new Array(); yy = new Array(); mv = new Array()
ly = "document.all[\'"; st = "\'].style"
for(make = 0; make < drops; make++){
document.write('<div id="drop'+make+'" class=drop>'+sym+'</div>');
drop[make] = eval(ly+'drop'+make+st);
maxx = document.body.clientWidth-40
maxy = document.body.clientHeight-40
xx[make] = Math.random()*maxx;
yy[make] = -100-Math.random()*maxy;
drop[make].left = xx[make]
drop[make].top = yy[make]
mv[make] = (Math.random()*5)+speed/4;
drop[make].fontSize = (Math.random()*10)+20;
if(snow){col = 'white'}else{col = 'blue'}
drop[make].color = col;
}
window.onload=moverain
}
</script>

<script>
var Name = "Money";
var Sign = "$";
var PerPost = "5";
var UserID = "1";

var Item = new Array();
Item[Item.length] = ["Yellow Heart Medal","For people who made 2 or more guides, Required posts: 50","10"];
Item[Item.length] = ["Orange Heart Medal","For people who made 4 or more guides, Required posts: 100","100"];
Item[Item.length] = ["Red Heart Medal","For people who made 8 or more guides, Required posts: 200","150"];
Item[Item.length] = ["Poster Bronze Medal","For people who has 1000+ posts","10"];
Item[Item.length] = ["Poster Silver Medal","For people who has 1500+ posts","100"];
Item[Item.length] = ["Poster Gold Medal","For people who has 2000+ posts","1000"];
Item[Item.length] = ["Mod Medal","For people who is a Mod, Global or Admin","1"];
Item[Item.length] = ["Global Medal","For people who is Global or Admin","1"];
Item[Item.length] = ["Admin Medal","For people who is Admin","1"];


document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/shop1.js'><\/script>");
</script>

<script>
function nmeacrossb(){
//Created by Agent Moose
$(function() {
var oldnewb = new Array()
oldnewb[0] = ["TheWayToBe","<marquee>TheWayToBe</marquee>","Red"]

for(l=0;l<oldnewb.length;l++){
$("a").contains(oldnewb[l][0]).html("<font color='"+oldnewb[l][2]+"'>"+oldnewb[l][3]+oldnewb[l][(oldnewb[l][1] != "" ? 1 : 0)]+"</font>");
};});}

nmeacrossb();
</script>

Neither the name color and marque works nor the snow

Offline puchisana

  • SMF For Free Member
  • *
  • Posts: 37
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Change Username Across Board V3
« Reply #18 on: September 03, 2008, 01:13:30 pm »
Sorry for double post, now it works, but my name is now undefined TheWayToBe

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Change Username Across Board V3
« Reply #19 on: September 03, 2008, 01:16:48 pm »
Sorry for double post, now it works, but my name is now undefined TheWayToBe

doublecheck the part of your code that has this..   add that last ,"" at the end of it and remove the semi-colon you have after the last bracket.

Should be liike this:

Code: [Select]
vfour[vfour.length] = ["TheWayToBe","<marquee>TheWayToBe</marquee>","RED",""]
do you still have the hex code in Account Related Settings?  If so get that out of there.
« Last Edit: September 03, 2008, 01:31:30 pm by simply sibyl »

Offline puchisana

  • SMF For Free Member
  • *
  • Posts: 37
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Change Username Across Board V3
« Reply #20 on: September 03, 2008, 03:20:58 pm »
Okay thanks, is there a way to make it size 4?

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Change Username Across Board V3
« Reply #21 on: September 03, 2008, 03:28:40 pm »
Okay thanks, is there a way to make it size 4?


I dont know if you can use the html font tag in that code or not..  maybe

Try this.. replace the # with the font size number..  ya might have to play with it to get it the size you want.

Code: [Select]
vfour[vfour.length] = ["TheWayToBe","<marquee><font size='#'>TheWayToBe</font></marquee>","RED",""]

Offline puchisana

  • SMF For Free Member
  • *
  • Posts: 37
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Change Username Across Board V3
« Reply #22 on: September 03, 2008, 03:32:42 pm »
Okay really thanks for all, cant you come to our forum and make some updates plz? xD, i am the only admin of 3 that updates it and I have many errors (snow 1)

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Change Username Across Board V3
« Reply #23 on: September 03, 2008, 03:36:11 pm »
Okay really thanks for all, cant you come to our forum and make some updates plz? xD, i am the only admin of 3 that updates it and I have many errors (snow 1)

Im afraid we don't do that.   'Sides if someone else fixes it you won't know what to do if it happens again.     You do have a lot of codes.  I would seriously think about copying all of the info you have in your header and your footer and saving it to your computer so you have a backup of them.   Then clear it out.   Add the codes back ONE at a TIME.   Make sure each one works before you add another one.  Thats the best way to troubleshoot it since you did mention before you have a few not workign right.

Offline puchisana

  • SMF For Free Member
  • *
  • Posts: 37
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Change Username Across Board V3
« Reply #24 on: September 03, 2008, 03:41:00 pm »
The only that is not workins is the snow 1, it doesnt work even since i added it..

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Change Username Across Board V3
« Reply #25 on: September 03, 2008, 03:44:25 pm »
The only that is not workins is the snow 1, it doesnt work even since i added it..

I think there was one here that did not work in either IE or Firefox.  No idea which one you used.
Only thing I can tell ya is reply to the thread that you got the code from if you have not done so already.   Post your forums url (assuming you have the code in place still)  and/or the code you used  (just that code - dont need your entire header or footer)

This site has a bunch of javascript codes for things flying / floating around the screen, dropping, etc.  You could check some of them out.    http://www.dynamicdrive.com/dynamicindex4/index.html   


Offline Pan

  • SMF For Free Member
  • *
  • Posts: 33
    • View Profile
    • MangaFive Forum Community

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] Change Username Across Board V3
« Reply #26 on: May 19, 2009, 05:51:25 am »
Everyone, This is a new code for this. But if you want the old code, then here it is:


Add this to headers/footers:


Code: [Select]
<script>


function nmeacrossb(){
//Created by Agent Moose
$(function() {
var oldnewb = new Array()
oldnewb[0] = ["OLDNAME","NEWNAME","COLOR","OTHER(Images ect.)"]


for(l=0;l<oldnewb.length;l++){
$("a").contains(oldnewb[l][0]).html("<font color='"+oldnewb[l][2]+"'>"+oldnewb[l][3]+oldnewb[l][(oldnewb[l][1] != "" ? 1 : 0)]+"</font>");
};});}

nmeacrossb();
</script>


Just a reminder:
Code: [Select]
OLDNAME is your Forum UserName. And
Code: [Select]
NEWNAME is the new name you want it to show.
Code: [Select]
COLOR yellow,red,green,blue, ect.
Code: [Select]
OTHER add images or comments.


BTW: If your gonna add a image, add it with its URL, but use this code with it:

Code: [Select]
<img src=http://i122.photobucket.com/albums/o243/sebastianm10/goldcrown.gif <img>
URL example added.

Code made by
Quote
Agent Moose


-Revolation

If I put the UserName of my member it wont work, But If I put the display name It will work, Is this okay? Please reply

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: [Code] Change Username Across Board V3
« Reply #27 on: May 19, 2009, 07:33:01 am »
That's the way the code works :)
<--- Donate to SMF For Free! :D

 

Related Topics

  Subject / Started by Replies Last post
50 Replies
12956 Views
Last post July 30, 2007, 09:58:16 am
by Agent Moose
10 Replies
15674 Views
Last post January 11, 2014, 03:05:53 am
by Lolcopte
14 Replies
6424 Views
Last post May 18, 2009, 09:32:27 pm
by Seldom Fail
12 Replies
9573 Views
Last post October 01, 2009, 01:58:15 am
by Zion
26 Replies
13955 Views
Last post October 29, 2012, 11:20:59 pm
by WVaGAL