Log In · Register

 
 
Closed TopicStart new topic
how to change subscription names?, subscription names
apeshallneverdie
post Aug 12 2004, 10:49 AM
Post #1


Newbie
*

Group: Member
Posts: 8
Joined: May 2004
Member No: 17,838



HOW do you change ur friends subscription names from their xanga account name to like their nicknames or their names or whatever you feel like???
Please heeeelp!!!!
 
sherryvu
post Aug 12 2004, 10:51 AM
Post #2


Senior Member
*******

Group: Member
Posts: 3,826
Joined: Jan 2004
Member No: 2,330



use the replace link text code found in the xanga scripts section
 
apeshallneverdie
post Aug 12 2004, 10:58 AM
Post #3


Newbie
*

Group: Member
Posts: 8
Joined: May 2004
Member No: 17,838



This_? I still dont get it... im sorry


<!-- 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 (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "cents");
else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "cent");
else if (str.match (/comments/i)) links[l].innerHTML = str.replace (/comments/i, "dollars");
else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "dollar");
else if (str.match (/subscribe!/i)) links[l].innerHTML = str.replace (/subscribe!/i, "add me");
else if (str.match (/sign out/i)) links[l].innerHTML = str.replace (/sign out/i, "log out");
}//-->
</script>
<!-- end code provided by createblog.com -->
 
whomps
post Aug 12 2004, 11:01 AM
Post #4


:hammer:
*******

Group: Staff Alumni
Posts: 9,849
Joined: Mar 2004
Member No: 7,700



Change what's in the quotes. And add more of

"else if (str.match (/sign out/i)) links[l].innerHTML = str.replace (/sign out/i, "log out");"
to the bottom

to add more links. If say your friend's username was "blahblah" and you wanted to change it to "JENNIFER" or something you would do

else if (str.match (/sign out/i)) links[l].innerHTML = str.replace (/blahblah/i, "JENNIFER");
 
sweetxsimplicity
post Aug 12 2004, 11:01 AM
Post #5


hi, my name is brianna! =]
*******

Group: Official Member
Posts: 5,764
Joined: Jun 2004
Member No: 22,114



The directions are on here:
http://www.createblog.com/forums/index.php?showtopic=32
 
apeshallneverdie
post Aug 12 2004, 11:04 AM
Post #6


Newbie
*

Group: Member
Posts: 8
Joined: May 2004
Member No: 17,838



awwwwwwww thanks you guys!!^^
its so sweet and i like it how u get the replies quickly! ill try! thanks^^!!!
MUAH!!!
 
apeshallneverdie
post Aug 12 2004, 11:05 AM
Post #7


Newbie
*

Group: Member
Posts: 8
Joined: May 2004
Member No: 17,838



wait wait!! or is it easier using this??

