Java Problems

  • 1
  • Question
  • Updated 8 years ago
I have added this code to the page but it says there is an error and to check the code

Thanks,
Adam
Photo of adam

adam

  • 100 Posts
  • 0 Reply Likes
  • happy

Posted 8 years ago

  • 1
Photo of adam

adam

  • 100 Posts
  • 0 Reply Likes
Photo of adam

adam

  • 100 Posts
  • 0 Reply Likes
< script languag e="JavaScript">
docu ment .write ("Hello, "+login);

spaces so that getsatisfaction takes it
Photo of John McCarthy

John McCarthy

  • 1292 Posts
  • 99 Reply Likes
Hey Adam,
Try wrapping the code in <!-- Your code here -->
That way it can be displayed properly.
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
<!--
Hi, I know why its doing that. It does that to almost all the JavaScript. Just wait for it to load and then click "Ok" and it should work. I think you are using authpro, right? And that's the welcome message. You first need to add the page protection code at the top of the page, and then, add that code under it and i wont do that anymore. Also, if you don't like that blue banner that says "Protected by Authpro", just put in this code:

<div style="display:none; visibility:hidden;">YOUR AUTHPRO PROTECTION CODE HERE</div>

Remember, don't place that code you have here above, place the authpro page protection code and you wont see that banner anymore but it will still be there! Also, you probably wont see that check your code thing anymore if you ad it AFTER the page protection code.

Here's an example:

<div style="display:none;visibility:hidden;">

<script language="JavaScript" src="http://www.authpro.com/cgi-bin/auth.f...>

</div>

But remember, to use YOUR page protection code, and not this one, because this one if for my site and it wont work for yours!

I hope this helps!
-->
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
You can find the page protection code at the top of the page where you got that welcome message code. If you visit my website, you can sign in with the password: Test and the Login: Test and, you can see how I got it set up with the welcome message and stuff!
Photo of Diana

Diana

  • 6 Posts
  • 0 Reply Likes
I am at the last step before releasing my website that is overdue, and the Authpro page protection code isn't working.

I have followed:
Q: How can I protect my member's pages from being bookmarked and accessed without login first?
A: In order to protect a page from being accessed without login you should insert JavaScript 'page protection' code. You should insert this code in all pages you want to protect. You can find this code in your account manager ('Member's page protection code' link)

I am on my yola.com trying to enter the script into a HTML. For some reason it stuffs up my yola page and I can't save the page with the code in it. It is as if all my yola buttons are disabled. I've tried this on firefox and google chrome.

I really need to release my website in the next 24 hours. Can you please help!
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Hi Diana,

I've replied to your other thread and your Facebook post. Please see them.