Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#445 2008-10-08 15:22:33
- Emilw
- New Member
- Registered: 2008-10-01
- Posts: 4
Re: zem_contact_reborn 4.0.3.20
My webhost is looking at the problem. I’m not using a 3rd party email server, its all at my webhost.
I’m not at windows either. The site is on FreeBSD.
I think its something with my webhost, can’t send mail with only the PHP mail() function to this sub domain address either:
<?php
mail("name@city.example.com", "subject", "message");
?>
I’ll see what the webhost finds out. Thanks for your help.
Offline
#446 2008-10-10 17:04:24
- dreamer
- Member
- Registered: 2007-06-08
- Posts: 242
Re: zem_contact_reborn 4.0.3.20
In regards to the <txp:zem_contact_select /> tag, is there a way to increase the width of the dropdown so that the text inside the dropdowns don’t look so bunched up?
Offline
#447 2008-10-10 17:14:37
Re: zem_contact_reborn 4.0.3.20
Dreamer –
From my experience the drop down expands to fit the width of the widest text in it. You can style the text in the dropdown with CSS (class .zemSelect). You may just need to set it to inherit the font properties of its containing element, especially if you have used a reset stylesheet which is removing any of the browser’s formatting from the select.
Offline
#448 2008-10-11 07:40:40
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: zem_contact_reborn 4.0.3.20
I’d like to have a “Report this comment” link next to each comment which when clicked redirected to a page that has zem contact on with a hidden field auto filled with the url of the comment. Anyone done this or know if it’s poss.
Offline
#449 2008-10-12 21:24:59
Re: zem_contact_reborn 4.0.3.20
Hello zem_contact_reborn developers,
I’m currently writing a Mollom plugin for Textpattern and I wanted to integrate it with the zem_contact_reborn antispam API. However, I faced a big problem with this API: it does not allow to reload the form.
For example, think about a captcha plugin. If the user enters the wrong captcha, should we flag the mail as spam? Of course not! We should give the user one more chance to answer the captcha and show him the filled form again instead of “We do not accept spam”.
So you need to provide a way to display the filled contact form again with an optional informative message like, in this case, “Your answer to the captcha was incorrect. Please try again.”.
Please implement this for the next version. If you want, I can do it and write some documentation if you give me access to some SVN server (I’ve already written many textpattern plugins so you can judge my skills). Thank you.
Last edited by cbeyls (2008-10-12 21:28:17)
My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)
Offline
#450 2008-10-12 22:33:25
Re: zem_contact_reborn 4.0.3.20
lee wrote:
I’d like to have a “Report this comment” link next to each comment which when clicked redirected to a page that has zem contact on with a hidden field auto filled with the url of the comment. Anyone done this or know if it’s poss.
You can make some link with GET
paramert, where the URL of comment would be stored, and th new page just output this GET variable into hidden field, AFAIK zcr know hidden fields and can work with server variable such as GET
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#451 2008-10-13 14:49:25
Re: zem_contact_reborn 4.0.3.20
I’ve got another request for the plugin: Could you make it possible for a zem antispam plugin to use getSecret() like in the Textpattern comments antispam API? Currently zem_contact_reborn creates a nonce and stores it in the DB but does not use a secret.
I’m passing some variables in a form and I need the secret value to compute a MD5 hash of values + secret in order to detect if the form values were altered by a malicious spammer. I find this more convenient than creating a special database to store temporary session variables (it’s slower, you need to create an additional table and clean up the old data, and so on).
My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)
Offline
#452 2008-10-13 15:36:29
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: zem_contact_reborn 4.0.3.20
lee wrote:
I’d like to have a “Report this comment” link next to each comment which when clicked redirected to a page that has zem contact on with a hidden field auto filled with the url of the comment. Anyone done this or know if it’s poss.
then the_ghost wrote:
You can make some link with
GET
paramert, where the URL of comment would be stored, and th new page just output this GET variable into hidden field, AFAIK zcr know hidden fields and can work with server variable such asGET
I did something like what the_ghost is suggesting with a combination of the chs_if_urlvar and asy_wondertag plugins. Instead of passing the article URL as a GET
variable, I passed the article ID #. I then used the <txp:article_custom />
tag as an attribute value for a ZCR tag in order to put the relevant article’s title into the subject field of the contact form.
You can see the result by clicking the “contact us for details” link on the Kentucky Derby item listed here (please don’t send the message unless you really want to inquire about the auction item).
In your case, you could send both the article ID and comment ID as GET
variables. This would avoid sending an URL as a variable, which has security implications.
Offline
#453 2008-10-14 18:57:15
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: zem_contact_reborn 4.0.3.20
Thanks very much guys.
Offline
#454 2008-10-24 14:18:09
Re: zem_contact_reborn 4.0.3.20
I’m using 4.0.3.20 of contact_reborn and experiencing a strange problem!
When the form is embedded in an article I do not get the thank you message displayed when the form is submitted – just a blank form. I’ve checked the page source and there’s nothing in there at all.
Apart from that – the email is being received ok.
If I put the form code into a page – then it works as expected.
Any ideas what could be surpressing the display of the message?
Also – any future support for file uploads sent as attachements to messages (to support a contact for allowing people to submit their CV’s!)
Doug.
Offline
#455 2008-10-26 18:25:45
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: zem_contact_reborn 4.0.3.20
I just found out that for a couple of sites, that have a gmail address set as the ‘to’ address, the mails are not received anymore. There is no error when a message is submitted, the thank you message displays as usual. The email just never arrives. (No, they are not in gmail’s spam folder either, nor are there any filters that could affect these mails.) I don’t know exactly when it changed, the last mail that got delivered was about a week ago. I didn’t change anything on those sites. Both sites are with the same host, on the same server.
Any clues where to look? I can’t find anything in the error logs, and in the access logs my attempts to submit the mail form look like "POST /kontakt/ HTTP/1.1" 200 5141
so that doesn’t look wrong either.
Offline
#456 2008-10-26 18:50:51
Re: zem_contact_reborn 4.0.3.20
If sending to other email addresses does work, you’ll want to check the mail server logs for clues.
Offline