Posted: August 13, 2012 at 9:50 pm
The recaptcha is not displayed when using the cart. I have tested while not beeing logged in the wordpress. I looked at the multi_registration_page.php and there are some comments around line 176 //Recaptcha portion To activate the recaptcha, do I need to activate or “uncomment” some code to make it work? The other thing is when going into view cart, the amount total field displays nothing except “Total (C$):” unless I do a refresh, then the amount is calculated. Is this working as designed? Version 3.1.25.P |
|
The Re-capthcha feature does not work with the Multi Event Registration feature at this time. We recommend using the apache mod-security module to help prevent spam registrations. Note that this is something that can be added and configured to most servers running apache. With the total/refresh issue, I recommend updating to version 3.1.26, and then checking /wp-content/uploads/espresso/templates for an older copy of shopping_cart.php. Version 3.1.26 has an updated version of the shopping_cart.php, so a copy from a previous version will not include the latest fixes. |
|
|
Hey Josh, I’m on a shared server environment and won’t have that option. I just noticed my Captcha wasn’t showing for the same reason as mcote’s. Will spam still get through if some of the fields are set to “require”. would akismet play a factor into this in helping at all or is that for “comments” specifically. About to go live in a few days with my site and am worried about spam registrations causing my clients grief. |
spam can get through, because spam bots can work around JavaScript based validation. Have you asked the host about upgrading the account so that mod-security can be used? |
|
|
I use RackSpace and their Shared (Cloud Sites) is pretty locked down and 1-dimensional (not in a bad way). In order for me to use that module I’d have to switch hosts or setup a VPS. I guess if spam becomes a huge rampant issue I wont have much choice. Would there be a way to create a remedial captcha of sorts? just coding a simple math equation (5+2) and including a required text field? not even sure how i would approach that. If Spam does start to poor in will it just add fake users to the events and their status will be set to “pending”. Any other good tell tale signs for the spam? thanks Josh |
|
Hey Kevin,
depending on where you want it on the page
Then in includes/process-registration/add_attendees_to_db.php, starting at line 163, modify it so:
Please note that if you are logged in (likely if you are switching back and forth with the admin while testing) the recaptcha is not checked. Also, it may look initially like it’s not working, since it does present the payment options, but it does not create any attendees in the db. |
|
Thanks so much for your time and insight Sidney. I’ll reply back here again with my results. I did give it a try but the captcha didn’t show up anywhere. I’m not sure if its because of not executing the edits correctly or not but will try again and see what can be done. |
I had made it appear initially by removing the comments /* and the other */ starting around line 176 //Recaptcha portion in the multi_registration_page.php I had also removed the first php portion which was in fact doing absolutely nothing. This might give you a clue on how to make it appear. |
|
|
we’re making a branch of the code with these changes so we can do some more testing on this, and possibly include it in the next update of 3.1. Stay tuned. |
|
I would also LOVE an update for this to work! I just recently had a wordpress account hacked – NOT fun! So, looking for ALL ways to keep bots out! Please give us an update when you have one! |
The support post ‘multi_registration_page.php not showing recaptcha + total amount blank’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.