Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
It's possible it's just not simple.I upgraded my subscription to get this plug-in based on your initial reply to my question because you indicated it would be simple for the Auto Actions plug-in to accomplish this task. Now you're telling me it's either not easy or not possible?
Because that's not how code works. The login form is client side. When it's submitted it's sent server side. You need a way of determining service side that the form they submitted is the one you want to give them a usergroup for. The way to do this is to send a variable with the form that you can check in CB Auto Actions. The below for example should allow for this after logging in with your specific module.Why do I have to modify templates? Why can't I just append the code to that URL so when someone uses THAT log-in form to register or log in, it triggers the auto action and they're added to the new group?
$( '.cbLoginForm' ).prepend( '<input type="hidden" name="special_login" value="1" />' );
Please Log in to join the conversation.