Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Zane Matthew

    (@zanematthew)

    Hi,

    There’s isn’t a setting to disable registration, but you can try hiding it on the modal via css or returning nothing into the filter (which I’m not 100% certain if that will work).

    The CSS would look like this: .not-a-member-handle { display: none; } and .already-registered-handle { display: none; }.

    Let me know if that helps. Also I’d love to make this work better with BuddyPress, let me know if you have any suggestions, I’m open to ideas.

    P.S., We just released a Pro version of the plugin found here: https://zanematthew.com/products/zm-ajax-login-register-pro/ ??

    Thread Starter Northi

    (@northi)

    Hey,
    thanks for your quick reply.
    The css code disables to possibility to register with your plugin! Thats good and what i wanted! Thx 4 that.

    But if i hit the register button, the pop up window still appears.
    (but only to login yourself)
    Is it possible to link another page in that case?

    Plugin Contributor Diana

    (@dvk)

    Northi,

    Can you send us a screenshot or link to what you see so we can see your issue?

    We’d like to help you resolve the matter but it’s best for us to see what you see.

    Thanks,
    Diana

    Thread Starter Northi

    (@northi)

    Hi Diana,

    You can have a look at the website – click

    I use buddypress, like i said, and my problem is, that if you hit the “register” button in the adminbar on top, the pop up login window of your plugin zM Ajax Login & Register appeared. Instead only the registration page of buddypress should appear..

    Zane Matthews advice to hide the register function of your plugin works fine, but i also want to disable the linking.

    I hope you can help me with that! Thanks!!

    Plugin Contributor Diana

    (@dvk)

    Northi,

    Thanks for sharing it. I’ll be replicating the issue with a buddypress install and get back to you.

    Thank you for bringing this issue up.

    Sincerely,
    Diana

    Plugin Contributor Diana

    (@dvk)

    Northi,

    When you get a chance, look over this step by step. You had an excellent question and thought it would be best to show you how to resolve.

    Step by Step Tutorial

    Essentially, since BP comes already with a login functionality, there were only a few things you need to adjust in the admin dashboard. Try out the solution and let us know if it works.

    Thanks,
    Diana

    Thread Starter Northi

    (@northi)

    Hey again,

    thanks for the tutorial and your great support!! ??
    but thats not exactly what i meant :/

    Like i said, i still need the registration form of buddypress. I only want to disable the form of your plugin (this is done) but if i hit the register button i still get linked to your login form, not to the register form of buddypress…
    I want to get back to the buddypress register form, is it possible?

    Plugin Author Zane Matthew

    (@zanematthew)

    Hi Northi,

    I see what you mean, there isn’t a direct way to change the register link, but you can try this snippet of JS. This will redirect the user to the link you set. If your looking to load the BuddyPress registration form inside of the ALR modal that would involve more coding.

    $( document ).on('click', '.not-a-member-handle', function(){
        console.log('no');
        $('#ajax-login-register-dialog').dialog('close');
        location.href = 'https://google.com/'
    });
    Thread Starter Northi

    (@northi)

    ok, i will try it. where do i have to paste it in?
    functions.php?

    Thread Starter Northi

    (@northi)

    the code cursed errors in the functions.php, or where should i paste it?

    Plugin Author Zane Matthew

    (@zanematthew)

    Hi Northi,

    Thats actually JavaScript, its not PHP, apologies that it wasn’t clear. It should go in one of your JavaScript files. Also I updated it to include a semi-colon on the location.href line.

    $( document ).on('click', '.not-a-member-handle', function(){
        console.log('no');
        $('#ajax-login-register-dialog').dialog('close');
        location.href = 'https://google.com/';
    });
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘disable registration’ is closed to new replies.