• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[HTML] Splash Page

Breakdown

Be good, or be good at it
Joined
Feb 5, 2009
Messages
334
Reaction score
9
For my server i use a splash page, maybe it's to hide how terrible nicaw's template is, but it can give first impressions an "A". It's fairly simple to make a splash page, but i figure i'd share the things needed.

Here is an example of what i mean, this link.

First thing's first, you might not need one but use something that can edit HTML files well. I use Adobe Dreamweaver CS4.

In : htdocs : Create a file called index.html or home.html - which ever is fine, i suggest index.html.

In index.html place this inside :
Code:
<html>
<head>
<title>Flux RPG</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>
<body background="BG.png" bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="Table_01" width="852" height="953" border="0" cellpadding="0" cellspacing="0" align="center">    
</table>
<div align="center"><img src="http://otland.net/images/sp_01.png" width="800" height="533"><div align="right"><a href="http://fluxrpg.no-ip.org/login.php?redirect=account.php">
</div><a href="http://fluxrpg.no-ip.org/news.php"><img src="http://otland.net/images/nav_01.gif" width="300" height="48" border="none"></div>
<div align="center"><a href="http://fluxrpg.no-ip.org/login.php?redirect=account.php"><img src="http://otland.net/images/nav_02.gif" width="300" height="47" border="none"></div>
<div align="center"><a href="http://fluxrpg.no-ip.org/forums"><img src="http://otland.net/images/nav_03.gif" width="300" height="55" border="none"></div>
<div align="center"><img src="http://otland.net/images/sp_02.png" width="664" height="267" border="none"</div>
<br /><div style="z-index:3" class="smallfont" align="center">Search Engine Optimization by <a rel="nofollow" href="http://www.crawlability.com/vbseo/">vBSEO</a></div>

<script type="text/javascript"><!--
window.google_analytics_uacct = "UA-7934637-1";
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
//-->
</script>
<script type="text/javascript"><!--
try {
var pageTracker = _gat._getTracker("UA-7934637-1");
pageTracker._trackPageview();
} catch(err) {}
//-->
</script>
</body>
</html>

What has to be edited :
CTRL - F - find the below.
Code:
<a href="http://fluxrpg.no-ip.org/news.php">
Just change the above, to your site news page or home page.

CTRL - F - find the below.
Code:
http://fluxrpg.no-ip.org/login.php?redirect=account.php
Change that to the URL of where accounts are created on your server.

CTRL - F - find the below.
Code:
http://fluxrpg.no-ip.org/forums
If your server has a forums, change the above to your forums URL.

Now if your server doesnt have a forums, and you want that link removed. Just CTRL - F :
Code:
<div align="center"><a href="http://fluxrpg.no-ip.org/forums"><img src="http://otland.net/images/nav_03.gif" width="300" height="55" border="none"></div>
<div align="center"><img src="http://otland.net/images/sp_02.png" width="664" height="267" border="none"</div>
and remove it.

Now in htdocs, create a new folder called images.
Or you can download mine, here.

I suggest you download mine, cause it has alot of the other needed images for the HTML. Than inside the image folder, just edit the images you want. Meaning the main splash image.

Anyways there you have it, it's fairly easy but for those who cant now you have it. If you need help let me know, dont forget to say thanks / rep.
 
How do I make it to the start page? so when they write name.mine.nu they will come directly to that page?
Now you come directly to the main website when you type name.mine.nu :/


I use gesior fixed v4~ if it helps xd
 
How do I make it to the start page? so when they write name.mine.nu they will come directly to that page?
Now you come directly to the main website when you type name.mine.nu :/


I use gesior fixed v4~ if it helps xd
Change name on your currently index.php to main
then put index as name on your splash page and make it redirect to main.
 
Thank you! working!
Now I just need a Header for my server xD not FluxRPG :/ ;D


Now when I click the Login button or create account button on the main website I'm redirected to the splash page..
 
Last edited:
Change name on your currently index.php to main
then put index as name on your splash page and make it redirect to main.

Looks good, I would like to you use it, could u please be more specific on how to make it work, thank you. ^_^

Ok i made it work.. but now..
whenever i get into the page, the images links are broken, so no images appear, help pls?

Ok, i got the images to work, now the link of my server, redirects me to the splash website again, it doesnt send me to the next page. any help pls?
 
Last edited:
Back
Top