no checkbox on registration page

More
19 Oct 2010 22:38 #351 by Joe028
I use Joomla, community builder, and cbsubs to manage a website. I can't seem to add the sign up option for my users at the registration page however I did enable the plugin: System - Joomailer Mailchimp Signup. Could anyone point me to documentation or help with this problem. Thanks.

I do get the field saying "sign up to our newsletter" in the user profile edit section, but it just won't show on the registration page. Thanks.

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

More
20 Oct 2010 16:37 #352 by chris
Hi,

Are you using a custom template for the Community Builder registration page or have you changed the way that it renders its templates in anyway? The way plugin works by searching for a certain part of the Community Builder HTML and then replacing it with itself and the extra checkbox HTML.

Cheers,

Chris

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

More
21 Oct 2010 03:01 #356 by Joe028
Well I don't modify the template at all, however I do allow separate registration pages for different plans that I have. When I go to a page that displays ALL plans available the newsletter signup checkbox does appear, however I can't use this page in my site. I need separate registration pages for separate plans.

I have taken a quick look at the joomailermailchimpsignup.php file. Is there a place in there where I could safely modify it and direct it to the respective sign up page?

Thanks

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

More
21 Oct 2010 03:10 #357 by Joe028
I looked a bit closer. Here is the url to one of my registration pages.
index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&do=displayplans&plans=6

I modified the plugin on line 51 and 175:
Code:
51: || ($option == 'com_comprofiler' && ( $task == 'pluginclass' || $task == 'userDetails' || $task == 'registers'))) 175: } elseif ($option =='com_comprofiler') { if ($task == 'pluginclass' || $task == 'registers') {

This seems to work just fine. Would this cause any problems in other areas of the component or plugin? Thanks a lot.

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

More
21 Oct 2010 12:53 #358 by chris
Hi,

This should be fine as long as the task that was on those pages is the same as the one that would be on the registers or profile pages. When the replacement is made, an extra hidden field called "oldtask" is added to the page. This contains the task that Community Builder is to perform once the Joomailer Mailchimp Signup component process has finished.

On the default registration page the hidden task is "saveregisters" and on the edit profile page it is "saveUserEdit". The only problem I could see is if your other pages did not have one of these hidden tasks but if you say it is working then they must do.

If you do run into any problems please get back to us here.

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

More
22 Oct 2010 07:01 #363 by Joe028
I guess it doesn't work after all. When a user signs up they go to the normal "Thank you" page, however there is also a line at the top that reads "Please log in or register to view or modify your profile." So something is not working properly. Also when the user subscribes to the email list, they are not actually added to the list.

I did see the hidden task's that you mentioned in the plugin.

On a side note. Could you point me to documentation or explain the known issue of slow profile loads with lots of subscribers? At how many subscribers is slow profile load noticed?

Thanks again.

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

More
22 Oct 2010 13:09 #367 by chris
The way the registration plugin works is that it only subscribes the user to the list once they have clicked the activation link in their activation email. If you have disabled email activation then this won't work.

The profile we are talking about is the user profile within Joomailer. It was loading slowly when a user had been sent about 10 campaigns and those campaigns were sent to about 5,000 people each. It has nothing to do with the normal user profiles.

Cheers

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