This topic has 32 replies, 8 voices, and was last updated 10 years by Abe.

  • Author
  • #2152
     bastkopf
    Participant

    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

    #2153
     bastkopf
    Participant

    Never 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.

    #2161
     SQadmin
    Keymaster

    You 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 solution
    #2167
     bastkopf
    Participant

    They are both switched on 😀 Another solution?

    #2168
     bastkopf
    Participant

    Never 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.

    #2174
     bastkopf
    Participant

    Dear 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

    #2237
     SQadmin
    Keymaster

    I have a quick fix for you. It will work with the 2.0 version. Add this to sweetdate-child/functions.php:

    COPY CODE
    
    
    add_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 solution
    #2238
     SQadmin
    Keymaster

    To 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 solution
    #2252
     bastkopf
    Participant

    I added it but nothing has changed. Do I have to change something else?

    #2255
     bastkopf
    Participant

    by 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 🙂

    #2268
     bastkopf
    Participant

    ha! 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 🙂

    #2361
     moonpick
    Participant

    I’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

    #2374
     SQadmin
    Keymaster

    You 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 solution
    #2385
     moonpick
    Participant

    Yes 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.

    #2416
     SQadmin
    Keymaster

    That 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 solution
    #2459
     moonpick
    Participant

    I 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!

    #2464
     bastkopf
    Participant

    Hi 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!!

    #2465
     bastkopf
    Participant

    or 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.

    #2527
     SQadmin
    Keymaster

    We 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 solution
    #2536
     bastkopf
    Participant

    Great! 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!

    #3350
     SQadmin
    Keymaster

    Hi, 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/6MRc

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #3375
     bastkopf
    Participant

    Hi 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 🙂

    #3463
     bastkopf
    Participant

    My mistake, works perfectly. Just had to assign the pages and everything was there. Thanks for that! You are awesome!

    #9017
     jonpaulb
    Participant

    Arrrggghhh…. 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>;

    }
    }
    ?>

    #9078
     wisinyyandel7
    Participant

    Hi @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.

    #9115
     Abe
    Keymaster

    Hi, 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.

    #10799
     studiblog
    Participant

    As 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.

    #10874
     Abe
    Keymaster

    Hi, 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.

    #10880
     studiblog
    Participant

    Thanks 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?

    #10881
     Abe
    Keymaster

    Sure

    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.

    #10882
     studiblog
    Participant

    Thanks. I copied the hole registration folder with register.php and activate.php to the child theme

    #12092
     rudik2
    Participant

    1. 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??

    #12392
     Abe
    Keymaster

    Hi,

    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 CODE
    
    
    	jQuery("#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.

Viewing 33 posts - 1 through 33 (of 33 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?