I just don't think there are that many spammers who are copying and pasting text into forms. Most spammers buy email addresses in bulk. YMMV of course.
Please feel free to modify AAQ in any way that works for your store.
Scott
I just don't think there are that many spammers who are copying and pasting text into forms. Most spammers buy email addresses in bulk. YMMV of course.
Please feel free to modify AAQ in any way that works for your store.
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
I agree about the spamming, most just use bulk e-mails to send crap. Well I've tried the mod and no luck. All I can think is I've added Subject to the Contact Us form, only way I can get it working is by adding the Configuration switch, looking at the code on Line 13 of the header_php.php it makes sense, as it checks is customer logged in (yes/no) and allow guest is false > goto login screen. So i'm gonna have to make them login to ask a question.
See the ongoing discussions on the Links Manager and Links Submit mod support threads. Looks like spammers are having fun submitting using those mods. But I am betting most are trying to get a URL posted (link spam) versus sending email spam.
Never the less, having an option to disable guests from submitting the AAQ/contact form would be good feature.
Or maybe I am missing something? That is, if I disable in admin the ability for guests to submit contact form, does this then also apply to submission of the AAQ form? If that is case, then my question/request has alseady been answered/fulfilled. ;)
Woody
In an attempt to answer my question I just searched through ZC 1.37 admin for this function, to allow enable/disable guests from submitting the contact form. But I could not find. I thought this was available in previous ZC 1.27 shop?
I did find under Config . Email Options > Allow Guest To Tell A Friend
but no method to Allow Guest to submit Contact form (or not).
So does ZC 1.37 not provide this option?
Woody
The new Ask A Question, in the downloads area, does not provide this option. I took all the extra configs out to simplify it. If you don't like it, add them back. I would encourage you to download the previous version, but it has somehow disappeared from the "older downloads" area.
Please feel free to modify this - or indeed any - contrib so that it meets the needs of your shop. That's kind of the idea behind open source.
Good luck,
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Submitting a link which could be seen by every user of a site (if no approval mechanism is used and moderation is lax) is completely different than submitting an email which will only be seen by one person.
Dealing with spam is part of the cost of doing business. If you force people to create an account just to ask you a simple question, you will lose customers. That having been said, if you want to operate in this manner, simply add the code back in.
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
I've narrowed down the problem i've got and hope you can help.
When I echo back the php code that is submitted it is not posting the email address entered. Instead the default text is displayed. Here's the echo result
$name = My Full Name
$email = Enter email address
$enquiry = My Message typed here
IF you login then it will work because it is picking up the email address from the database and not the form. I have looked in tpl_ask_a_question_default.php and can't see anything wrong??
<label class="inputLabel" for="email-address"><?php echo ENTRY_EMAIL; ?></label>
<?php echo zen_draw_input_field('email', ($error ? $_POST['email'] : $email), ' size="40" id="email-address"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<br class="clearBoth" />
OMG
Finally fixed it,
/lionblade_com/includes/templates/classic/templates/tpl_ask_a_question_default.php
There is a Missing line
</form> to close the form I added at the bottom before the </div> tag and work's now. Are you sure all your's work fine??
Nice catch. I'll post a new version shortly.
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Where do you control the placement of the ask a question button?
Namsingh,
Is your product page in a table? How did you make the ask a question aligned to with the other 2 buttons?
Thank you
Bookmarks