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 Profiles (Moderator: Dave Greenberg) »
  • Profile search without listing (solved)
Pages: [1]

Author Topic: Profile search without listing (solved)  (Read 763 times)

lesley

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 1
Profile search without listing (solved)
October 21, 2013, 06:50:53 pm
Something I'm missing here?

I just want an anonymous user to be able to use a profile to find only their own record and add/update some custom fields in their record, without seeing any other contacts listed.

I see you can do it the other way round ie suppress search and show listing with force=1 and search=0
but force=0 and search = 1 doesnt work

cheers folks

I love CIVI!

« Last Edit: October 21, 2013, 10:23:18 pm by lesley »

clarkac

  • Administrator
  • Ask me questions
  • *****
  • Posts: 399
  • Karma: 11
  • CiviCRM version: 4.4.11 & 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1.61-cll
  • PHP version: 5.3.27
Re: Profile search without listing
October 21, 2013, 09:32:45 pm
You can email anonymous users a link that looks like the following, that points to a profile where they can update their data, including custom data of course - (where gid is the number of the profile)

http://www.example.com/civicrm/profile/edit?reset=1&gid=13&id={contact.contact_id}&{contact.checksum}
Andy Clark

lesley

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 1
Re: Profile search without listing
October 21, 2013, 10:22:34 pm
Thanks Andy
I didn't want to have to email them
But I figured it out - you have to allow profile listings and forms for anonymous users with Drupal ACL  then only allow search permission on the profile at civi acl level.

Only took a few hours! ho hum :)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profile search without listing (solved)
October 22, 2013, 08:34:36 am

hmm and anon users can edit their contact that way? seems a bit odd, IMO

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

lesley

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 1
Re: Profile search without listing (solved)
October 22, 2013, 03:25:51 pm
Only if they're in the specific group (in this case 20 or so attendees filling out an eval form) to which the profile allows access.

Am i missing a problem?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profile search without listing (solved)
October 22, 2013, 04:02:36 pm

but anon users and people in a specific group are contradictory statements :) If its an anon user, drupal and civi have no idea who they are. so permissioning is applied for anon users only

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

lesley

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 1
Re: Profile search without listing (solved)
October 22, 2013, 06:59:45 pm
I'm sure you're right for you are Lobo  8)

I'm going to read the manual again *sigh*

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Profile search without listing (solved)
October 22, 2013, 08:10:41 pm

if you are relying on permissions to decide what someone can do, by definition that person can not be anonymous. they need to be identified either via a login or a time restricted checksum

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Profile search without listing (solved)

This forum was archived on 2017-11-26.