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
[Code]Guest System; v.1.00; By Rilagn
Topic Started: Jan 25 2010, 09:15 AM (62 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Rilagn
[Code
 
Guest System; v.1.00]Guest System
Preview
Admin Cp --> Skinning And Styles --> Board Wrappers --> Footer

This Code Alerts Guests And Users A Message When They Enter The Board.
(Messages Are Diffrent Deppending On If There A Guest Or User)
(theres One Bug Though It Alerts You Every Page You Enter But Im Working On It)
(If Anyone Can Fix This Problem Please Pm Me)

Code:
 
<script>
//Guest System
//By Flame Hunter

//Guest System
userLinks=document.getElementById('userlinks');
if(userLinks.innerHTML.match("Log In"))
//Is Guest Alert
{
alert("Please Register To Rp")
}
else
//Is User Alert
{
alert("Welcome Back Adventurer")
}
</script>


(Please Don't Distribute This Code To Other Sites)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply