Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How zem_contact_reborn 4.0.3.21 works with Textpattern 4.6.2
Hi,
just in case you missed it: This is the answer (thank you, Bloke).
I got an error with mysql_real_escape_string()
.
Go to Textpattern > Administration > Plugins > zem_contact_reborn:
Step 1: Search for function zem_contact
. Below (after the {
bracket), add $DB,
right after global
.
Step 2: Search for $nonce = mysql_real_escape_string(ps('zem_contact_nonce'));
and replace it with $nonce = mysqli_real_escape_string($DB->link, ps('zem_contact_nonce'));
Now zem_contact_reborn is truly reborn. :-)
Best,
Alex
Last edited by ar (2016-11-07 09:42:14)
Offline
Re: How zem_contact_reborn 4.0.3.21 works with Textpattern 4.6.2
Have you tried the new version?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: How zem_contact_reborn 4.0.3.21 works with Textpattern 4.6.2
Not yet. Did I understand correctly that it is more recommended for “fancier” stuff? Because I have just a really simple contact form (message, optional name, optional email, send button).
Offline
Re: How zem_contact_reborn 4.0.3.21 works with Textpattern 4.6.2
Hi ar, I found that the latest version of zcr was not compatible with txp 4.6.x. Stef’s recommended version works like a breeze.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: How zem_contact_reborn 4.0.3.21 works with Textpattern 4.6.2
ar wrote #302735:
“fancier” stuff?
Yes, fancier stuff like HTML5 tag support, along with a few new tags (select options) and developer callbacks. If you’re not using any HTML5 doctype, or just doing a really simple contact form, v4.3.20 is fine.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: How zem_contact_reborn 4.0.3.21 works with Textpattern 4.6.2
I am using zcr 4.5.0.0 with the spam patterns plugin but I have been recently getting spam from porn and loan sites.
Is there a way to stop this? (maybe through a word filter?)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: How zem_contact_reborn 4.0.3.21 works with Textpattern 4.6.2
colak wrote #309098:
I have been recently getting spam from porn and loan sites.
Well you need a loan to feed a porn habit, so what’s the issue? ;-)
Word filters are okay, but you spend a lot of time working around times when people use “Pay Day L 0 a n s”. adi_contact has some spam tools in it. Might be worth a look since you’re not using com_connect here.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: How zem_contact_reborn 4.0.3.21 works with Textpattern 4.6.2
Bloke wrote #309107:
Well you need a loan to feed a porn habit, so what’s the issue? ;-)
Hi did you know? :)
Word filters are okay, but you spend a lot of time working around times when people use “Pay Day L 0 a n s”. adi_contact has some spam tools in it. Might be worth a look since you’re not using com_connect here.
Thanks so much stef. I’ll look into it
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline