Page 1 of 2
WPSubscribers vs Newsletter Plugin Wordpress
Posted: Thu May 14, 2015 1:34 pm
by pdsgomes
Hi,
Sorry for my poor english.
My webiste
https://www.pedroalive.com has both WPSubscribers and Newsletter Plugin from
http://www.thenewsletterplugin.com/?utm ... ontent=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-s ... as-online/ It doesn-t work.
Please help,
Kind Regards
Pedro
Posted: Thu May 14, 2015 6:15 pm
by Jean-Christophe Bisoux
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
Posted: Thu May 14, 2015 6:24 pm
by Jean-Christophe Bisoux
Hi,
can you try to add this in jquery custom
Code: Select all
jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
function wprs_ref(){};
regards,
JC
Posted: Thu May 14, 2015 6:33 pm
by pdsgomes
Jean-Christophe Bisoux wrote:Hi,
can you try to add this in jquery custom
Code: Select all
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
Posted: Thu May 14, 2015 6:51 pm
by Jean-Christophe Bisoux
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
Posted: Thu May 14, 2015 7:01 pm
by pdsgomes
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
Posted: Thu May 14, 2015 7:06 pm
by Jean-Christophe Bisoux
can you try this :
Code: Select all
jQuery(document).ready(function(){
jQuery(".wps_submit").click(function(){jQuery( ".wps_submit" ).remove();jQuery(".wpsform").submit()});
function wprs_ref(){};
});
JC
Posted: Thu May 14, 2015 7:08 pm
by pdsgomes
Same result
Posted: Thu May 14, 2015 7:09 pm
by pdsgomes
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.
Posted: Thu May 14, 2015 7:12 pm
by Jean-Christophe Bisoux
It's seems sahifa didn't add the script tag, can you try this
Code: Select all
<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
Posted: Thu May 14, 2015 7:15 pm
by pdsgomes
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>
Posted: Thu May 14, 2015 7:17 pm
by pdsgomes
Same result again
Thank you for your support.
Posted: Thu May 14, 2015 7:32 pm
by Jean-Christophe Bisoux
Arrgh I made a mistake, it's not wprs_ref but wps_ref
The code is
Code: Select all
<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
Posted: Thu May 14, 2015 7:36 pm
by pdsgomes
Jean-Christophe Bisoux wrote:Arrgh I made a mistake, it's not wprs_ref but wps_ref
The code is
Code: Select all
<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
, same result
Posted: Thu May 14, 2015 7:45 pm
by pdsgomes
No way
same result again