System - Joomailer Mailchimp Signup doesn't work

More
23 Sep 2010 20:52 #199 by RobertLM
Hello,

I have installed newest version of Joomailer, everything is working well except Signup plugin. So when people do registration, there is no "checkbox" or other option to subscribe for a newsletter. Do you know where should be my problem? I have everything setup well and enable, also I can't see my Lists in plugin configuration (groups included), I just can't subscribe people automatically during registration process and have no idea why doesn't work. Thank you for help!

Please Log in or Create an account to join the conversation.

More
23 Sep 2010 21:14 #200 by RobertLM
I have reinstalled Joomailer, and now I can see in plugin my Lists (included groups). But still can't see any options to subscribe for a newsletter on my registration page :(

Please Log in or Create an account to join the conversation.

More
23 Sep 2010 22:01 #201 by chris
Are you using the default Joomla registration? Have you enabled the plugin?

You also have to select a list in the plugin parameters and also any groups that you wish to display.

Please Log in or Create an account to join the conversation.

More
23 Sep 2010 22:25 #202 by RobertLM
Hi Chris,

thanks a lot for the answer. Yes, I use the default joomla registration (have installed K2, but don't use it) and I have plugin enabled. Also I have list selected. It's weird why it doesn't work on this page, I have tested on another website and was it working well. Can I put it kind of source code manualy to registration form or there is another way what I should do?

Please Log in or Create an account to join the conversation.

More
23 Sep 2010 23:10 #203 by chris
Hi,

Please replace the following (from line 328) in /plugins/system/joomailermailchimpsignup.php

$k2plugin = JPluginHelper::getPlugin( 'system' , 'k2' );

if (!$k2plugin && ($option == 'com_user' && ($view == 'register' || $view == 'user')))


with


$params = &JComponentHelper::getParams('com_k2');

if (!$params->get('K2UserProfile') && ($option == 'com_user' && ($view == 'register' || $view == 'user')))


This should fix the problem.

Please Log in or Create an account to join the conversation.

More
24 Sep 2010 07:20 #204 by RobertLM
Hi Chris,

thanks a lot for the message! You are great man!! I did what you wrote and now it's working, thank you!

Please Log in or Create an account to join the conversation.

More
24 Sep 2010 12:11 #205 by RobertLM
Actually, is it possible to put the code into any form?

For example if I have form made in ChronoForms where I'd like to add the option subscribe for our newsletter, where I have only email address required (not any user name needed) - I'd like to synch with MailChimp only that option to "subscribe to our newsletter" with user "email address" without registration on the website (only synch between website form and MailChimp). Thanks a lot!

Please Log in or Create an account to join the conversation.

More
24 Sep 2010 12:43 #206 by chris
Hi,

If you simply want the users to subscribe to your mailing list then a module like allChimpRegister may be more appropriate.

I'm not sure how Chronoforms works but we currently have no plans to integrate it.

Cheers,

Chris

Please Log in or Create an account to join the conversation.

More
24 Sep 2010 13:12 #207 by RobertLM
Hi Chris, thanks for the answer.

I know allChimpRegister, when you register through it, you have to confirm email sent by MailChimp and I don't like it.

What about.. if I put email address field with subscribe for the newsletter checbox (groups included) into the Article and then submit button. It may works? Can I use a part of source code from Joommailer to do this? Because I can create Form in php and shown it on the website as an article.

Please Log in or Create an account to join the conversation.

More
24 Sep 2010 14:02 #208 by chris
Hi Robert,

I'm sorry to hear that allChimpRegister isn't what you are looking for.

In order to achieve what you are suggesting you would need to create new functions in the com_joomailermailchimpsignup controller and model files and pass a different set of variables to them from your form. So let's say in your article you have your form with option=com_joomailermailchimpsignup and controller=joomailermailchimpsignup and task=yourfunction.

In the controller you would then define a function called yourfunction(). At this point you could either go to a function in the model to register the user or do it from the controller. The code that registers the user is in the model in a function called register_save. The reason you cannot just use the function register_save is because it goes on to the registration/update user profile process.

Another thing to consider is that having your users confirm is actually a good thing as it will stop you from getting complaints at a later date.

Please Log in or Create an account to join the conversation.