splash page

masterchief

Well-known member
I am interested in setting up a splash page via index.php and then have XenForo activated via splash page. How can this be done. My install is in the ROOT.
 
You can't have two files named index.php in the same directory/root.
It would have to be something like home.php.

Additionally, I believe someone else had problems trying to get this to work as the forum index was being loaded by default.

I'll see if I can find the thread.

Edit: Here's the thread, not the same but it discusses the same issue: http://xenforo.com/community/threads/installing-xenforo-in-root-dir-question.12643/
 
works great! I am gonna play around with this on my test install and then provide update. thank you again.

UPDATE: I now have home.php loading up... when I click on link to index.php, the home.php reloads itself
 
UPDATE: I now have home.php loading up... when I click on link to index.php, the home.php reloads itself.

As I am testing this on WAMP, probably need to work it out on my live site.
 
One way you could get around this would be to have xenforo in a sub directory instead of your website root. That way both directories can have index.php your splash page just clicks through to /whateverfolder/index.php
 
Try changing DirectoryIndex home.php to DirectoryIndex home.php index.php

I did say that there are problems with getting this to work.
Having multiple index files in the same directory is always a challenge to get working properly.
 
that does not make any sense to me... it is stated in FAQ that index.php filename cannot be changed. Obviously programming logic of XenForo relies upon existence of index.php and its contents in order to function properly. But on the other hand the htaccess can be used to totally disable the system with a DirectoryIndex setting. They are two separate entities and htaccess should not be affecting XenForo like that. This is somewhat limiting is it not?

OK, purged my system, did not mean to offend.
I don't think anyone was offended. Even being 2 seperate entities, when your webserver sees the the .htaaccess file it intercepts the call and forwards it, XenForo isn't doing that. A splash screen option within XF would be nice but we always have other options :D
 
Top Bottom