inherit
189428
0
Jul 7, 2013 6:27:38 GMT -8
testpilotpete
32
February 2013
testpilotpete
|
Post by testpilotpete on Feb 11, 2013 6:00:00 GMT -8
Hey all, (i have posted in the support area but think thats the wrong place) I know the basics of coding ect but I wanted to know if it possible to redirect a guest of my page but have the home page as a home page for members?I know I can just setup the new page as home and run it that way, just trying to see if there is a way of making code of plugin do the work {if $[current_user.is..... type of thing.Hope this makes scene and maybe possible?Tpp
|
|
inherit
189428
0
Jul 7, 2013 6:27:38 GMT -8
testpilotpete
32
February 2013
testpilotpete
|
Post by testpilotpete on Feb 12, 2013 1:36:20 GMT -8
Bump, anyone?
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Feb 12, 2013 10:06:24 GMT -8
You can add something like this to your Forum Wrapper template:
{if !$[current_user.is_member]} <script type="text/javascript"> window.location = 'http://www.proboards.com'; </script> {/if}
This is also pretty trivial to accomplish with a plugin.
|
|
inherit
189428
0
Jul 7, 2013 6:27:38 GMT -8
testpilotpete
32
February 2013
testpilotpete
|
Post by testpilotpete on Feb 14, 2013 15:01:43 GMT -8
so that will make a member go from the home page straight to the forum page? sorry not having the best week
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Feb 14, 2013 15:26:36 GMT -8
That won't affect members at all. It will just redirect any guests to the url specified on the third line.
|
|
inherit
189428
0
Jul 7, 2013 6:27:38 GMT -8
testpilotpete
32
February 2013
testpilotpete
|
Post by testpilotpete on Feb 14, 2013 15:52:52 GMT -8
oo sweet thank you, will try it out now
|
|