- Use self-closing tags to keep validators happy (thanks, jools-r).
- Fix for concatenated headers/line endings on some servers (thanks, hidalgo, Kjeld, Gallex, and phiw13).
- Add
replytoattribute.
- Fix a few PHP 8.x warnings.
- Load lang strings in a Textpattern 4.7.0-ish way.
- Add en language designators to Textpack (thanks, cara-tm).
- Introduce
<txp:com_connect_mime>for supporting HTML content. - Only display labels if they’ve been specified (thanks, dragondz and jools-r).
- Fallback on name if label is empty.
- Use ‘expire’ attribute value in deletion of old tokens.
- Sanitize field names so forms still submit if names contain spaces.
- Permit {Option label} syntax to specify empty select entry that validates
(thanks, phiw13 and colak). - Fix
<txp:com_connect_value>to actually match labels. - Remove use of deprecated EvalElse().
- Replace deprecated Txp core functions with Txp::get().
- Pass
$redirectinto delivery callback.
- Final Textpattern 4.6-compatible release.
- Update Composer installation.
- Add code syntax highlighting.
zcr_file_attachhas been renamed withext_prefix.- Documentation updates and typos.
- Rename to com_connect and put under community control.
- Fix zem_contact_options and labels. Thanks, trenc.
- Remove call to is_windows().
- Third party plugins can return error info.
- Remove unnecessary div in fieldset. Thanks, NicolasGraph.
- Add nl-nl and de-de Textpacks. Thanks, keesbran and rwetzlmayr.
- Replace
split()(deprecated since PHP 5.3) withexplode(). - Remove
zem_contact_mailheader()function, switch to using Textpattern’sencode_mailheaderfunction (Textpattern 4.0.4+). - Parse the
thanks_form. - Make email work when the mailserver requires the SMTP envelope sender (in Textpattern preferences page).
- Use “From: <email@example.com>” instead of “From: email@example.com” to avoid triggering Spamassassin rule.
- Add
body_formattribute. Not to be confused with the ladies’ sanitary product. - Add
class,expireandlabel_positionattributes. - Add
<txp:zem_contact_option />tag. - Add a host of HTML5 attributes to tags.
- Add
zemcontact.deliverycallback for enhanced mailing through other plugins. - Remove deprecated
buttonattribute in<zem_contact_submit />. - Add plugin Textpack, removing the need for separate zem_contact_lang plugin. Translations welcome!
- Escape
labelattribute values when showing the form in the browser (not in email, plain text there). - Don’t display empty input values in the email.
send_articlefunctionality revised, requiring changes when upgrading from earlier versions.- New language strings:
send_articleandrecipient(replacesreceiver). - Sets of radio buttons require the new
groupattribute. yes/novalues deprecated in favour of the Textpattern standard1/0values (yes/nostill work in this version).
- IDs
zemContactFormandzemSubmithave changed to classes to allow multiple forms per page. - New language strings:
form_used,invalid_utf8,max_warning,name,refresh,secret.
<zem_contact_radio />function added to enable the use of radio buttons (thanks Robert).- New attribute
button="yes"has been added to the<zem_contact_submit />function to enable the user to choose a<button>element output instead of the normal<input>element. - Fixed
isErrorfor the<zem_contact_select />function. - Reduced
returnto a single instance for those functions that usezemRequiredand thereby reduced the code a bit.
- Now has its own built-in API. This means that it can be linked to by other plug-ins. Information about how plug-in developers can do that is included in the Help text.
- Fixed a validation problem in
Strictrelating to theforattribute used in thelabelof theselectfunction. - Zem Contact Lang has also been updated to 0.02 with the addition of a new line
spam.
- Removes tags from the article when using the “Send article” functions.
- Requires separate zem_contact_lang plugin. This latest version now splits the language file out into a separate plug-in. You will need both for it to work properly.
- Help text has been looked through and any errors or ambiguities removed and formatting improved.
- Added information relating to localisation.
errorElementclassnow appended to labels, inputs and the textarea when errors relating to information entered into the form, or not entered, are output.- Added some styling information to the Help text to explain the relevant classes.
copysendernow usesBccinstead ofCc.
- Modified the way that
copysenderworks, in order not to display your address on the email.
- New attribute
copysenderadded. When set toyesa copy of the email will be sent to the sender’s email address as well as your own (thanks to Anura for explaining ‘concatenation’). - Fixed bug which stopped the
breakattribute working for the email<input>(thanks to jdykast for spotting that one).
- Error messages are output as a
<ul>so I have given the<ul>tag aclass="zemError". Now you can style the messages. - When
required="yes", labels will have a secondclassadded to them in the formclass="zemRequired $name"so that you can set an overall style forrequiredlabels as well as make individual adjustments where necessary. Whererequired="no", labels will continue to useclass="$name". - When
required="yes", a class=“zemRequired” is also added to the “input” so that you can style those in a different manner as well if you wish.
idadded to<form>. Now useszemContactForm.idadded tosubmitbutton. Now useszemSubmit.idadded tocheckbox. Now uses the value for label.classattribute added to all<label>tags. Will now use the same value as the label.
- Email
<input>box is now sizeable within the tag using thesizeattribute. - If an error is returned, entered values should be retained so they do not need to be re-entered.
- Bold text for
requiredfields has been removed. - “Send Article” now includes a link to the article in the email.
- Missing
/added for validation (Thanks Els).
- Includes tranquillo’s code for “Send Article” functionallity. You can now add a link to your individual article form which will, when clicked, open a form allowing your visitor to enter his/her name and an email address for a friend. They can also add an extra message if they wish. The article’s title and body will be included in the email automatically.
- Help text updated.
- A couple of minor bugs squished (should sort some of the
yes/noproblems out).
- Major changes to the help files.
- Please double-check your attribute names as several have changed. Also
on/offattributes now useyesandnoinstead of1and0.