We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Cool TOS hack; make your TOS page something else!
Topic Started: Feb 21 2004, 03:24 PM (617 Views)
Makarman-ZNS
Coder...except only 1 working script
[ *  * ]
All of your boards can have a Rules/Guidelines page that you can make a link to next to the Portal link (try fooling around with the Board Guidelines thing in the Admin CP). Your members can easily read your guidelines if you simply post it somewhere. Now, wouldn't you want that guidelines link (which you can rename easily) to point to something else? This is a simple uncloaked URL redirection script that you can put the in the guidelines that is visible through that link. Of course, this will not affect anything that is seen when registering.



Code:
 

<script language="Javascript">
<!--
var URL = "http://mysite.com/mystuff.htm "
var speed = 1  

function reload() {
location = URL
}

setTimeout("reload()", speed);
}
-->
</script>


Please change the variable "URL" to the page you want this to redirect to. If you wish, change the variable "speed" to the number of seconds your browser will wait before redirecting times 1000.

Put this in the Javascript section.
Hope you like this script!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply