Help - Search - Members - Calendar
Full Version: not able to block unregister guess
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
oooouuuu
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
Link doesn't work. Check to see if you've not added a > sign or something. It happens.
lilphoenix
Orignal Script

Did you remember to...
• replace all USERNAME w/ your own?
• copy & paste the script in the correct spot?
oooouuuu
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 -->
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.