inherit
243591
0
Apr 11, 2017 16:54:09 GMT -8
moxiemanda
5
April 2017
moxiemanda
|
Post by moxiemanda on Apr 8, 2017 18:43:40 GMT -8
This may be a silly question, but I was wondering if it was possible to customize the link for the registration button when a forum is set to allow only registered members view its content.
I'm asking this because I am wanting to setup a forum to go alongside a service I'm offering - an ecourse - and I'd like the registration button to go to the purchase page. I don't want to have to redirect people attempting to register to the purchase page.
I appreciate any suggestions!
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Apr 8, 2017 20:18:41 GMT -8
You can replace the register link, if that works instead of customising it; how are you accomplishing registrations if the link is removed? The answer will allow me to better offer the best way to structure the solution.
|
|
inherit
243591
0
Apr 11, 2017 16:54:09 GMT -8
moxiemanda
5
April 2017
moxiemanda
|
Post by moxiemanda on Apr 9, 2017 13:29:09 GMT -8
The registrations are through a custom checkout page on another website (hosted by the ecourse platform).
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Apr 9, 2017 13:58:26 GMT -8
I'm hoping that means that you've copied the ProBoards link to register onto the custom checkout page and not that you'll be creating accounts for people, as the latter is against TOS.
Either way, if you go to admin > structure > layout templates and select the forum wrapper page, you should see the following starting on line 39:
<p id="welcome"> {if !$[current_user.is_member]} Welcome Guest. {if $[login_link] || $[register_link]} Please $[login_link]{if $[login_link] && $[register_link]} or {/if}$[register_link]. {/if} {else} <span>Welcome $[current_user.name].</span> $[logout_link] {/if} </p>
You will want to change these two lines:
{if $[login_link] || $[register_link]}
Please $[login_link]{if $[login_link] && $[register_link]} or {/if}$[register_link]
to this:
Please $[login_link] or <a href="http://yourlinkhere.com" target="_blank">Register</a>
|
|
inherit
243591
0
Apr 11, 2017 16:54:09 GMT -8
moxiemanda
5
April 2017
moxiemanda
|
Post by moxiemanda on Apr 11, 2017 15:34:52 GMT -8
Thank you, Kami!
No, I will not be creating accounts for people.
My main concern was if someone stumbled across the URL to the forum on accident, that they couldn't randomly register without first being a course participant. If they come across it, great, I just want them to know why it exists in the first place. I want only participants of the course to be able to register for the forum, so I'm basically trying to create a loop of access where it's only available for registration if you've signed up for the course. I hope that makes sense.
Within the course checkout process, we would provide the registration link so they could set up their account on their own.
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Apr 11, 2017 15:46:01 GMT -8
Thank you, Kami! No, I will not be creating accounts for people. My main concern was if someone stumbled across the URL to the forum on accident, that they couldn't randomly register without first being a course participant. If they come across it, great, I just want them to know why it exists in the first place. I want only participants of the course to be able to register for the forum, so I'm basically trying to create a loop of access where it's only available for registration if you've signed up for the course. I hope that makes sense. Within the course checkout process, we would provide the registration link so they could set up their account on their own. Oh, I see! Okay, so here is my suggestion.
Follow the instructions in my previous post to link the word "register" to your purchase URL.
Next, go to admin > settings > forum settings. Under the "login & registration" tab, set "disable registration" to yes. You will then see another option appear once you do so that allows you to input someone's email to send them an invite key. Then, you can use the email of the purchaser to directly send them a registration code; with this option activated, no one will be able to register unless they receive an invite key.
Does this help?
|
|
inherit
243591
0
Apr 11, 2017 16:54:09 GMT -8
moxiemanda
5
April 2017
moxiemanda
|
Post by moxiemanda on Apr 11, 2017 16:52:09 GMT -8
Okay, I figured out what that code you mentioned does - that's for if you have the forum public. I am specifically want to change the registration button on the page that appears when the forum is private. But with some google searches, it looks like I can't do that can I? 100drftest.proboards.com/ - that's the page I am talking about
|
|
inherit
243591
0
Apr 11, 2017 16:54:09 GMT -8
moxiemanda
5
April 2017
moxiemanda
|
Post by moxiemanda on Apr 11, 2017 16:54:09 GMT -8
Okay I just saw your most recent reply. Yes, that makes total sense and after I realized what registration link I was customizing with that code (which I'll keep in place), I was poking around in settings and saw that about restriction with the email invitation.
I think that's my best option for now. Thank you so much for your help!
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Apr 11, 2017 17:03:31 GMT -8
Glad you got it sorted! (:
Edit: Though if the forum is set to guests must log in, people cannot reach the purchase page.
My suggestion here is to turn that off, and set the categories & boards settings "who can view the board" and "who can access the board" to "members and staff".
That way people will see you have content available (but hidden to non-members) and the register link will take them to the purchase page.
|
|