Log In · Register

 
 
Closed TopicStart new topic
replacing xanga usernames?.., the script for it,plz help
emerika66
post Nov 1 2004, 08:29 PM
Post #1


Senior Member
***

Group: Member
Posts: 95
Joined: Feb 2004
Member No: 3,903



can someone tell me whats the code for replcing ur friend's xanga usernames to their name or whatever u wanna change it to?
and also,is there a code for hiding ur blogrings???
 
shortvi3tlaydee
post Nov 1 2004, 10:23 PM
Post #2


moohaha
******

Group: Member
Posts: 2,214
Joined: Aug 2004
Member No: 41,985



try using the replace any text script

CODEBOX: -> right click -> copy/paste
 
sweetxsimplicity
post Nov 1 2004, 11:41 PM
Post #3


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

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



^ Ehm..no, that's only for text, you use the replace any link script.

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 (/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 -->


[ http://www.createblog.com/forums/index.php?showtopic=32 ]

And there's no way to remove only your blogrings, unless you want to remove all your modules.
 
sherryvu
post Nov 2 2004, 12:17 AM
Post #4


Senior Member
*******

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



use this to hide/remove your blogrings module happy.gif
CODE
<!-- begin code provided by createblog.com -->
<script language="javascript"><!--
if (location.href.match ("home.aspx")) {
var ht = document.getElementsByTagName ('table');
for (var t = 0; t < 10; t++) {
str = ht[t].cells[0].innerHTML;
if (!str.match (/Subscriptions/i) && str.match (/(Blogrings)/i)) ht[t].style.display = "none";
}
}
//--></script>
<!-- end code provided by createblog.com -->
 
Alternatie
post Nov 11 2004, 01:25 PM
Post #5


Newbie
*

Group: Member
Posts: 3
Joined: Jun 2004
Member No: 19,737



if you want an easier way of doing it, then i suggest that you do it the way i did, and its very simple..

<!--Get this code at http://help.xanga.com/replacelinks.htm//-->
<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,"NAME YOU WANT");
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/USERNAME/i)) links[l].innerHTML = str.replace (/USERNAME/i,"NAME YOU WANT");
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/USERNAME/i)) links[l].innerHTML = str.replace (/USERNAME/i,"NAME YOU WANT");
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/USERNAME/i)) links[l].innerHTML = str.replace (/USERNAME/i,"NAME YOU WANT");
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/USERNAME/i)) links[l].innerHTML = str.replace (/USERNAME/i,"NAME YOU WANT");
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/USERNAME/i)) links[l].innerHTML = str.replace (/USERNAME/i,"NAME YOU WANT");
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/USERNAME/i)) links[l].innerHTML = str.replace (/USERNAME/i,"NAME YOU WANT");
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/USERNAME/i)) links[l].innerHTML = str.replace (/USERNAME/i,"NAME YOU WANT");
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/USERNAME/i)) links[l].innerHTML = str.replace (/USERNAME/i,"NAME YOU WANT");
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/USERNAME/i)) links[l].innerHTML = str.replace (/USERNAME/i,"NAME YOU WANT");
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/USERNAME/i)) links[l].innerHTML = str.replace (/USERNAME/i,"NAME YOU WANT");;;}//-->

</script>




and make sure that you replace USERNAME with the person's xanga name and make sure that you change NAME YOU WANT with the name you want to call that person, Im glad to help...

QUOTE
He handed her 12 roses, 11 real and 1 fake, and said " I will Love you until the last rose dies"
 

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