Log In · Register

 
Posting Calendar---Showing Up
redciv2
post Sep 15 2005, 07:04 PM
Post #1


Senior Member
****

Group: Member
Posts: 120
Joined: Nov 2004
Member No: 61,408



I am using the code to get rid of the posting calendar, but on the public site, it shows up again. Here is the code I'm using...

CODE
<!-- begin code provided by createblog.com -->
<script language="javascript"><!--
// original by sean, http://www.xanga.com/seanmeister
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 (/Sites I Read/i) && str.match (/(Posting Calendar|Get Involved!|Build Traffic!)/i)) ht[t].style.display = "none";
}
}
//--></script>
 
 
Start new topic
Replies (1 - 6)
Kenado
post Sep 15 2005, 07:11 PM
Post #2


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



Cahnge it to this.

CODE
<script language="javascript"><!--
// original by sean, http://www.xanga.com/seanmeister
if (location.href.match ("/YOUR USERNAME HERE")) {
var ht = document.getElementsByTagName ('table');
for (var t = 0; t < 10; t++) {
str = ht[t].cells[0].innerHTML;
if (!str.match (/Sites I Read/i) && str.match (/(Posting Calendar|Get Involved!|Build Traffic!)/i)) ht[t].style.display = "none";
}
}
//--></script>


Don't forget to change where it says your username here, it will show up in your private view but not your public.
 
redciv2
post Sep 15 2005, 07:24 PM
Post #3


Senior Member
****

Group: Member
Posts: 120
Joined: Nov 2004
Member No: 61,408



That didn't work for some reason. It showed up in private and public view.

The old code above (the one I posted), it wasn't showing in private view, but it was in public.
 
Kenado
post Sep 15 2005, 07:27 PM
Post #4


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



It should work a lot of people have been having problems with this okay for example. And the old one was located at home.aspx so of course it would only get rid of it since xanga made some changes.

say you specify your username in the code as 12D3
and when you type your url like this http://www.xanga.com/12d3
it will not work unless you type it EXACTLY they way you specified it in the code.
 
redciv2
post Sep 15 2005, 07:30 PM
Post #5


Senior Member
****

Group: Member
Posts: 120
Joined: Nov 2004
Member No: 61,408



Thanks. I got it. You have to type http://www.xanga.com/username (not just /username)
 
xexesmatrix
post Jan 14 2006, 05:00 PM
Post #6


Newbie
*

Group: Member
Posts: 4
Joined: Jan 2006
Member No: 352,397



it works cool! um but listen for anyone else where it says to replace just with your name naw do your entire url and make sure you spell it the right way and watch the caps. peace thnx to whom ever too.
 
Kenado
post Jan 14 2006, 05:41 PM
Post #7


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



^Ummmm please do not bump old topics...mellow.gif
I'm closing this.
Closed.
 

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