Log In · Register

 
 
Closed TopicStart new topic
code for changing subscriptions names?, please?
PETER_PARKER
post Oct 1 2004, 06:24 PM
Post #1


i'm on the sidelines, playing my kick arse rock music
***

Group: Member
Posts: 70
Joined: Jul 2004
Member No: 33,143



Sorry if someone has asked this before, but does anyone know that code? Thanks in advance.
 
moorepocket
post Oct 1 2004, 06:26 PM
Post #2


Death is a promise given to us at birth
*******

Group: Official Designer
Posts: 4,757
Joined: Mar 2004
Member No: 7,459



here is the code. change what i wrote in caps

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 (/NAME1/i)) links[l].innerHTML = str.replace (/NAME1/i, "NAME2");
else if (str.match (/NAME1/i)) links[l].innerHTML = str.replace (/NAME1/i, "NAME2");
else if (str.match (/NAME1/i)) links[l].innerHTML = str.replace (/NAME1/i, "NAME2");
else if (str.match (/NAME1/i)) links[l].innerHTML = str.replace (/NAME1/i, "NAME2");
else if (str.match (/NAME1/i)) links[l].innerHTML = str.replace (/NAME1/i, "NAME2");
else if (str.match (/NAME1/i)) links[l].innerHTML = str.replace (/NAME1/i, "NAME2");
}//-->
</script>
<!-- end code provided by createblog.com -->


ADD more if needed
 
sherryvu
post Oct 1 2004, 06:26 PM
Post #3


Senior Member
*******

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



use the "replace any link text" script found in the xanga scripts section happy.gif
 
C.Lime.Jello.
post Oct 1 2004, 06:27 PM
Post #4


The voices talk too much... -.-u
******

Group: Member
Posts: 2,099
Joined: Aug 2004
Member No: 39,078



Blah....
CODEBOX: -> right click -> copy/paste


Nyah.... Change the stuff in caps.
Goes in Web Stats.
(Crap.... Posted at the same time. >.<u)
 
bEaUtIfUl_SmIlE
post Oct 27 2004, 10:48 PM
Post #5


miss_congeniality
**

Group: Member
Posts: 21
Joined: Aug 2004
Member No: 36,900



hey....i tried that...and it didnt work...this is what i did
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 (/http//www.xanga.com/nightphire_inc/i)) links[l].innerHTML = str.replace (/http//www.xanga.com/nightphire_inc/i, "dante");

else if (str.match (/http//www.xanga.com/omega_black_x/i)) links[l].innerHTML = str.replace (/http//www.xanga.com/omega_black_x/i, "glen");

bla bla bla bla bla...etc.

}//-->
</script>

<!-- end code provided by createblog.com -->


look at my site...[/COLOR[COLOR=blue]]My xAnGa

can u pleez help me? cry.gif
 
xxmzkrnpunkster4
post Oct 28 2004, 04:05 AM
Post #6


my own special world...
*****

Group: Member
Posts: 465
Joined: Oct 2004
Member No: 54,648



QUOTE
hey....i tried that...and it didnt work...this is what i did

<!-- 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 (/http//www.xanga.com/nightphire_inc/i)) links[l].innerHTML = str.replace (/http//www.xanga.com/nightphire_inc/i, "dante");

else if (str.match (/http//www.xanga.com/omega_black_x/i)) links[l].innerHTML = str.replace (/http//www.xanga.com/omega_black_x/i, "glen");

bla bla bla bla bla...etc.

}//-->
</script>

<!-- end code provided by createblog.com -->



look at my site...[/COLOR[COLOR=blue]]My xAnGa

can u pleez help me? 


QUOTE
(/http//www.xanga.com/nightphire_inc/i)) links[l].innerHTML = str.replace (/http//www.xanga.com/nightphire_inc/i, "dante");



for the first one u need to put the persons name

QUOTE
(/NAME1/i))
 

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