Please Log in to join the conversation.
Please Log in to join the conversation.
As is.Do I copy the code exactly as is, or do I have to specify my own variables (e.g., [var4])?
Yes.This is two different actions in CB Actions?
No you don't need any CSS. It's just being used for the condition. It can be whatever you want. You just need to match it 1:1 in CB Auto Actions.For the Module Class Suffix — I don't have to create a specific style for it in the css do I? I can just come up with any name for it in the module? Does it need an underscore before it? Or can I just define a suffix PPNA?
That's because I didn't provide that scenario. The jQuery would need to be extended to add a parameter to the registration URL that you could pick up at registration to add the hidden input. Then you'd just check for the hidden input again.However, if someone creates an account from this module, it doesn't add them to the correct group.
The below actions will probably work for both scenarios.What do I need to set as the trigger (and to which action) so that someone who completes the registration from this specific module is automatically added to the additional groups?
$( '.cbLoginForm' ).prepend( '<input type="hidden" name="post_special_group" value="1" />' );
$( '.cbLoginForm #form-login-register > a' ).attr( 'href', $( '.cbLoginForm #form-login-register > a' ).attr( 'href' ) + '&special=1' );
$( '.cbRegistration > form' ).prepend( '<input type="hidden" name="post_special_group" value="1" />' );
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.