renaming subscriptions, the people. |
![]() ![]() |
renaming subscriptions, the people. |
Dec 10 2004, 06:24 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Dec 2004 Member No: 70,461 |
i absolutely cannot figure out the code for replacing the subscriptions names. I want to have them as real names though, not their user name. im not talking the titles, i wanna rename the actual people. i've seen it on somebodies xanga and it's been driving me crazy.
if you could give me the code it'd be much appreciated. please and thank you - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - www.xanga.com/need_you_like_watr_in_my_lungs < me. |
|
|
|
Dec 10 2004, 06:27 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
welcome to createblog
use the "replace any link text" script found in the xanga scripts section |
|
|
|
Dec 10 2004, 06:32 PM
Post
#3
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Dec 2004 Member No: 70,461 |
ahhh im sorry, thanks, i didnt realize that code worked for that as well...i read the rules and didn't quite understand a few things, thanks a million though =)
|
|
|
|
Dec 10 2004, 06:42 PM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
QUOTE <!-- begin code provided by createblog.com --> <script language="javascript"> <!-- var links = document.getElementsByTagName ('a'); for (var l = 0; l < links.length; l++) { str = links[l].innerHTML; if (str.match (/\d+:\d+ (am|pm)/i)) links[l] else if (str.match (/username/i)) links[l].innerHTML = str.replace (/username/i, "new name"); else if (str.match (/username/i)) links[l].innerHTML = str.replace (/username/i, "new name"); }//--> </script> <!-- end code provided by createblog.com --> just replace the parts that say username and new name QUOTE else if (str.match (/username/i)) links[l].innerHTML = str.replace (/username/i, "new name");
|
|
|
|
Dec 10 2004, 07:09 PM
Post
#5
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Dec 2004 Member No: 70,461 |
thanks, that's what i did awhile ago.
for some reason it still isn't working. is this not right? CODE <!-- begin code provided by createblog.com -->
<script language="javascript"> <!-- var links = document.getElementsByTagName ('a'); for (var l = 0; l < links.length; l++) { str = links[l].innerHTML; if (str.match (/\d+:\d+ (am|pm)/i)) links[l] else if (str.match (/russellzbabe4lyf/i)) links[l].innerHTML = str.replace (/russellzbabe4lyf/i, "__old xanga__"); else if (str.match (/anorexicswan/i)) links[l].innerHTML = str.replace (/anorexicswan/i, "__diana__"); else if (str.match (/Sha_Sha_72488/i)) links[l].innerHTML = str.replace (/Sha_Sha_72488 /i, "__nick__"); else if (str.match (/wwesexydrummer/i)) links[l].innerHTML = str.replace (/wwesexydrummer/i, "__joe__"); else if (str.match (/wwesexyguitarist/i)) links[l].innerHTML = str.replace (/wwesexyguitarist/i, "__mark__"); else if (str.match (/pixistix425/i)) links[l].innerHTML = str.replace (/pixistix425/i, "__kristin__"); else if (str.match (/cakeyvaughan/i)) links[l].innerHTML = str.replace (/cakeyvaughan/i, "__caitlin__"); else if (str.match (/SavorEveryMomentOfThis/i)) links[l].innerHTML = str.replace (/SavorEveryMomentOfThis/i, "__becky__"); else if (str.match (/p3n6u1nfr34x/i)) links[l].innerHTML = str.replace (/p3n6u1nfr34x/i, "__kacy__"); else if (str.match (/set_phasers_to_pun/i)) links[l].innerHTML = str.replace (/set_phasers_to_pun/i, "__russell boi__"); else if (str.match (/PiNKfLaMiNgOo7/i)) links[l].innerHTML = str.replace (/PiNKfLaMiNgOo7/i, "__brittany__"); else if (str.match (/my_lng/i)) links[l].innerHTML = str.replace (/my_lng/i, "__old xanga2__"); else if (str.match (/its_hardcore_honey/i)) links[l].innerHTML = str.replace (/its_hardcore_honey/i, "__alicia__"); else if (str.match (/NotCoppingOut/i)) links[l].innerHTML = str.replace (/NotCoppingOut/i, "__matt__"); else if (str.match (/skettios/i)) links[l].innerHTML = str.replace (/skettios/i, "__holley__"); **********else if (str.match (/eyes_of_confusion/i)) links[l].innerHTML = str.replace (/eyes_of_confusion/i, "__lailani__"); else if (str.match (/fatbrownguy/i)) links[l].innerHTML = str.replace (/fatbrownguy/i, "__fidel__"); else if (str.match (/VolkRacing23/i)) links[l].innerHTML = str.replace (/VolkRacing23/i, "__johnny__"); else if (str.match (/nowandtheworld/i)) links[l].innerHTML = str.replace (/nowandtheworld/i, "__grant__"); else if (str.match (/drewerthescrewer/i)) links[l].innerHTML = str.replace (/drewerthescrewer/i, "__drew__"); else if (str.match (/Pink_Skater/i)) links[l].innerHTML = str.replace (/Pink_Skater/i, "__victoria__"); else if (str.match (/Andyisback89/i)) links[l].innerHTML = str.replace (/Andyisback89/i, "__andrew__"); else if (str.match (/sikoticprincess/i)) links[l].innerHTML = str.replace (/sikoticprincess/i, "__anna__"); else if (str.match (/Marshmallowcrew/i)) links[l].innerHTML = str.replace (/Marshmallowcrew/i, "__brian__"); else if (str.match (/SchlechteKatzen/i)) links[l].innerHTML = str.replace (/SchlechteKatzen /i, "__clay__"); else if (str.match (/cannotthinkofone/i)) links[l].innerHTML = str.replace (/cannotthinkofone/i, "__martin__"); else if (str.match (/need_you_like_watr_in_my_lungs/i)) links[l].innerHTML = str.replace (/need_you_like_watr_in_my_lungs/i, "__kehlah__"); else if (str.match (/bang_bang_guns_go_bang/i)) links[l].innerHTML = str.replace (/bang_bang_guns_go_bang/i, "__sophia__"); else if (str.match (/markfullerloves90210/i)) links[l].innerHTML = str.replace (/markfullerloves90210/i, "__kathleen__"); else if (str.match (/specialperson346/i)) links[l].innerHTML = str.replace (/specialperson346/i, "__morgan__"); }//--> </script> <!-- end code provided by createblog.com --> |
|
|
|
Dec 10 2004, 07:15 PM
Post
#6
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
do you see the part that has the ******? try deleting that and see if it works
|
|
|
|
Dec 10 2004, 07:15 PM
Post
#7
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Dec 2004 Member No: 70,461 |
sorry im new at this.
|
|
|
|
Dec 10 2004, 07:16 PM
Post
#8
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
QUOTE(russellzbabe4lyf @ Dec 10 2004, 7:15 PM) sorry im new at this. it's okay did it work? |
|
|
|
Dec 10 2004, 07:36 PM
Post
#9
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Dec 2004 Member No: 70,461 |
dah! okay, i fixed what you said, and it worked. but then i added another girl to my subscriptions, and went it to fix some, and now it isnt working again.
QUOTE <!-- begin code provided by createblog.com -->
<script language="javascript"> <!-- var links = document.getElementsByTagName ('a'); for (var l = 0; l < links.length; l++) { str = links[l].innerHTML; if (str.match (/\d+:\d+ (am|pm)/i)) links[l] else if (str.match (/russellzbabe4lyf/i)) links[l].innerHTML = str.replace (/russellzbabe4lyf/i, "x old xanga x"); else if (str.match (/anorexicswan/i)) links[l].innerHTML = str.replace (/anorexicswan/i, "x diana x"); else if (str.match (/wwesexydrummer/i)) links[l].innerHTML = str.replace (/wwesexydrummer/i, "x joe x"); else if (str.match (/wwesexyguitarist/i)) links[l].innerHTML = str.replace (/wwesexyguitarist/i, "x mark x"); else if (str.match (/pixistix425/i)) links[l].innerHTML = str.replace (/pixistix425/i, "x kristin x"); else if (str.match (/cakeyvaughan/i)) links[l].innerHTML = str.replace (/cakeyvaughan/i, "x caitlin x"); else if (str.match (/SavorEveryMomentOfThis/i)) links[l].innerHTML = str.replace (/SavorEveryMomentOfThis/i, "x becky x"); else if (str.match (/p3n6u1nfr34x/i)) links[l].innerHTML = str.replace (/p3n6u1nfr34x/i, "x kacy x"); else if (str.match (/set_phasers_to_pun/i)) links[l].innerHTML = str.replace (/set_phasers_to_pun/i, "x russell boi x"); else if (str.match (/PiNKfLaMiNgOo7/i)) links[l].innerHTML = str.replace (/PiNKfLaMiNgOo7/i, "x brittany x"); else if (str.match (/my_lng/i)) links[l].innerHTML = str.replace (/my_lng/i, "x old xanga2 x"); else if (str.match (/its_hardcore_honey/i)) links[l].innerHTML = str.replace (/its_hardcore_honey/i, "x alicia x"); else if (str.match (/NotCoppingOut/i)) links[l].innerHTML = str.replace (/NotCoppingOut/i, "x matt x"); else if (str.match (/skettios/i)) links[l].innerHTML = str.replace (/skettios/i, "x holley x"); else if (str.match (/eyes_of_confusion/i)) links[l].innerHTML = str.replace (/eyes_of_confusion/i, "x lailani x"); else if (str.match (/fatbrownguy/i)) links[l].innerHTML = str.replace (/fatbrownguy/i, "x fidel x"); else if (str.match (/VolkRacing23/i)) links[l].innerHTML = str.replace (/VolkRacing23/i, "x johnny x"); else if (str.match (/nowandtheworld/i)) links[l].innerHTML = str.replace (/nowandtheworld/i, "x grant x"); else if (str.match (/drewerthescrewer/i)) links[l].innerHTML = str.replace (/drewerthescrewer/i, "x drew x"); else if (str.match (/Pink_Skater/i)) links[l].innerHTML = str.replace (/Pink_Skater/i, "x victoria x"); else if (str.match (/Andyisback89/i)) links[l].innerHTML = str.replace (/Andyisback89/i, "x andrew x"); else if (str.match (/sikoticprincess/i)) links[l].innerHTML = str.replace (/sikoticprincess/i, "x anna x"); else if (str.match (/Marshmallowcrew/i)) links[l].innerHTML = str.replace (/Marshmallowcrew/i, "x brian x"); else if (str.match (/SchlechteKatzen/i)) links[l].innerHTML = str.replace (/SchlechteKatzen/i, "x clay x"); else if (str.match (/cannotthinkofone/i)) links[l].innerHTML = str.replace (/cannotthinkofone/i, "x martin x"); else if (str.match (/need_you_like_watr_in_my_lungs/i)) links[l].innerHTML = str.replace (/need_you_like_watr_in_my_lungs/i, "x kehlah x"); else if (str.match (/bang_bang_guns_go_bang/i)) links[l].innerHTML = str.replace (/bang_bang_guns_go_bang/i, "x sophia x"); else if (str.match (/markfullerloves90210/i)) links[l].innerHTML = str.replace (/markfullerloves90210/i, "x kathleen x"); else if (str.match (/specialperson346/i)) links[l].innerHTML = str.replace (/specialperson346/i, "x morgan x"); else if (str.match (/Sha_Sha_72488/i)) links[l].innerHTML = str.replace (/Sha_Sha_72488/i, "x nick x"); else if (str.match (/xTHExLASTxBASSELOPEx/i)) links[l].innerHTML = str.replace (/xTHExLASTxBASSELOPEx/i, "x melissa x"); else if (str.match (/SweetlySunKissed/i)) links[l].innerHTML = str.replace (/SweetlySunKissed/i, "x truley x"); }//--> </script> <!-- end code provided by createblog.com --> |
|
|
|
Dec 10 2004, 07:49 PM
Post
#10
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Dec 2004 Member No: 70,461 |
ahhh it worked. i fixed it. thanks again for everything.
|
|
|
|
Dec 10 2004, 10:42 PM
Post
#11
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
QUOTE(russellzbabe4lyf @ Dec 10 2004, 7:49 PM) ahhh it worked. i fixed it. thanks again for everything. np [ topic closed ] |
|
|
|
![]() ![]() |