Help - Search - Members - Calendar
Full Version: renaming subscriptions
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
russellzbabe4lyf
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.
sherryvu
welcome to createblog flowers.gif don't forget to read all of the rules and guidelines that are pinned at the top of each forum.

use the "replace any link text" script found in the xanga scripts section happy.gif
russellzbabe4lyf
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 =)
sherryvu
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 happy.gif add as many of these as you need
QUOTE
else if (str.match (/username/i)) links[l].innerHTML = str.replace (/username/i, "new name");
russellzbabe4lyf
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 -->
sherryvu
do you see the part that has the ******? try deleting that and see if it works
russellzbabe4lyf
sorry im new at this. mellow.gif
sherryvu
QUOTE(russellzbabe4lyf @ Dec 10 2004, 7:15 PM)
sorry im new at this. mellow.gif

it's okay happy.gif

did it work?
russellzbabe4lyf
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 -->
russellzbabe4lyf
ahhh it worked. i fixed it. thanks again for everything.
sherryvu
QUOTE(russellzbabe4lyf @ Dec 10 2004, 7:49 PM)
ahhh it worked. i fixed it. thanks again for everything.

np happy.gif

[ topic closed ]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.