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,130 Views)
finsofafrica
Member Avatar
Member
[ *  * ]
Works like a charm now for me as well! Thanks for the extra work!

Derek
Offline Profile Quote Post Goto Top
 
MojoMax
Member
[ * ]
Works perfectly thanks a lot Eureka :D
Offline Profile Quote Post Goto Top
 
finsofafrica
Member Avatar
Member
[ *  * ]
Hey Eureka

How are ya

All of a sudden this code is not working for me again.I have not changed anything on my end.Can you help
Offline Profile Quote Post Goto Top
 
DAEnaya
Member Avatar
Member
[ * ]
Thanks for the code Eureka! I had trouble with this code not working right in IE7. Putting in the //<![CDATA[ line made stop redirecting back to the portal whenever I clicked on Forum Home in IE7. This code works good for me placed at the top of the Javascripts box. Placing it anywhere else would bring one to the index first and then redirect to the portal and I didn't like that.

Code:
 
<script>
/* Portal Home Page by Eureka of Divinity Coding [http://divinitycoding.net] */
//<![CDATA[ if (location.href.match(/index\/?$/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:contains('Forum Home')").attr("href",uri);$("#nav a:eq(0)").attr("href",uri);});
</script>
Offline Profile Quote Post Goto Top
 
Sarge77
Member
[ * ]
Ok it works fine, but how would i add stuff to my portal, sorry if this is a newb question im new to free boards
Offline Profile Quote Post Goto Top
 
hahk
Member Avatar
Ike Sensei
[ *  * ]
The code isn't working for me :/
Offline Profile Quote Post Goto Top
 
FreeLand
Member Avatar
Freelander
[ *  * ]
I'd also like to have this option. Any plans for this in the near future?
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Coding & Modifications · Next Topic »
Add Reply