Welcome Guest [Log In] [Register]
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
Force portal as homepage
Topic Started: Jan 11 2009, 06:02 PM (498 Views)
Dasi Organo
Member
 *  
How do you force your Invisionfree board so that when you type in the url (http://z7.invisionfree.com/The_Jedi_Enclave) it goes to the portal? (http://z7.invisionfree.com/The_Jedi_Enclave/index.php?act=site)
Offline Profile Quote Post Goto Top
 
Kezzie
Member Avatar
Elle the elephant
 *   *   *   *   *   *   *  
This question appears to be about InvisionFree, not ZetaBoards. It's now been moved to the appropriate InvisionFree support section. Thank you.
Offline Profile Quote Post Goto Top
 
alvinonline
Member
 *   *   *  
You could add this to board's Javascript.
Code:
 
<script>
/*
Front Page as Portal v2.1
By Webworldx

*/
if(location.href.match(/\?\w+/) == null && document.referrer.match(location.pathname) == null){
if (location.href.match("index.php") == null && location.href.lastIndexOf("/") + 1 != location.href.length){
location.href += "/index.php?act=site"
} else {
location.href="index.php?act=site"
}
}
</script>
Offline Profile Quote Post Goto Top
 
Jonathan
Member Avatar


May I recommend the more up-to-date version of the code found here: http://if.invisionfree.com/topic/29406/

It contains compatibility fixed for Opera and FireFox. :)

Jonathan
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards Support & Galleries · Next Topic »
Add Reply