Read this thread
its from me JALOKIM

Post new topic  Reply to topic

Use Javascript to redirect to new URL

Written on Sun Jan 24, 2010 6:48 am

Doctor Inferno
Active Member
I'm suggesting that this site adds a javascript code to the home page and redirect all old traffic from tealeaf to the new Ego-One.


________________
   Bookmark and Share

Re: Use Javascript to redirect to new URL

Written on Sun Jan 24, 2010 6:40 pm

MrMario
Manager
I say yes.


________________
Ego-One's New Blogger
Helpful Links

|| News Blog || Features || Announcements || Resources || Want to have your own News Blog? Contact Me||
   Bookmark and Share

Re: Use Javascript to redirect to new URL

Written on Sun Jan 24, 2010 11:48 pm

Admin
Manager
You got a javascript to spare?


I know I'm supposed to lock out tealeaf... but havent had the time to create the redirector...
unless you got something up your sleave?
thanks

   Bookmark and Share

Re: Use Javascript to redirect to new URL

Written on Mon Jan 25, 2010 3:02 am

Dion
Expert Advisor
You'll need to modify the overall_header_new template to contain a short script and some minor text, both located between the BODY tag and the div class="pun" tag. Then edit the CSS to:
Code:
.pun {display: none ! important;}

Here's the script you'll need:
Code:
<script type="text/javascript">
setTimeout("window.location='http://www.ego-one.com'",5000);
</script>
and here's an example of the text you'll need:

Tealeaf Graphics is now Ego-One. Your browser will be re-directed to the new location in 5 seconds.

   Bookmark and Share

Re: Use Javascript to redirect to new URL

Written on Mon Jan 25, 2010 8:34 pm

Admin
Manager
dion your code doesn't work.
What ever I do on tealeafgraphics happens on ego-one too.
Don't think the domains are seperated properly.


I tried the code... opened tlg ... redirected me to ego-one but on ego-one I had the same message and it wan'ted to redirect to ego-one.

   Bookmark and Share

Re: Use Javascript to redirect to new URL

Written on Wed Jan 27, 2010 5:59 am

Dion
Expert Advisor
What happened to you shouldn't happen...unless forumotion messed up the redirect code in the tealeafgraphics.com header. And since that's what happened (the code I provided is the correct code for the application), I guess you'll have to live with incorrect Google Analytics stats until forumotion fixes the redirect code for you.

   Bookmark and Share

Re: Use Javascript to redirect to new URL

Written on Sat Feb 06, 2010 7:04 am

Cyberlord
Member
if this isnt solved yet ,you could go to

acp>general>forum address>personal domain

then you could select force redirection to ego-one.com Big Grin

I hope that helps

   Bookmark and Share

Re: Use Javascript to redirect to new URL

Written on Sat Feb 06, 2010 2:44 pm

Admin
Manager
Cyberlord wrote:if this isnt solved yet ,you could go to

acp>general>forum address>personal domain

then you could select force redirection to ego-one.com Big Grin

I hope that helps


yeah after all the js' failures I just went back to the domains page and noticed the option to auto redirect tealeaf

   Bookmark and Share

Re: Use Javascript to redirect to new URL

Written on Sun Feb 07, 2010 12:32 am

MrMega
I EGO
or you can just do this code on tealeaf: (go to the forum description and paste this in)

Code:
<META HTTP-EQUIV="refresh" CONTENT="0;URL=http://www.ego-one.com">


________________


[13:49:06] MrMario : Cold as hell at 3am
[13:49:29] Lunazero : Mario, hell is not cold
   Bookmark and Share

Post new topic  Reply to topic




Site powered by Forumotion
Copyright 2006-2010 | JalokimGraphics | EgoOne