Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Add Reply
Make portal home page?
Topic Started: Jan 5 2008, 12:33 PM (3,131 Views)
Deleted User
Deleted User

Is it possible to set the portal as a home page? As in when you go to the board index, it will go to the portal?
Is their a code for this either?
Quote Post Goto Top
 
sdwe96
Member Avatar
Member
[ *  * ]
I too would like to know if this is possible.
Offline Profile Quote Post Goto Top
 
sedragore
Member
[ * ]
Was wondering this as well....
Offline Profile Quote Post Goto Top
 
MojoMax
Member
[ * ]
Yeah me too.
Offline Profile Quote Post Goto Top
 
Victrixs
Member Avatar
Website Developer
[ *  *  * ]
hey mebe the old code might work I find alot of them do...
Offline Profile Quote Post Goto Top
 
Eureka
Member
[ *  *  * ]
I wonder why no one made a code for this already. Hmm, interesting indeed. <_<

Code:
 

<script>
/* Portal Home Page by Eureka of Divinity Coding [http://divinitycoding.net] */
if (!location.href.match(/index.php/i)&&!location.href.match(/\/site\//i)) location.href=main_url+"site/";var uri=main_url+"index/index.php";$("#logo a:eq(0)").attr("href",uri);$("#submenu a:last").attr("href",uri);$("#nav a:eq(0)").attr("href",uri);
</script>
Edited by Eureka, Jan 9 2008, 05:01 PM.
Offline Profile Quote Post Goto Top
 
finsofafrica
Member Avatar
Member
[ *  * ]
Eureka

I tried your code and it indeed works but it now wont let me off the portal page.I tried it in different areas like the footers etc and same result.Any reason what Im doing wrong
Offline Profile Quote Post Goto Top
 
MojoMax
Member
[ * ]
finsofafrica
Jan 9 2008, 10:42 PM
Eureka

I tried your code and it indeed works but it now wont let me off the portal page.I tried it in different areas like the footers etc and same result.Any reason what Im doing wrong
Same thing here
Offline Profile Quote Post Goto Top
 
Eureka
Member
[ *  *  * ]
It works for me. Try this:

Code:
 

<script>
/* Portal Home Page by Eureka of Divinity Coding [http://divinitycoding.net] */
if (!location.href.match(/index.php/i)&&!location.href.match(/\/site\//i)) location.href=main_url+"site/";var uri=main_url+"index/index.php";$(function(){$("#logo a:eq(0)").attr("href",uri);if(location.href.match(/\/site\//i)) $("#submenu a:last").attr("href",uri);$("#nav a:eq(0)").attr("href",uri);});
</script>
Offline Profile Quote Post Goto Top
 
MojoMax
Member
[ * ]
No it still does the same thing.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Coding & Modifications · Next Topic »
Add Reply