My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
The SPAM protect is still not working, sorry to say. The code on the header form is thus:
(NOTE: using image to contact and not the default contact form)Code:<div id="contact_form"> <div class="message"> <div id="alert"></div> </div> <form method="post" action="http://www.renaissancemaninc.com/index.php?main_page=image_to_contact&action=send&zenid=17087889666c36ed2151973644aaac92" name="contact_us"> <input type="hidden" value="6d755eafc0219033a7bf168f3fed4a25" name="securityToken"> <label for="contactname"> Name <span class="required"> *</span> </label> <input id="contactname" type="text" value="" size="30" name="contactname"> <br class="clearBoth"> <label for="email"> Email <span class="required"> *</span> </label> <input id="email" type="text" value="" size="30" name="email"> <br class="clearBoth"> <label for="enquiry"> Message <span class="required"> *</span> </label> <textarea id="enquiry" rows="3" cols="40" name="enquiry"></textarea> <input id="CUAS" type="text" autocomplete="off" style="visibility:hidden; display:none;" size="40" name="should_be_empty"> <div class="form_buttons"> <input id="submit" class="button" type="submit" value="Submit"> </div> </form>
Code on the Image to Contact page thus:
Still not sure if it's a CSS reference missing or what.Code:<div id="bandSignupDefault" class="centerColumn"> <h1 id="bandSignupDefaultHeading">Contact/Estimate Request</h1> <form enctype="multipart/form-data" method="POST" action="http://www.renaissancemaninc.com/index.php?main_page=image_to_contact&action=send" name="image_to_contact"> <input type="hidden" value="6d755eafc0219033a7bf168f3fed4a25" name="securityToken"> <address> <div id="bandSignupContent" class="content"> <fieldset id="bandSignup-Info"> <legend>Contact/Estimate Request</legend> <div class="alert forward">* Required information</div> <br class="clearBoth"> <label class="inputLabel" for="first_name">Full Name:</label> <input id="contactname" type="text" size="40" name="contactname"> <span class="alert">*</span> <br class="clearBoth"> <label class="inputLabel" for="email_address">Email Address:</label> <input id="email-address" type="text" size="40" name="email"> <span class="alert">*</span> <br class="clearBoth"> <label class="inputLabel" for="phone_number">Phone Number:</label> <input id="phonenumber" type="text" size="40" name="phonenumber"> <br class="clearBoth"> <label for="enquiry"> Message/Project Description: <span class="alert">*</span> </label> <textarea id="enquiry" rows="7" cols="30" name="enquiry"></textarea> <input id="CUAS" type="text" autocomplete="off" style="visibility:hidden; display:none;" size="40" name="should_be_empty"> </fieldset> <fieldset id="bandSignup-Payment"> <legend>Project Images</legend> (2MB Max - free resize tool available <a target="_newbrowser" href="http://www.picresize.com/">here</a> .) <div id="org_div1" class="file_wrapper_input"> </fieldset> <div class="buttonRow forward"> <input type="image" title=" Send Now " alt="Send Now" src="includes/templates/renaissance3/buttons/english/button_send.gif"> (please be patient for image uploads) </div> <div class="buttonRow"> <a href="http://www.renaissancemaninc.com/index.php?main_page=index"> </div> <br class="clearBoth"> </div> </form> </div>
I haven't seen/found a clear explanation of HOW to css-driven antispam works, but my guess is that the CSS is simply hiding a field from human users, which will be auto-filled by spam robots and caught by the php file. In which case, I'm not sure what is not working with the above code, unless there's something in the DIV(s) containing the form that do something.
It doesn't appear that the ID (CUAS) of the hidden form is actually being rendered or used anywhere else in the packages code.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Yes, but in this case the css-driven spam protect seems to be working on the contact page, but not in the header form, so I think I'm doing something wrong. Does anyone know if it's possible that the containing div's are involved in the spam protection? Doesn't look like it from what I can see.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Good question. I'm just conjecturing that since the SPAM began when I uploaded the new template (and it's been nearly 10 in 12 hours, up from none in months), that it is coming through the new form. For now, I've disabled the mini-header-contact-form so we'll see what comes in (or doesn't) over the next 24 hours.
I've been slowly building a replacement for my live site using Sheffield Blue as a base. I'm at a point right now where I've been going back through and redesigning most of my forms to make them more responsive. I had some older mod forms not using the new spam idea and recoded with the spam code. I also modifed the mega menue contact form so when it fails it plays nice with the changes I'm doing on the normal contact us from.
I added a hidden subject so I know where the message came from... maybe you will find it usfull, I've tested the mega menu and it's behaving as expected... the input field is tracking back and getting cought by the main code.
Code:<br class="clearBoth" /> <label for="enquiry">Message<span class="required"> *</span></label> <?php echo zen_draw_textarea_field('enquiry', '40', '3', $enquiry, 'id="enquiry" class="required" required="" type="text"'); ?> <?php echo zen_draw_input_field('should_be_empty', '', ' size="10" id="CUAS" style="visibility:hidden; display:none;" autocomplete="off"'); ?> <?php echo zen_draw_hidden_field('subject', 'From MegaMenu', ' id="subject"'); ?>
Dave
Always forward thinking... Lost my mind!
I used Zen Cart back in 2006, but have had no need of it since 2008 - until now
I have installed this template but want to remove the Social Sidebar.
In the instructions it says
I do not have this file - so assume it is referring to /includes/templates/sheffield_blue/css/stylesheet_social_sidebar.css.In your favorite plain text editor open includes/templates/sheffield_blue/css/stysheet_social_header.css
At the bottom of the file add display:none; to the class for each icon you don't want to display.
However modifying this does not seem to remove (hide) the sidebar.
This is what I tried
I also tried it without the '-sh' as this is excluded in the example in the instructions - this didn't work either..sidebar{background:#e3e9ff;-moz-border-radius:10px;border:3px solid #bbccff;position:fixed;cursorointer;}
.sidebar-words{color:#000000;font-weight:bold;font-family:helvetica;list-style:none;padding:0px;}
.soico{margin-right:2px;margin-bottom:5px;margin-top:5px;width:40px;}
.youtube-sh{display:none;}
.blog-sh{display:none;}
.google-sh{display:none;}
Can anyone enlighten me as to what I am missing here.
Thanks.
Bookmarks