<!-- begin code provided by createblog.com -->
<script type="text/javascript">
//
// &copy; EasterEgg, http://www.xanga.com/easteregg
//
// For use at Xanga only.
//
// This script replaces any given word or text fragment with
// whatever you want: new words and fragments, or even HTML!
//
// Actually it's pretty simple: add the words or fragments you
// wish to replace to the array "oldWords" (each word placed
// between double quotation marks, and separated by colons as you
// can see below) and add their replacements to the array "newWords",
// at the same position as the original words in "oldWords".
// The example is pretty self-explaining.
//
// The script is case sensitive, meaning that if you add "something"
// to "oldWords" array it will not recognize "SOMETHING", or "SoMetHInG".
//
// You can adjust the existing arrays in this code as you see fit,
// as long as both arrays keep the same size (same amount of words
// in both arrays), otherwise a script error will occur.
//
// Copy this entire code and paste in the webstats box at your
// Look and Feel page.
//
// You're free to use this script as long as this comment remains intact,
// and as long you won't use it to cripple the comments of your visitors;
// after all, no one likes his/her words getting twisted...
//
function replaceWords()
{
// ***add the words or fragments you wish to replace below
var oldWords = new Array(
"Subscriptions",
"Publish Comments",
"add eProps",
"eprop",
"eProps",
"add comments",
"comment",
"comments",
"email it",
"view entire profile",
"sign my guestbook",
"My Blogrings",
"Posting Calendar",
"Get Involved!",
"sign out",
"Name:",
"Birthday:",
"Gender:",
"State:",
"Country:",
"Interests:",
"Expertise:",
"Website",
"Email",
"Member since:");

// *** add the replacing words or fragments below
var newWords = new Array(
"MY BUDDY LIST",
"Publish Comments",
"add eProps",
"eprop",
"eProps",
"add comments",
"comment",
"comments",
"email it",
"view entire profile",
"sign my guestbook",
"My Blogrings",
"Posting Calendar",
"Get Involved!",
"sign out",
"Name:",
"Birthday:",
"Gender:",
"State:",
"Country:",
"Interests:",
"Expertise:",
"Website",
"Email",
"Member since:");

allTableData = document.getElementsByTagName('td');
allTableHeaders = document.getElementsByTagName('th');

var collections = new Array(allTableData,allTableHeaders);

for (var k = 0; k < collections.length; ++k )
{
for (var i = 0; i < collections[k].length; ++i )
{
if (collections[k][i].innerHTML.indexOf('TABLE') == -1)
{
for ( var n = 0; n < oldWords.length; ++n )
{
var indx = collections[k][i].innerHTML.indexOf(oldWords[n])
while (indx != -1)
{
var replacement = '';
indx = collections[k][i].innerHTML.indexOf(oldWords[n]);
replacement = collections[k][i].innerHTML.replace(oldWords[n], newWords[n]);
collections[k][i].innerHTML = replacement;
break;
}
}
}
}
}
}
replaceWords();
</script>
<!-- end code provided by createblog.com -->
 
whomps
post Aug 12 2004, 11:06 AM
Post #8


:hammer:
*******

Group: Staff Alumni
Posts: 9,849
Joined: Mar 2004
Member No: 7,700



No. Don't use that. It's going to change the links itself. I think.. yeah that's the problem I use to have.
 
apeshallneverdie
post Aug 12 2004, 11:10 AM
Post #9


Newbie
*

Group: Member
Posts: 8
Joined: May 2004
Member No: 17,838



oh really?? okay.. ill try.. grrr.. okay heheheh thanks alot!^^
ill go try!.. and if its not successful, .... i might come back! haha
 
apeshallneverdie
post Aug 12 2004, 11:27 AM
Post #10


Newbie
*

Group: Member
Posts: 8
Joined: May 2004
Member No: 17,838



waaaaaaa~~~~ its not working>.<...

okay.. if its ...
else if (str.match (/sign out/i)) links[l].innerHTML = str.replace (/something/i, "her name");

what will it be where it says "/sign out/i" ??
will it be subcriptions??
 
apeshallneverdie
post Aug 12 2004, 11:51 AM
Post #11


Newbie
*

Group: Member
Posts: 8
Joined: May 2004
Member No: 17,838



I THINK I GOT IT!! THANKS A LOT FOR THE PEOPLE WHO HELPED ME!!
IF YOU LIKE COME AND VISIT MY SITE~~!!
arigato!!^^
www.xanga.com/apeshallneverdie
 
sweetxsimplicity
post Aug 12 2004, 12:07 PM
Post #12


hi, my name is brianna! =]
*******

Group: Official Member
Posts: 5,764
Joined: Jun 2004
Member No: 22,114



Please don't double err..triple post
 
vanessa
post Aug 18 2004, 05:47 PM
Post #13


Newbie
*

Group: Member
Posts: 1
Joined: Jun 2004
Member No: 19,963



QUOTE(apeshallneverdie @ Aug 12 2004, 11:27 AM)
hhmm repplace text i dnt really get it!!!

hey umm u noe umm like mah friends xanger is called like dis_girlnamed_sumthin n yea u want to change it into their name wat do u use cuz yea i see lotz of people n they change it into there names n yea.. i didnt get da replace text thingy n yea can u like im me people or yea mah sn is LuB m3 CuddLeZ n yea i dnt get it so yea contact me or sumthin! mellow.gif huh.gif stubborn.gif pinch.gif wacko.gif _dry.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: