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:
Locked Topic
[Solved] Portal Front Page
Topic Started: Mar 5 2009, 08:13 PM (261 Views)
Sarbear_83
Member
 *  
How do you make the Portal the front page of the forum so members see that first?

Autobase Australia
Offline Profile Goto Top
 
Aussie_Bill
Member
 *  
Board wrappers

put this code in the Javascript section



Quote:
 
<script type="text/javascript">
/*
Front Page as Portal v2.5
Created by iFusion
*/

var loc = window.location
if(document.referrer.match(location.pathname) == null && loc.href.match(/\?[\&\w+|\w+]/) == null){
var strPos = "";
if(loc.href.match(/index.php(\?|)/i) != null){
strPos += (RegExp.$1 == "?") ? "" : "?";
} else {
strPos += ( (loc.href.lastIndexOf("/") + 1 == loc.href.length) ? "" : "/") + "index.php?";
}
loc.href+=strPos + "act=site"
}</script>




I just tried it on our board and it worked ;)
Offline Profile Goto Top
 
Sarbear_83
Member
 *  
Sweet Thanx XD
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards Support & Galleries · Next Topic »
Locked Topic