PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
rave41799
New Member
New Member


Joined: Oct 20, 2005
Posts: 9

PostPosted: Thu Oct 20, 2005 1:04 pm Reply with quote Back to top

I'm using phpnuke 7.6 and I have a splash intro page. What I want to do is load the html file first and let that intro play. After that, it'll go to the index.php file for my nuke site.

Does anyone know how to set this up? Is this something that has to be setup on the hosting side or is this something I can do coding wise?


Thanks!! Smile
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Oct 20, 2005 3:27 pm Reply with quote Back to top

Well your not that clear.. Sad

Do you have to source file of the splash page?..the .fla ?
If not....meaning...you CANNOT edit the flash file itself then you cantadd the command to jump to your index page.
So what do you have ?
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Oct 21, 2005 12:08 am Reply with quote Back to top

The easiest approach is hosting side. They have to setup your default pages to load index.html before index.php
View user's profile Send private message Visit poster's website
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1156
Location: Sanbornton, NH USA

PostPosted: Fri Oct 21, 2005 8:30 am Reply with quote Back to top

I want to mention that I HIGHLY suggest that webmasters avoid having an initial splash page. It is a well known fact that search engines get hung up on a default splash page and that can dramatically affect your ability to be indexed by them.

If you feel for some reason that you must have this function, I suggest that you name it index.htm (and not index.html) since if you ever want to have GoogleTap enabled, you'll find that you'll have a conflict.

In that case, you should have the default page load order be .htm, .php, .html

This will enable you to have the splash page as index.htm and your main files being index.php.

Then if you want to have a delay of a certain period before users are led to the index.php, you could always encapsulate it like this (if you don't code it right into your .fla file, which is preferred):
Code:
<meta http-equiv="refresh" content="N; URL=other-web-address">
inside the < head > section of the .htm page. N = The approximate number of seconds to wait before the user is automatically forwarded and the other-web-address = the destination. for example:
Code:
<meta http-equiv="refresh" content="20; URL=index.php">
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Fri Oct 21, 2005 9:22 am Reply with quote Back to top

well i wanted to post that first but i thought if the splash page is a movie that has to be played you can never use meta refresh cause you never know your visitors connection.
therefore you cannot set a time to "refresh" to the index file cause then it would be hard to tell when movie is finished playing..
but i agree with 64bit...if possible dont use a splash page..ive seen sites using them but they all took it out 1 or 2 months later.
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1156
Location: Sanbornton, NH USA

PostPosted: Fri Oct 21, 2005 9:35 am Reply with quote Back to top

Well, there are other ways to deal with this and in fact, not all browsers support the meta method; however, if they do, it should not start the timer until the page is fully loaded which is why I suggested that particular method... (meaning the animation would need to be completely loaded and start playing before the timer began)... At least that is my understanding of the benefit of the META method.

Another possibility is using the Header(Location: function, but again, same situation in that not all browsers support it and it would need to be wrapped around the content which can be tricky with multi-media files.

I would suggest that you instead simply hotlink the animation itself with an "a href" value so users can click on it to avoid the situation entirely; however again, I wouldn't use a splash page at all because of the reason outlined above... but that's just me.

Steph
View user's profile Send private message Visit poster's website
b14ze
New Member
New Member


Joined: Jul 22, 2006
Posts: 18

PostPosted: Thu Dec 03, 2009 10:55 am Reply with quote Back to top

Also with a flash splash page you can be vunerable to iframe virus?
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum