Log In · Register

 
 
Closed TopicStart new topic
not able to block unregister guess
oooouuuu
post Jan 2 2006, 01:47 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: May 2005
Member No: 133,921



I were using this code to try to block unregister guess..
http://www.createblog.com/forums/index.php...55042&hl=signin

it does work in the first time..
After I remove and paste in xanga again...it doesnt' work ..

anyone can help ??
 
talcumpowder
post Jan 2 2006, 04:03 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Link doesn't work. Check to see if you've not added a > sign or something. It happens.
 
lilphoenix
post Jan 2 2006, 07:14 PM
Post #3


I'm just a little bit crazy...
******

Group: Member
Posts: 1,119
Joined: Jun 2004
Member No: 19,760



Orignal Script

Did you remember to...
• replace all USERNAME w/ your own?
• copy & paste the script in the correct spot?
 
oooouuuu
post Jan 3 2006, 01:10 AM
Post #4


Newbie
*

Group: Member
Posts: 2
Joined: May 2005
Member No: 133,921



QUOTE(lilphoenix @ Jan 3 2006, 11:14 AM)
Orignal Script

Did you remember to...
• replace all USERNAME w/ your own?
• copy & paste the script in the correct spot?
*



Yes, I did. But It's still not work.

Maybe I show u my script:

(Header)
<!-- begin code provided by createblog.com -->
<!-- Part I of Block Users Script submitted by xanga.com/sherrys_designs -->
<script LANGUAGE="JavaScript">
function redirect () {
location.href = 'http://www.xanga.com/signin.aspx';
}
</SCRIPT>
<!-- end code provided by createblog.com -->


(Webstatus)
<!-- begin code provided by createblog.com -->
<!-- Part II of Block Users Script submitted by xanga.com/sherrys_designs -->
<script language="javascript">
function getXName() {
for (var i = 0; i < document.links.length; i++) {
if (document.links[i].href.substring(0,38)=="http://www.xanga.com/private/home.aspx") {
var link = document.links[i];
var text = document.all ? link.innerText : link.text ? link.text : '';
return text;
break;
}}
return null;
}

xName = getXName();

if (xName == 'null' || xName == 'null' || xName == null) {
alert("Sorry, you are either blocked from this site or not logged in.");
redirect(='http://www.xanga.com/signin.aspx');
}

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

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