Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FlexibleMart (SKU# FLEX-00007)

TOPIC: Ask a Question not compatible with ECC+ - EasyCalc

Ask a Question not compatible with ECC+ - EasyCalc 7 years 7 months ago #9385

I've been getting a ton of spam lately in my Ask A Question form, so I employed EasyCalc+ anti-spam filter, but there's a conflict with the Flexi template.. I believe this plugin used to work fine with an older version of this template. I'm pretty sure I'm using version 2.3 of FlexiMart (not sure where to confirm this) and version 2.5-8 of EasyCalc.

The EasyCalc plugin works correctly with the stock VM 2.0.26d Ask A Question form.

On the FlexibleMart template's Ask A Question form, however, the user can only enter the anti-spam field by tabbing into it; they cannot click into the field to select/focus it. Most non-power users don't tab through fields, so they can never get past the anti-spam to complete the form.

This field is exhibiting the same behavior as the message character count field, which is non-editable. I believe that the javascript might be interfering.

The EasyCalc+ plugin really works well to eliminate spam, and I really want to use it, so how can I resolve this conflict?
The administrator has disabled public write access.

Ask a Question not compatible with ECC+ - EasyCalc 7 years 7 months ago #9387

Hi,

Check this topic:
www.flexiblewebdesign.com/forum-virtuemart-2-template-support/1986-captcha

Implementing EastyCalcCheck Plus Plugin to our templates has been discussed already in that topic.

Regards,
Support
Last Edit: 7 years 7 months ago by Support.
The administrator has disabled public write access.

Ask a Question not compatible with ECC+ - EasyCalc 7 years 7 months ago #9402

Thanks, but while that thread was about EasyCalc, it didn't address this problem.

I'm using the Calc Check method, not the recaptcha method, and the anti-spam form does show up on the Ask A Question popup right where it should. See attachment.

The problem is that the user cannot click into the field. It exhibits the same behavior as trying to click into the Characters Written field, which is not editable. Because of this, the user cannot complete the form.

Note that like the Characters Written field, the user can tab through the fields to enter it. I assume there's some code preventing the field to focus on click.
Attachments:
The administrator has disabled public write access.

Ask a Question not compatible with ECC+ - EasyCalc 7 years 7 months ago #9413

Hmm.. interesting.

But that looks pretty easy to resolve. Are you working in a live server?
Provide me a link to let me browse the "ask a question" form in your website. So i can take a look at the source codes and see what blocks focusing the input field.

Regards.
Support
The administrator has disabled public write access.

Ask a Question not compatible with ECC+ - EasyCalc 7 years 7 months ago #9418

Thanks in advance.

gregyoungpublishing.com
The administrator has disabled public write access.

Ask a Question not compatible with ECC+ - EasyCalc 7 years 7 months ago #9420

Did you disable the plugin?
Because right now i don't see any input field inside the "ask a question" form.

To understand what is wrong with it; I need to see the state when it doesn't work.

Regards,
Support
The administrator has disabled public write access.

Ask a Question not compatible with ECC+ - EasyCalc 7 years 7 months ago #9425

Sorry about that. I had to disable the plugin so a customer could use the form.

I have re-enambled it now.

(I got about twenty spams last night with it disabled)
The administrator has disabled public write access.

Ask a Question not compatible with ECC+ - EasyCalc 7 years 7 months ago #9429

Hi,

open this PHP file:

/templates/YOUR_TEMPLATE/html/com_virtuemart/askquestion/form.php

Find these lines:
     <input type="text" class="validate[required,custom[email]] askEmail" placeholder="<?php echo JText::_('COM_VIRTUEMART_USER_FORM_EMAIL')  ?>" value="<?php echo $this->user->email ?>" name="email" id="email" size="30"  validation="required email"/>
 
			<label>
				<?php
				$ask_comment = JText::sprintf('COM_VIRTUEMART_ASK_COMMENT', $min, $max);

and remove the <label> from the middle. Eventually they will look like this:
     <input type="text" class="validate[required,custom[email]] askEmail" placeholder="<?php echo JText::_('COM_VIRTUEMART_USER_FORM_EMAIL')  ?>" value="<?php echo $this->user->email ?>" name="email" id="email" size="30"  validation="required email"/>
 
 
				<?php
				$ask_comment = JText::sprintf('COM_VIRTUEMART_ASK_COMMENT', $min, $max);


Removing the <label> from there should eliminate the problem. If not, let me know. I will deeply investigate it.

If you like CleanMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Virtuemart-2-Templates/CleanMart

Write couple of sentences to share your experience with the support team.
Just 2-3 sentences would be enough ;) It might sound simple to you, but it is extremely important. Potential customers care about product reviews very much.

Thanks in advance!

Regards,
Support
Last Edit: 7 years 7 months ago by Support.
The administrator has disabled public write access.

Ask a Question not compatible with ECC+ - EasyCalc 7 years 6 months ago #9662

Thanks for your help on this.

I have updated both VM and Clean Mart to the latest versions, and the ECC+ anti-spam is now working great inside the Ask a Question popup. The problem, however, is with ECC+ active, it's impossible to complete checkout. It seems that ECC+ is interfering with the address area, so no location-specific shipping options and no payment options show up. This is true with the plugin active to only affect the VM Ask a Question form; somehow, it still shows up on the checkout address form.

I don't currently have the plugin active on my site because of the above problem, so I can't give you a link to test. In the meantime with ECC+ off, I'm getting a ton of spam through the Ask a Question form.
The administrator has disabled public write access.

Ask a Question not compatible with ECC+ - EasyCalc 7 years 6 months ago #9664

Ideally, the sent message template should also include the IP address of the sender.
The administrator has disabled public write access.

Ask a Question not compatible with ECC+ - EasyCalc 7 years 6 months ago #9671

Hi,

ECC+ plugin works based on preg_replace(), so it is normal if it causes some problem in some cases. It injects some extra lines to load the reCaptcha right before the "Submit" button, probably pug-in injects the lines to wrong location in the checkout registration form, which causes the problem you are having.

What you need to do is;
- you have to disable the ECC+ plugin to work from the checkout registration form. To do this, you need to make some coding changes in the ECC+ plugin PHP file, so the plugin won't be active in the checkout registration form. Unfortunately this is why beyond our free support. You need to contact with ECC+ developer about it. Or take a look at it the ECC+ plugin PHP page, if you have little PHP knowledge; you will be able to handle that.

If you want us to take care this modification for you directly on your website, you may consider purchasing premium support through:
www.flexiblewebdesign.com/premium-support

- Including the IP address of sender to message is not something we can handle. It requires Core changes, therefore it is up to Virtuemart team. But i don't think they will do that, because capturing the IP address of users is illegal (unless you declare this in your Terms of Service)

Regards,
Support
Last Edit: 7 years 6 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.261 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo