Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1609 2016-09-07 21:42:04

dorka
Member
Registered: 2012-10-04
Posts: 90

Re: zem_contact_reborn 4.0.3.20

Problem solved.
I wrote a line of js to add the desired attribute to the <input> tag after it’s been parsed. It works.

<head>
...
<link rel="stylesheet" type="text/css" href="../tpl/Bootstrap-datepicker/css/bootstrap-datepicker.min.css">  
...
</head>
<body>
<txp:zem_contact to="mail@thaimassagedejvice.cz" label="" show_error="1" copysender="1" thanks_form="thanks-for-mail" subject="Doručeno přes webový formulář">
...
	<txp:zem_contact_text label="Datum" class="zemText zemRequired" id="datepicker" name="datepicker" type="text"/> 
...
</txp:zem_contact>
...
<script type="text/javascript" src="../tpl/Onepage_fb_based/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../tpl/Bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
<script type="text/javascript">
	document.getElementById("datepicker").setAttribute("data-provide", "datepicker");
        $('#datepicker').datepicker(
		    clearBtn: true,
		    autoclose: true,
		    todayHighlight: true
	    );
 </script>
</body>

Offline

#1610 2016-09-14 22:06:02

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: zem_contact_reborn 4.0.3.20

Hi Ruud,

Upgraded We Love TXP from Textpattern 4.5.7 to 4.6.0.

The Submit form spits out this error in debugging mode:

Tag error: <txp:zem_contact to=“submit@welovetxp.com”> -> 8192: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead while parsing form sb-submit on page 3-col-portfolio

textpattern/lib/txplib_misc.php(1782) : eval()’d code:61 mysql_real_escape_string()
zem_contact()
textpattern/vendors/Textpattern/Tag/Registry.php:83 call_user_func()
textpattern/lib/txplib_publish.php:514 Textpattern\Tag\Registry->process()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php:4363 parse()
textpattern/publish/taghandlers.php:487 parse_form()
output_form()
textpattern/vendors/Textpattern/Tag/Registry.php:83 call_user_func()
textpattern/lib/txplib_publish.php:514 Textpattern\Tag\Registry->process()

Specs:
zem_contact_reborn TXP Community 4.0.3.21 Form mailer for Textpattern Yes 5 Help

Offline

#1611 2016-09-14 22:46:31

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,058
Website

Re: zem_contact_reborn 4.0.3.20

hcgtv wrote #301490:

Hi Ruud,

Upgraded We Love TXP from Textpattern 4.5.7 to 4.6.0.

Try upgrading to zem_contact_reborn 5.0 ?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#1612 2016-09-14 23:36:05

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: zem_contact_reborn 4.0.3.20

phiw13 wrote #301492:

Try upgrading to zem_contact_reborn 5.0 ?

Thank you, that did it.

Offline

#1613 2016-10-27 00:06:26

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,071
Website Mastodon

Re: zem_contact_reborn 4.0.3.20

getting this errr:

Tag error: <txp:zem_contact to="wpior@gmail.com"> ->  Notice: Undefined variable: lang while parsing form None on page default
zem_contact()

…. texted postive

Offline

#1614 2016-10-27 02:43:44

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,058
Website

Re: zem_contact_reborn 4.0.3.20

bici wrote #302506:

getting this errr:

Tag error: <txp:zem_contact to="wpiorgmail.com”> -> Notice: Undefined variable: lang while parsing form None on page default…@

That is an error that some have with ZCR 4.5.0.0 (only) if memory serves.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#1615 2018-01-18 18:15:02

neptho
Member
From: A cold, dark place.
Registered: 2006-02-01
Posts: 48

Re: zem_contact_reborn 4.0.3.20

Although this is ancient history-

I got bit by this recently when testing/upgrading 4.6.2 to run on PHP7. 4.0.3.20 has an inline mysql_real_escape_string() call.

I suggest everyone have a look at com_connect, if you haven’t already joined this decade. ;)

Offline

#1616 2019-09-03 13:47:31

husainhk
Member
From: Dubai, UAE
Registered: 2007-08-12
Posts: 105
Website

Re: zem_contact_reborn 4.0.3.20

Hi,

I am using an older version (4.0.3.20) of the plugin and the weird problem is that it doesn’t send emails if the from email is …@gmail.com. Works perfectly if any other email address is used for the sender.

Can someone help me understand why this is and if there’s a work around?

My textpattern version is 4.5.7 and hosted on Dreamhost.

Thanks.

Offline

#1617 2019-11-17 01:24:59

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,071
Website Mastodon

Re: zem_contact_reborn 4.0.3.20

what is the newest versions of contact forms to be used with aad_varuiables. I am now on the latest txp 4.7.3

when i tried updating from 4.5.5 i borked my site. i am now trying to restore my site back to using 455. before i try updating again.


…. texted postive

Offline

#1618 2019-11-17 01:45:15

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: zem_contact_reborn 4.0.3.20

Hey, @bici!

I’ve been using com_connect with recent versions of Textpattern, and it works perfectly.

You can find migration instructions here, and it’s pretty straightforward.

I hope this helps!

Offline

#1619 2019-11-17 04:25:13

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,071
Website Mastodon

Re: zem_contact_reborn 4.0.3.20

thank-you. i have my old site back-up and now i’ll try and upgrade again.

PS i have these plugins:

adi_contact
adi_variables
bot_privs
cbs_category_list
ebl-image-edit
ebl_write_page_email
rvm_if_this_article
upm_image
wet_native
zem_contact_lang
zem_contact_reborn

should i delete or disable all?

then add the new com_connect

Last edited by bici (2019-11-17 04:35:46)


…. texted postive

Offline

#1620 2019-11-17 05:11:28

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: zem_contact_reborn 4.0.3.20

It’s been a while since I used several of those plugins, and some are unfamiliar to me. Without testing each of them in your environment, I’m not sure which (if any) might cause trouble when you upgrade to the latest version.

In recent years, I’ve grown more deliberate in testing every single plugin every time I upgrade Textpattern. Gone are the days of 5-minute Txp upgrades for me. Of course you should make and verify backups before upgrading, but my practice is to test the upgrade on a staging server, and validate the functionality of each and every plugin (and complex customizations) before doing anything on the live server.

At a glance, I think some of those plugins may not work anymore, or else I’ve replaced them with native Textpattern functionality—but I’m not sure. Not a single one is used on my current active Textpattern sites.

Offline

Board footer

Powered by FluxBB