jamesbenson
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] Widget Display ProblemsCan you show me an example please?
You can change the size of the boxes using CSS, usually your theme will define these so it’s not possible for the plugin to give control over them.Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] Errors on Pageno probs.
Please can you vote to say it works for you:
https://www.ads-software.com/extend/plugins/constant-contact-api/
This should help make the plugin more popular in the wp search results ??Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] Errors on PageThe fatal protocol error has been fixed, you can download the development version here:
https://downloads.www.ads-software.com/plugin/constant-contact-api.zipI’ll push a release when I have more time to test this fix works ok with other servers.
Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] Errors on Pagehmm, seems this might be a problem with the script then, 1and1 servers obviously do not like what it does.
Perhaps one of you guys would be kind enough to give me access to your 1and1 server to test?
I would only need access to the plugin files so I can do some testing and hopefully implement a fix, I’m afraid without doing this it will be impossible for me to fix unless I can replicate the problem elsewhere, but since I do not know what is causing it it’s simply not going to happen without.
If your willing to do this please get in touch directly:
https://justphp.co.uk/contact.phpForum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] Errors on PageI just noticed wp had altered the code above.
Please see here for the working example code:
https://integrationservic.es/cc-fread-test.txt
If you can rename the file with a .php extension, upload to 1and1 then access it through your browser and let me know what happens.The only solutions I can see for you guys are:
1.) Switch webhost providers.
2.) Get 1and1 to fix the problem, unlikely.
3.) Use the old plugin https://www.ads-software.com/extend/plugins/constant-contact-signup-form-widget/Note this old plugin is a hack on the CC script and as such is not supported by CC, also this method will soon be discontinued.
Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] Errors on PageAlso I find 1and1 response a little strange, if they know for sure it’s a scripting error why not give us a clue, surely if they know it’s a scripting error they would also know what the error was?
Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] Errors on Page1and1 are crap in my opinion. A fatal protocol error is generated by PHP when openssl is not compiled correctly and the error always refers to the fsockopen function to indicate an internal problem.
This error is usually because PHP has been compiled against the wrong openssl libraries, this usually means the server has more than one openssl installation, to fix this PHP needs re-compiling with the correct flag to the full location of the correct openssl libraries.
Chances are 1and1 cannot fix this because they use pre-compiled PHP packages that are provided by their OS vendor.Please run the below script and let me know what happens (this code is taken directly from the PHP manual).
<?php
$fp = fsockopen(“ssl://www.justphp.co.uk”, 443, $errno, $errstr, 30);
if (!$fp) {
echo “$errstr ($errno)
\n”;
} else {
$out = “GET / HTTP/1.1\r\n”;
$out .= “Host: https://www.justphp.co.uk\r\n”;
$out .= “Connection: Close\r\n\r\n”;
fwrite($fp, $out);
while (!feof($fp)) {
echo fgets($fp, 128);
}
fclose($fp);
}
?>If all goes well you will see output similar to this:
https://integrationservic.es/test.php
If a problem occurs you will see either an error or a blank white screen.Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] CSS for widgetThe widget has an enclosing div tag with a class name of “constant-contact-signup” if that helps.
Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] CSS for widgetThe widget does not define any custom CSS but this will be added in a later release, at the moment the signup form uses the default wp theme and works with other themes that support wp forms.
You can style this by looking at the HTML code, wp adds a bunch of classes and ID’s you can target with CSS in your custom theme.
Hope that helps.Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] Errors on PageThe script available from my website does not check the openssl extension actually works, problem is openssl can be installed but broken, suggest you send your webhost the following “Hi, I’m trying to use openssl through PHP but getting an SSL: fatal protocol error, please can you check openssl is correctly compiled into PHP”.
Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] Errors on Page@busterrhinos This problem means your web server is not compatible, you need openssl installed to make secure communications with the server.
@wilhud If you can find a way to communicate with a secure server without using PHP’s functions please do, it has to support PHP 4 and 5 to be accepted to the plugins code.
Thanks,
JamesIt’s not currently possible to insert the form into one post without touching some PHP code but this will be possible within a later release using shortcodes eg. {ConstantContactForm}.
If you have someone to edit your templates you could add something like:
if(is_post(123)):
// load the CC widget for post 123…
endif;Thanks, Try this one instead:
https://integrationservic.es/cc-test.txtForum: Plugins
In reply to: Trouble with emails with dash (-) for constant-contact-apiI think you need to ask constant contact, if the email is accepted fine in wp then it’s nothing to do with wordpress or the plugin and has something to do with constant contact.
The plugin does not validate the email address in the register form because wp does, in the widget it uses the wp is_email() function to validate the email address, which is the same as what the register form uses I think.
Maybe you can provide more info, like what error you receive?
Please let me know what constant contact say if you get in touch with them:
Forum: Plugins
In reply to: [Plugin: Constant Contact for WordPress] 404 errorYou can download the development version from here to fix this:
https://downloads.www.ads-software.com/plugin/constant-contact-api.zip