CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • recaptcha and Edit v Create mode of Profile (and Help Tip user of 'standalone')
Pages: [1]

Author Topic: recaptcha and Edit v Create mode of Profile (and Help Tip user of 'standalone')  (Read 531 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
recaptcha and Edit v Create mode of Profile (and Help Tip user of 'standalone')
October 28, 2012, 05:13:04 pm
Hi

Way way back http://forum.civicrm.org/index.php/topic,1856 Kurund said
"You can use captcha for profile in create/edit modes"
and DGG gave this example
<my drupal site>/index.php?q=civicrm/profile/edit&gid=2&reset=1

I am finding I can only get recaptcha showing on /create and not on /edit.

Is this a change that crept in somewhere.

I tried testing on Demo - added a reCaptcha key and set this Profile

http://drupal.demo.civicrm.org/civicrm/profile/create?gid=2&reset=1

But maybe Permissions aren't allowing it to be used.

Any advice.

Also just flagging that the 'help' says

"Do not enable this feature for stand-alone profile forms. reCAPTCHA requires dynamic page generation. Submitting a stand-alone form with reCAPTCHA included will always result in a reCAPTCHA validation error."

So seems we are still using the term Standalone in two different contexts - can this be changed to refer to 'html form snippet' instead
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: recaptcha and Edit v Create mode of Profile (and Help Tip user of 'standalone')
October 28, 2012, 05:45:20 pm
and just to clarify - i was wanting to use the 'edit' path so that it could be used for both anonymous and for logged in users - maybe my basic logic is flawed?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: recaptcha and Edit v Create mode of Profile (and Help Tip user of 'standalone')
October 29, 2012, 12:43:51 am
The full call is
Code: [Select]
.<my drupal site>/index.php?q=civicrm/profile/edit&gid=2&cid={contact.id}reset=1

but it defaults to your own contact (the logged in user) if the cid isn't set

Anonymous shouldn't able to edit contacts in the first place and doesn't have a contact id, hence the pb
X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • recaptcha and Edit v Create mode of Profile (and Help Tip user of 'standalone')

This forum was archived on 2017-11-26.