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
[CODE] Front Page Portal v2
Topic Started: Feb 23 2005, 08:50 PM (24,045 Views)
Darth Maul
Member Avatar
Sithlord
 *   *  
MraChakka
March 14, 2007 06:36 AM
J-Syxx
February 17, 2007 02:35 PM
Thanks, but that didn't work.  It took to me an erorr page when you do the code without editng in your address.

Anyone else?

If you use Firefox then there's your problem as this code doesn't work in that browser. I just went to your forum using IE and it worked fine though :)

I'm using Firefox and it works fine for me.
Offline Profile Quote Post Goto Top
 
MraChakka
Member
 *   *   *  
hmm, ok well everyone else I know that's running firefox it doesnt work. Maybe its something like Adblock or some install to your firefox that does this...
Offline Profile Quote Post Goto Top
 
bandit8003
Member
 *   *  
wats v1 and how is it different form it?
Offline Profile Quote Post Goto Top
 
MraChakka
Member
 *   *   *  
Its a bit buggier and I dont think you can get it any more...no point if V2 is better...
Offline Profile Quote Post Goto Top
 
hunny
Member Avatar
Member
 *   *  
i put the code in my footer but it didnt work :'( did i do something wrong?
Offline Profile Quote Post Goto Top
 
Andurin
Member Avatar
Member
 *  
Hmm it doesnt work for me neither... I placed the code first in the Java script part. There it didnt work, Then read and saw that I should have placed in the Footer >_< So I did that and still doesnt work...

When I got to my board url I get sent to 127.0.0.1 (Localhost adress, the adress of the network card - Some ICT information :P)

What did I do wrong? :P Is it a problem that I got 2 scripts in my footers?

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
 
glors
Member
 *  
Andurin
March 19, 2007 06:31 AM
Hmm it doesnt work for me neither... I placed the code first in the Java script part. There it didnt work, Then read and saw that I should have placed in the Footer >_< So I did that and still doesnt work...

When I got to my board url I get sent to 127.0.0.1 (Localhost adress, the adress of the network card - Some ICT information :P)

What did I do wrong? :P Is it a problem that I got 2 scripts in my footers?

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>

I'm getting the same problem..
Offline Profile Quote Post Goto Top
 
Lindadoc
Member
 *  
It is better to use it at the javascript section. At the footer it has a small problem. When someone log in or log out the page doesn't load and he has to do refresh.
Offline Profile Quote Post Goto Top
 
I Wanna Win
Member
 *   *  
How Can I Add The Things (Thread At The Front Page) Like The Ones Here In The Front Page?

This Is My It's Empty There. Here
Offline Profile Quote Post Goto Top
 
hunny
Member Avatar
Member
 *   *  
i used this code before and i took it off when my board got messed up now that i want it back it wont work!! do you know why this could be? :-/
Offline Profile Quote Post Goto Top
 
hunny
Member Avatar
Member
 *   *  
glors
March 19, 2007 11:11 PM
Andurin
March 19, 2007 06:31 AM
Hmm it doesnt work for me neither... I placed the code first in the Java script part. There it didnt work, Then read and saw that I should have placed in the Footer  >_< So I did that and still doesnt work...

When I got to my board url I get sent to 127.0.0.1 (Localhost adress, the adress of the network card - Some ICT information :P)

What did I do wrong? :P Is it a problem that I got 2 scripts in my footers?

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>

I'm getting the same problem..

this is my problem too
Offline Profile Quote Post Goto Top
 
I Wanna Win
Member
 *   *  
bumb
Offline Profile Quote Post Goto Top
 
Harrissy
Member
 *  
If you use Firefox, you must go to http://zX.invisionfree.com/yoursite

If you go to http://zX.invisionfree.com/yoursite/index.php? it will not work.
Offline Profile Quote Post Goto Top
 
aznflare
Member
 *  
Help! every time i try to go to my forum it said they couldnt find it.

heres my forum link http://z10.invisionfree.com/eminent_event
Offline Profile Quote Post Goto Top
 
GlamourHeart
Member
 *  
Where do you put the code?
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Code Snippets · Next Topic »
Add Reply