disable registration
-
hey!
can i disable the registration function in your plugin?
i use buddypress and got a detailed registration there, so i got some conflicts with your short registration form ( some data of the new users are missing )Thanks!
-
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: http://zanematthew.com/products/zm-ajax-login-register-pro/ š
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?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,
DianaHi 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!!
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,
DianaNorthi,
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.
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,
DianaHey 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?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 = 'http://google.com/' });ok, i will try it. where do i have to paste it in?
functions.php?the code cursed errors in the functions.php, or where should i paste it?
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 = 'http://google.com/'; });
The topic ‘disable registration’ is closed to new replies.