joomlamailer.com

Tick Box not appearing in JomSocial

Tick Box not appearing in JomSocial

joomlamailer version:1.7
Joomla! version: 1.5
PHP version:
MySQL version:

I have jomsocial 2.2 I can see the tick box appeare on the STANDARD registration form, but nothing on the Jom Social registration. How do I get it to appear?

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Tick Box not appearing in JomSocial

Hi digitaldancefloor,

Most likely your template overrides the default html structure of the signup form, which causes the plugin to fail.

I received your email and replied to it.

Kind regards,
Pete

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Tick Box not appearing in JomSocial

I have fixed the issue on your site. Please try the registration and check if the subscriber is added to the MailChimp list.

The reason was that the language strings were changed in JomSocial 2.2 and therefore the plugin wasn't able to find the right place where to insert the checkbox.

This issue will be fixed in version 1.7.1

Kind regards,
Pete

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Tick Box not appearing in JomSocial

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Tick Box not appearing in JomSocial

Hello flatwebb,

The issue will be fixed once you upgrade to 1.7.1 which will be released soon. Please bear with us.

Kind regards,
Pete

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Tick Box not appearing in JomSocial

Same problem here - any chance you can divulge what needs to be done for the tick box to appear?  Spent ages trying to figure out what setting I had missed current_5415b5b9d6ee2/neutral

Ruth

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Tick Box not appearing in JomSocial

Hi Pete,

I tested the registration and I saw the tick box, however nothing gets added to Mailchimp. The process to add a user to Mailchimp when I confirm the registration does not seem to happen.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Tick Box not appearing in JomSocial

The plugin looks for a specific bit of HTML and then replaces it adding the checkbox code.  It didn;t work for me on Jomsocial 2.4.  The way I got around this is to add a piece of easily identifiable text to the jomsocial registration template - in my case "error-newsletter-signup", but an HTML comment would perhaps be better.  The modify the plugin to look for that.  I did that rather than modify the HTML search string as I think it's simpler and less prone to errors.

So, edit Jomsocial's register.profile.php through the admin panel in jomsocial->templates and add after the <form action tag at line 18

Code:


error-newsletter-signup

Edit the plugin file joomlamailermailchimpsignup.php and in the Jomsocial > 2.2 section at line 210 reduce the pattern to this single line:

Code:


$pattern = '/error-newsletter-signup/';

That worked fine for me.  If anyone from Joomailer is reading this I would suggest that asking the user to edit a template and add a tag, such as an HTML comment, is far better than trying to automate it by searching for unreliable strings.  That may not fit the Joomla plugin ideal, but where no actual hooks are on offer I think it's a better way.

All that said, thanks for a great mod!  Well worth dealing with one minor glitch.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: Tick Box not appearing in JomSocial

I have the same problem (no thick box) and I'm using Jomsocial 2.2.1 and Joomailer 1.7.2.
If anyone wants to test it look at' '.$this->handle_raw_url('http://multisite111114.historymakers.com.br') and try to register.

Administrator has disabled public posting. Please login or register in order to proceed.