Log In · Register

 
 
Closed TopicStart new topic
comments
i_heart_mike_lou...
post Dec 1 2004, 05:48 PM
Post #1


Senior Member
***

Group: Member
Posts: 81
Joined: Aug 2004
Member No: 42,165



is there a way that i can get comments but make it so other users can't see the comments other people left me?
 
lovescream
post Dec 1 2004, 05:53 PM
Post #2


define our lives for us.
********

Group: Staff Alumni
Posts: 11,656
Joined: Aug 2004
Member No: 43,293



uh i dont think so =\
i've never really seen that happen
 
coyote
post Dec 1 2004, 07:20 PM
Post #3


Senior Member
***

Group: Member
Posts: 92
Joined: Feb 2004
Member No: 3,709



Try that, just wrote that... goes into your website stats
Just add your username in lowercase into where it says "YOUR USER NAME IN LOWERCASE"

QUOTE
<script>
//
// Private Entry Comments
// by: Paul Chen
//  Kaiyotee
// http://www.xanga.com/kaiyotee
//
if(location.pathname.indexOf('item.aspx')!=-1){
name = "";
navLinks = document.getElementsByTagName('a')
for(i=0;i<navLinks.length;i++){
if(navLinks[i].innerHTML.match('xanga') && (navLinks[i+1].href.match('/private/home.aspx') || navLinks[i+1].href.

match('register.aspx')) && (navLinks[i+2].href.match('logout.aspx') || navLinks[i+2].href.match('signin.aspx')))
{
  name = navLinks[i+1].innerHTML;
  break;
}
}

lastComment = document.getElementsByName('sform')[0].previousSibling.previousSibling;

if(name.toLowerCase()!="YOUR USER NAME IN LOWERCASE"){

while(lastComment.previousSibling.tagName.toLowerCase()!="hr"){
  lastComment.style.display="none";
  lastComment = lastComment.previousSibling;
}

lastComment.style.display="none";
lastComment.previousSibling.style.display="none";
}
}
</script>
 
x0unforgetable
post Dec 1 2004, 08:23 PM
Post #4


Senior Member
***

Group: Member
Posts: 97
Joined: Jul 2004
Member No: 28,658



that code worked on mine thanks
 
lovescream
post Dec 1 2004, 09:29 PM
Post #5


define our lives for us.
********

Group: Staff Alumni
Posts: 11,656
Joined: Aug 2004
Member No: 43,293



QUOTE(coyote @ Dec 1 2004, 7:20 PM)
Try that, just wrote that... goes into your website stats
Just add your username in lowercase into where it says "YOUR USER NAME IN LOWERCASE"

you write codes? O_O [sorry to change the subject]
 

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