PDA

View Full Version : WPSubscribers vs Newsletter Plugin Wordpress



pdsgomes
05-14-2015, 11:34 AM
Hi,

Sorry for my poor english.

My webiste https://www.pedroalive.com has both WPSubscribers and Newsletter Plugin from http://www.thenewsletterplugin.com/?utm_source=plugin&utm_medium=link&utm_campaign=newsletter-extensions&utm_content=3.7.

If I use the widget from newsletter plugin everything works fine.

If I use, for example, custom opt-in code, which is present on this page: https://www.pedroalive.com/paydiamond-sala-de-conferencias-online/ It doesn-t work.

Please help,

Kind Regards
Pedro

Jean-Christophe Bisoux
05-14-2015, 04:15 PM
Hi,

I see what's the problem, but now I didn't find a solution.

WPS send 3 variables email, name and the button and your newsletter plugin don't like the button.

did you have a tutorial or a doc for the newsletterplugin ?

Regrads,
JC

Jean-Christophe Bisoux
05-14-2015, 04:24 PM
Hi,
can you try to add this in jquery custom


jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
function wprs_ref(){};


regards,
JC

pdsgomes
05-14-2015, 04:33 PM
Hi,
can you try to add this in jquery custom


jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
function wprs_ref(){};


regards,
JC

Sorry, newb here, where can I find that "Jquery custom"?

Pedro

Jean-Christophe Bisoux
05-14-2015, 04:51 PM
You re right, the custom optin code didn't have the jQuery custom ;(

In your theme, did you have an option to enter javascript code ?

JC

pdsgomes
05-14-2015, 05:01 PM
Ok Im using Sahifa and I added the code on a field that says this:

" The following code will add to the footer before the closing </body> tag. Useful if you need to add Javascript or tracking code. "

I have deleted the cache from WP Super Cache and Cloudflare.

Not working, same result :(

Pedro

Jean-Christophe Bisoux
05-14-2015, 05:06 PM
can you try this :



jQuery(document).ready(function(){
jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
function wprs_ref(){};
});


JC

pdsgomes
05-14-2015, 05:08 PM
Same result :(

pdsgomes
05-14-2015, 05:09 PM
I've added the code to a place on sahifa that says:

The following code will add to the footer before the closing </body> tag. Useful if you need to add Javascript or tracking code.

Jean-Christophe Bisoux
05-14-2015, 05:12 PM
It's seems sahifa didn't add the script tag, can you try this



<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
function wprs_ref(){};
});
</script>


JC

pdsgomes
05-14-2015, 05:15 PM
Im sorry, same result :(

Code Added:

<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
function wprs_ref(){};
});
</script>

pdsgomes
05-14-2015, 05:17 PM
Same result again :(

Thank you for your support.

Jean-Christophe Bisoux
05-14-2015, 05:32 PM
Arrgh I made a mistake, it's not wprs_ref but wps_ref
The code is


<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
function wps_ref(){};
});
</script>


cross finger ;)
JC

pdsgomes
05-14-2015, 05:36 PM
Arrgh I made a mistake, it's not wprs_ref but wps_ref
The code is


<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
function wps_ref(){};
});
</script>


cross finger ;)
JC

Fingers crossed :D , same result :(

pdsgomes
05-14-2015, 05:45 PM
No way :( same result again :(

Jean-Christophe Bisoux
05-14-2015, 05:51 PM
And with this ?


<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
});
function wps_ref(){};
</script>

Sorry for all this test

JC

pdsgomes
05-15-2015, 08:26 AM
And with this ?


<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
});
function wps_ref(){};
</script>

Sorry for all this test

JC

Same result.

Do not apologize, I do ask :)

Jean-Christophe Bisoux
05-15-2015, 08:38 AM
Hi,
Are you sure ?
I made a test and it seems it work, I have this page https://www.pedroalive.com/newsletter/?nm=already_confirmed&nk=19652-e2c66917ff (I'm already registered with the direct form)

Regards,
JC