-
Author
-
September 2, 2013 at 17:28 #2152bastkopfParticipant
Hi support,
I have a problem with the facebook integration.
2 things: when I insert my website address in to the facebook place, it says: address of the website mush use HTTP or HTTPS protocol. This is, so I assume, an error. What does this mean?And if I switch on the facebook integration in the sweetdate menu, no button shows up on my homepage at the register-form (I added my Facebook ID).
Could you help me out in this situation?
Thank you very much,
Phillip
September 2, 2013 at 17:33 #2153bastkopfParticipantNever mind the first problem, I forget to add http:// in front of my website.
But the second problem remains, The “login with facebook” butten is not there.
September 2, 2013 at 22:17 #2161SQadminKeymasterYou also have a setting in theme to enable Facebook registration, just after you switched ON the Facebook integration: Enable Registration via Facebook
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 2, 2013 at 23:04 #2168bastkopfParticipantNever mind, I thought the button would show up at the main register box, not just if I click on the sign up button at the top right. Is there a way to add the facebook button to this box? And as well (a little off topic here but fits from the content) is it possible to include a box that members have to check that they read the terms and conditions? Not just with the little sign up button but with the main form.
September 3, 2013 at 15:49 #2174bastkopfParticipantDear support,
It is great that you made the Facebook – signing up optional. Good decision. Question for that:
In my page (and in your demosite) you have the blue registration form on your homepage. Additional, there is the “sign up” button at the top right, together with the login button. The thing is now, if somebody wants to become a member, he will mostly use the big, supreme, easy to use registration box in the middle of the page rather than trying to find the “sign up” button at the top. But if this user uses this form instead of the “sign up button”, he wont see the option to use Facebook to sign in at all. Is it possible to integrate the “sign up with facebook” option somehow in the blue register form (without having it then in the search box for logged in members of course haha).
This goes along with my second question: If a potential member does not use the “sign up” button at the top left but the blue registration box, he wont see the required field “By signing up for [name of website], you agree to our terms and conditions as well as (to whatever other things :D)”. If I am not able to place this checkbox, connected with links to this pages into the blue registration box (again, but not in the search box for logged in users), then I can barely use it 🙁 I really hope you can give me a solution for this – but knowing the support here, I somehow have no doubt 😀Many thanks,
Phillip
September 4, 2013 at 19:17 #2237SQadminKeymasterI have a quick fix for you. It will work with the 2.0 version. Add this to sweetdate-child/functions.php:
COPY CODEadd_action('fb_popup_register_button_front', 'fb_register_button_front' );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 4, 2013 at 19:19 #2238SQadminKeymasterTo add extra fields to the registration form you should edit sweetdate/page-parts/home-register-form.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 4, 2013 at 20:53 #2252bastkopfParticipantI added it but nothing has changed. Do I have to change something else?
September 4, 2013 at 21:12 #2255bastkopfParticipantby the way, you said I could change the sweetdate/page-parts/home-register-form.php file to add new field for the terms and conditions. This file looks a little complicated, could you tell me which part I have to modify/copy and change? If yes, thanks 🙂
September 4, 2013 at 22:37 #2268bastkopfParticipantha! it worked, the update was not on yet. The facebook button is there! Thanks a million! Now just the terms and cond. and I am the most happy guy 🙂
September 6, 2013 at 01:05 #2361moonpickParticipantI’ve added this exactly as you said to both the theme and child theme but nothing happened, I’ve updated to 2.0? Any ideas? Thanks
September 6, 2013 at 07:25 #2374SQadminKeymasterYou only need to add it to the child theme. Also you gotta have registration and Facebook integration active. activate Facebook from Sweetdate -> Miscellaneous. Activate registration from Settings -> General
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 6, 2013 at 12:49 #2385moonpickParticipantYes I’ve added the Facebook integration, I get the popup with the register with facebook link if I click the “signup” button in the top right. But with the “Join us for Free” button it just goes to the regular registration page. Any ideas? Thanks for the help.
September 7, 2013 at 10:19 #2416SQadminKeymasterThat one is a button generated by a button shortcode from your Home page. Activating Facebook registration doesn’t mean it will replace normal registration and it is just another way of registering.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 8, 2013 at 11:07 #2459moonpickParticipantI added extra fields as you specified, but nothing shows up on the registration page.
Can you please explain how to do this because people won’t register if there is no Terms of Agreement. Or if possible, could you add a checkbox to the next update, as this is kind of important for a dating site, thanks!
September 8, 2013 at 22:21 #2464bastkopfParticipantHi support,
I have to re-open this matter again.
I realized that this isue with the displayed terms and conditions is bigger than I thought. What I mean is: If there is no checkbox (required!) on the blue registration box, people can just use the sign up with facebook button (you gave me the code to show the facebook button on the blue registration page before) and go around this checkbox! Unfortunately, there is a law demanding that people signing up have to click actively such a box in order to make sure that the developer of the webpage is not responsible for anything which happens.So what would be really nessessary would be:
To show a checkbox with “I have read the (link to terms and conditions) and the (link to privacy stuff).” on the blue registration box! Before clicking this box, it is not possible to use the sign in button or the facebook button you gave me the code for.And in a similar matter, clicking on sign up in the upper right, the pop up opens which just says Check our terms and conditions before sign up. If you familiar with our terms, go ahead click CREATE MY ACCOUNT button.
This needs a checkbox as well! Otherwise its not sure they read the TOC or they just use facebook to go around it (apparently in the facebook window which pops up to sign in, no such a checkbox appears).Please help me to make sure that in what way ever they sign up, they have to click a box to say they read everything. Please take a moment to give me a sufficient answer since my website stays and falls with this solved matter 🙂
Thanks a million guys!!
September 8, 2013 at 22:43 #2465bastkopfParticipantor possible as well, the first time a user logs in, he gets a pop up with the TAC and the privacy stuff where he has to click I agree.
September 9, 2013 at 19:49 #2527SQadminKeymasterWe will put a checkbox in the registration form and include it in the next update. We will keep you posted.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 9, 2013 at 21:27 #2536bastkopfParticipantGreat! Thanks a lot 🙂
If you can, please try to do it in a way that both, the registration box and the button at the top right is equipped with such a button to disable members from signing up via facebook without clicking this box 🙂This support is just great!
September 26, 2013 at 02:03 #3350SQadminKeymasterHi, We added the chekbox in the regiser modal in the 2.1 update.
To add it also in the homepage register form please add this to sweetdate-child/functions.php
http://d.pr/n/6MRcHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 26, 2013 at 15:21 #3375bastkopfParticipantHi Admin,
thanks for adding this.
The code snipped is not working, the box doesnt show up in the homepage register form. Can you check the code?Thanks 🙂
September 27, 2013 at 22:30 #3463bastkopfParticipantMy mistake, works perfectly. Just had to assign the pages and everything was there. Thanks for that! You are awesome!
January 3, 2014 at 09:40 #9017jonpaulbParticipantArrrggghhh…. Sorry to bring this back up. I was reading this post and copied the code (already had one working add_action). Obviously I screwed it up and now the home page wont show. Can someone take a look at this and tell me what I did? I have looked at it so many times I cant see straight even though I know there is an obvious error.
Thanks for Any help 🙂
<?php
add_action(‘user_register’, ‘kleo_pmpro_default_level’);
function kleo_pmpro_default_level($user_id) {
pmpro_changeMembershipLevel(6,$user_id);
}add_action(‘kleo_register_form_extra’, ‘kleo_home_register_tos’);
function kleo_home_register_tos() {
if( sq_option(‘terms_page’, ‘#’) != “#”) { ?>
<div class=”row”>
<div class=”five mobile-four columns”>
<label class=”right inline”>
<input type=”checkbox” class=”tos_register”>
</label>
</div>
<div class=”seven mobile-four columns”>
<small><?php _e(“I agree with the”, ‘kleo_framework’);?> “><?php _e(“terms and conditions”, ‘kleo_framework’);?></small>
</div>
</div>;}
}
?>January 4, 2014 at 12:53 #9078wisinyyandel7ParticipantHi @jonpaulb
I don’t know if it’s going to be helpful, but give it a try: http://phpcodechecker.com/
Paste the code in there.
I did and it shows me this:Error: There are 3 more opening curly braces ‘{‘ than expected
PHP Syntax Check: Parse error: syntax error, unexpected ‘?>’ in your code on line 9
if( sq_option(‘terms_page’, ‘#’) != “#”) { ?> “>
Note: I am not sure about this. Just double check.
Let me know how you go.
January 4, 2014 at 22:55 #9115AbeKeymasterHi, you have 3 missing brackets in your code. I modified it directly in our above code
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.February 10, 2014 at 18:17 #10799studiblogParticipantAs you know, you can register directly at yourdomain/register
How to place a checkbox there to accept the terms and conditions? (but then you have the problem that users have to accept it twice if they are redirected from the register form at the homepage) maybe it would be more intelligent to place a text there that links to the terms and conditions. I know i have to modify the register.php, but where to place this textlink exactly? I would say directly above/under the registration button.February 12, 2014 at 01:25 #10874AbeKeymasterHi, Add it in wp-content\themes\sweetdate\registration\register.php at line 249
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.February 12, 2014 at 02:21 #10880studiblogParticipantThanks a lot. Works fine. Is it possible to add the register.php also to the child theme, so that i don’t have to change it with theme updates? I don’t think so isn’t it?
February 12, 2014 at 02:22 #10881AbeKeymasterSure
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.February 12, 2014 at 02:29 #10882studiblogParticipantThanks. I copied the hole registration folder with register.php and activate.php to the child theme
March 6, 2014 at 13:40 #12092rudik2Participant1. Summa summarum what code i must paste in line 249 to be active field “Terms and conditions” in the register page?
2. In Polish law, i must add a area with ‘processing of personal data’ acceptable under terms and conditions.How to add one more area under term of condiotion (similar) in register page and register form??
March 10, 2014 at 16:11 #12392AbeKeymasterHi,
1. You must edit wp-content\themes\sweetdate\registration\register.php and at line 249 and add a custom Javascript code to check if it is checked.
You can adapt the code from the modal:COPY CODEjQuery("#register_form, #register_form_front").submit(function() { if (jQuery(".tos_register", this).length > 0) { if (! jQuery(".tos_register", this).is(":checked")) { alert('You must agree with the terms and conditions.'); return false; } } });
2. Register modal can be edited from : wp-content\themes\sweetdate\page-parts\general-register-modal.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.