Plugin Author
Franky
(@liedekef)
#_RESPCOMMENT seems to work fine here … I tested both #_RESPCOMMENT and #_COMMENT
Are you sure you corrected the right mail template?
Also: blame wordpress for the br-issue (their visual editor removes br-tags …). I try to solve it in this logic:
– if you want html mail and the mail somehow already contains a br-tag, I don’t change anything (and assume you know what you’re doing)
– if it doesn’t contain a br-tag, I change all newlines to br-tags.
For the next version, I’ll add an option to always convert newlines to br-tags, that should help for most cases.
-
This reply was modified 8 years, 8 months ago by
Franky.
-
This reply was modified 8 years, 8 months ago by
Franky.
Just to be sure I added a “Booking Confirmation” title and also tried #_COMMENT but nothing shows. Fwiw I don’t think its saving the comments at all because when I look at the booking details there’s no comment in any of my tests.
Also when clicking [send my booking] the redisplay shows all the fields as previously entered but with the comment blank, if that helps.
Plugin Author
Franky
(@liedekef)
Ok, then the problem is not in the mail template, but in your rsvp form. Do you have an example? What is the template you use?
In my RSVP form I now see that it’s #_COMMENT not #_RESPCOMMENT. I put both in the form and after clicking Save Booking puts the same comment in both fields. So the problem is that #_RESPCOMMENT isn’t valid plus displays the same as #_COMMENT but doesn’t work as an output placeholder in that fashion
Still having problems with <b> though but fyi <p> </p> does the trick, pity theres no insert code button for paragraph. At least I’d say this is resolved. Thanks!
Great plugin even better support. Five star review coming up
<b></b><b></b>
<p>#_RESPFIRSTNAME(#_RESPEMAIL) will attend #_EVENTNAME on #_STARTDATE. They want to reserve #_RESPSPACES space(s).</p>
<b></b>
<p>Now there are #_RESERVEDSPACES space(s) reserved, #_AVAILABLESPACES are still available.</p>
<b></b><b></b>
<p>Comment:#_COMMENT</p>
<b></b><b></b>
<p>Yours faithfully,</p>
<b></b><b></b>
Events Manager
This produced the following email body
Booking Confirmation
([email protected]) will attend ANother test on 21st September 2017. They want to reserve 1 space(s).
Now there are 4 space(s) reserved, 46 are still available.
Comment:comment
Yours faithfully,
Events Manager
Plugin Author
Franky
(@liedekef)
Thanks, I think thats where I got #_RESPCOMMENT in the first place. I don’t really understand, when the same template is using #_RESPFIRSTNAME and #_RESPSPACES, for instance, why #_RESPCOMMENT doesn’t work and its #_COMMENT that does.
ie #_RESPFIRSTNAME(#_RESPEMAIL) … want to reserve #_RESPSPACES space(s).
Comment:#_COMMENT (instead of #_RESPCOMMENT?)
Whatever… its a foible that is solved for now. Many thanks
Plugin Author
Franky
(@liedekef)
In the mail #_RESPCOMMENT works as expected (and for backward compatibility I allow #_COMMENT there too). The doc only states #_RESPCOMMENT, so you should use that.
I disabled all my plugins and it worked fine, renabled them and still fine. Perhaps its to do with order of activation. Perhapsk Mailpoet or possibly WP User Frontend plugins had conflicting placeholders and perhaps now EME is winning!
it was actuall antispambee!
Plugin Author
Franky
(@liedekef)
Hmmmm … the next version will use AJAX form submit, and apparently antispambee doesn’t detect comment “spam” in that 🙂
If you are willing to test … otherwise you can wait for the next version to arrive very soon.
Wow, the usual response (from other plugins) is “don’t use the problem plugin” or “sorry we couldn’t help”
Its easy enough to test (I did it about 25 times with each plugin!) so yes I’d be willing to test.
Plugin Author
Franky
(@liedekef)
Cool, you can find the dev-version here:
https://ww.wp.xz.cn/plugins/events-made-easy/advanced/
(at the bottom, select “development version” and click Download)
I tested about all I could, so it should be production-ready …
I take it I must delete the existing plugin to install the development version?
Can I safely remove the old plugin without losing my events and settings?
Plugin Author
Franky
(@liedekef)
Yes, that is ok to do.
Edit: by removing I mean: just erase the content of the eme plugin subdirectory (wp-content/plugins/events-made-easy) and put in the new files.
-
This reply was modified 8 years, 8 months ago by
Franky.
Well using the new plugin didn’t fix the comment loss bug.
Also in creating a “minimum” event I left the seats as 0 and I was told there were no seats left when I tried to test the booking comments. So I needed to change that.
But the tell-tale seems to be that when pressing Send Booking, the comments field blanks (email confirms its absence).
I am using the dev link you sent which says v1.9.4 though there has been an intermediate update since I downloaded.