inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Aug 17, 2018 2:26:09 GMT -8
Craig all you need is the word Register in the link, since the url is in the href section. Btw I tested what you had and it still went straight to the registration area due to the $[register_link]. The following will send the user wanting to register to the page. EDIT: You need to call the custom page something other than register to get it to work! <p id="welcome"> {if !$[current_user.is_member]} $[login_link] or <a href="/page/connect">Register</a>. {else} $[logout_link] {/if} Then at the bottom of the page, (or top if you prefer) you have the following to take the user to the actual registration page. <p id="welcome">$[register_link]</p>
|
|
#eb7100
1480
0
1
Dec 2, 2024 14:11:06 GMT -8
Craig
209,210
September 2001
cmdynasty
|
Post by Craig on Aug 17, 2018 2:46:54 GMT -8
Thanks nsclerr, i forgot to edit that bit.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Aug 17, 2018 2:59:46 GMT -8
Major Edit, (after some real world testing on my forum). If you have id="welcome" it comes up as not being able to find the page for some reason, but if you don't use it, then the page shows up fine. Works <p>{if !$[current_user.is_member]} $[login_link] or <a href="/page/connect">Register</a>. {else} $[logout_link] {/if} Doesn't work, as to why I have no idea. <p id="welcome"> {if !$[current_user.is_member]} $[login_link] or <a href="/page/connect">Register</a>. {else} $[logout_link] {/if}
|
|
#eb7100
1480
0
1
Dec 2, 2024 14:11:06 GMT -8
Craig
209,210
September 2001
cmdynasty
|
Post by Craig on Aug 17, 2018 4:03:44 GMT -8
It does not do that for me. Where did you do the testing, and could you implement it not working to see.
|
|
inherit
256059
0
Aug 29, 2018 0:04:44 GMT -8
ktforums
23
August 2018
ktforums
|
Post by ktforums on Aug 17, 2018 4:57:37 GMT -8
Craig all you need is the word Register in the link, since the url is in the href section. Btw I tested what you had and it still went straight to the registration area due to the $[register_link]. The following will send the user wanting to register to the page. EDIT: You need to call the custom page something other than register to get it to work! <p id="welcome"> {if !$[current_user.is_member]} $[login_link] or <a href="/page/connect">Register</a>. {else} $[logout_link] {/if} Then at the bottom of the page, (or top if you prefer) you have the following to take the user to the actual registration page. <p id="welcome">$[register_link]</p> Does this all go in forum wrapper? I've changed the page name to welcome. kettering.freeforums.net/page/welcome
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Aug 17, 2018 5:23:53 GMT -8
The first bit of code goes in your wrapper template and the <p id="welcome">$[register_link]</p> goes in your custom page.
****************** I had to remove the id="welcome or clicking the link would result in a page not found error. Found after some real world testing on my own forum.
Note: This may not be the case for your forum! ******************
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Aug 17, 2018 5:31:09 GMT -8
It does not do that for me. Where did you do the testing, and could you implement it not working to see. Testing was in my own forum and I have it set up in the default theme, click on the word Connect.
|
|
inherit
256059
0
Aug 29, 2018 0:04:44 GMT -8
ktforums
23
August 2018
ktforums
|
Post by ktforums on Aug 17, 2018 5:38:17 GMT -8
The first bit of code goes in your wrapper template and the <p id="welcome">$[register_link]</p> goes in your custom page. ****************** I had to remove the id="welcome or clicking the link would result in a page not found error. Found after some real world testing on my own forum. Note: This may not be the case for your forum! ****************** "<p id="welcome">$[register_link]</p>" in custom page just adds it to the actual page text.
I am having page not found issue too.
|
|
inherit
256059
0
Aug 29, 2018 0:04:44 GMT -8
ktforums
23
August 2018
ktforums
|
Post by ktforums on Aug 17, 2018 5:42:31 GMT -8
Put <p id="welcome"> {if !$[current_user.is_member]} $[login_link] or <a href="/page/welcome">Register</a>. {else} $[logout_link] {/if} in forum wrapper and still getting page not found.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Aug 17, 2018 5:42:42 GMT -8
|
|
inherit
256059
0
Aug 29, 2018 0:04:44 GMT -8
ktforums
23
August 2018
ktforums
|
Post by ktforums on Aug 17, 2018 5:51:58 GMT -8
It's messed up the nav bar now doing that. And still page not existing.
Seems to me it would be quicker for me to put a link to the page in my nav bar and get rid of the register bit in the wrapper altogether?
|
|
inherit
256059
0
Aug 29, 2018 0:04:44 GMT -8
ktforums
23
August 2018
ktforums
|
Post by ktforums on Aug 17, 2018 5:56:38 GMT -8
Had to put the code back to it's original state as it was just getting all messed up.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Aug 17, 2018 6:01:08 GMT -8
I see what you mean, btw you need to change it to <a href="/page/welcome">Register</a>.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Aug 17, 2018 6:04:19 GMT -8
Also it looks like the $[register_link] does not appear to be working on your custom page and needs to be changed to the following.
<p id="welcome"><a href="https://login.proboards.com/register/3668871">Register</a></p>
|
|
inherit
256059
0
Aug 29, 2018 0:04:44 GMT -8
ktforums
23
August 2018
ktforums
|
Post by ktforums on Aug 17, 2018 6:16:19 GMT -8
|
|