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) »
  • Public listing of contacts
Pages: [1] 2

Author Topic: Public listing of contacts  (Read 1391 times)

hsaca

  • I post occasionally
  • **
  • Posts: 32
  • Karma: -1
    • Hot Springs Area Cultrual Alliance
  • CiviCRM version: 4.5.4
  • CMS version: WP-4.0
  • MySQL version: 5.5.37
  • PHP version: 5.6.0
Public listing of contacts
November 01, 2014, 07:38:23 am
We are planning on maintaining a list of local Non profit Arts Organizations. We would like to make this list available to the general public without them having to log-in to the site. Is this possible?
I'm getting access denied errors on a public page.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Public listing of contacts
November 01, 2014, 12:05:44 pm
Are you using a profile to achieve this?
Try asking your question on the new CiviCRM help site.

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: Public listing of contacts
November 01, 2014, 02:43:20 pm
also note if this is a Drupal install then Views can prove a more flexible route for displaying such data
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

hsaca

  • I post occasionally
  • **
  • Posts: 32
  • Karma: -1
    • Hot Springs Area Cultrual Alliance
  • CiviCRM version: 4.5.4
  • CMS version: WP-4.0
  • MySQL version: 5.5.37
  • PHP version: 5.6.0
Re: Public listing of contacts
November 04, 2014, 03:39:20 pm
Yes, I'm using a Profile to do this. I also added Anonymous User to view profiles and contact info in the  Wordpress Access Control setting in Civicrm.

hsaca

  • I post occasionally
  • **
  • Posts: 32
  • Karma: -1
    • Hot Springs Area Cultrual Alliance
  • CiviCRM version: 4.5.4
  • CMS version: WP-4.0
  • MySQL version: 5.5.37
  • PHP version: 5.6.0
Re: Public listing of contacts
November 08, 2014, 08:30:25 am
Still no joy with this function, not sure what to do now.
This is a Key part of the website for us.

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Public listing of contacts
November 08, 2014, 03:00:46 pm
Do you have any custom fields in the profile?  If so you will also need to give the anonymous role Access all custom data.

hsaca

  • I post occasionally
  • **
  • Posts: 32
  • Karma: -1
    • Hot Springs Area Cultrual Alliance
  • CiviCRM version: 4.5.4
  • CMS version: WP-4.0
  • MySQL version: 5.5.37
  • PHP version: 5.6.0
Re: Public listing of contacts
November 08, 2014, 03:12:45 pm
Thanks for your response Joanne

Yes I have that set.

If I'm not logged in to wordpress I'm now getting this error

"Sorry but we are not able to provide this at the moment.
Could not find the required contact id parameter (id=) for viewing a contact record with a Profile."

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: Public listing of contacts
November 08, 2014, 03:55:31 pm
have you compared the url you are using with an equivalent one you can generate on WP demo site?
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

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Public listing of contacts
November 10, 2014, 01:27:13 am
Also, be very careful with giving profile permissions to anonymous users. It can be done safely but I have seen quite a few sites where different permission combinations have been tried until one of them was successful, but that have inadvertently exposed lots of private data in the process.

Michael
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

hsaca

  • I post occasionally
  • **
  • Posts: 32
  • Karma: -1
    • Hot Springs Area Cultrual Alliance
  • CiviCRM version: 4.5.4
  • CMS version: WP-4.0
  • MySQL version: 5.5.37
  • PHP version: 5.6.0
Re: Public listing of contacts
November 19, 2014, 07:30:47 am
@petednz

I'm not sure what you mean by this.

Quote from: petednz on November 08, 2014, 03:55:31 pm
have you compared the url you are using with an equivalent one you can generate on WP demo site?

hsaca

  • I post occasionally
  • **
  • Posts: 32
  • Karma: -1
    • Hot Springs Area Cultrual Alliance
  • CiviCRM version: 4.5.4
  • CMS version: WP-4.0
  • MySQL version: 5.5.37
  • PHP version: 5.6.0
Re: Public listing of contacts
November 19, 2014, 08:27:51 am
Even when Log-in as an Admin I'm getting

Code: [Select]
Permission Denied You do not have permission to view this contact record. Contact the site administrator if you need assistance.

» Back to Listings     

When I click on Back to Listing is shows all of the contacts in the Group I have the Profile setup for.

hsaca

  • I post occasionally
  • **
  • Posts: 32
  • Karma: -1
    • Hot Springs Area Cultrual Alliance
  • CiviCRM version: 4.5.4
  • CMS version: WP-4.0
  • MySQL version: 5.5.37
  • PHP version: 5.6.0
Re: Public listing of contacts
November 19, 2014, 12:15:12 pm
And there you have it Micheal,

This should not be rocket science.
The manual alludes to the fact that, Contact info can be viewed by Visitors to the site without logging-in yet there is no clear How To anywhere.

But, thanks I will review the settings again if I get it working.

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: Public listing of contacts
November 19, 2014, 12:21:46 pm
hsaca - i take it you are familiar with http://book.civicrm.org/user/current/initial-set-up/permissions-and-access-control/

I see it lists the 'default' permissions in case an admin opens up too much and needs to reset to basic

and as for my comment of 'compare urls' i meant, what is an example of the url on your site, and what do you get if you use the equivalent on the WP demo site.
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

hsaca

  • I post occasionally
  • **
  • Posts: 32
  • Karma: -1
    • Hot Springs Area Cultrual Alliance
  • CiviCRM version: 4.5.4
  • CMS version: WP-4.0
  • MySQL version: 5.5.37
  • PHP version: 5.6.0
Re: Public listing of contacts
November 19, 2014, 12:57:09 pm
Civicrm WP-Demo site

http://wp45.demo.civicrm.org/?page=CiviCRM&q=civicrm%2Fprofile&_qf_Search_display=true&qfKey=6cb241697b3d3556b3be35778b912e6d_5268

My site > Profile inserted into a page

Logged in as Admin
http://talyn/wordpress/40-2/?page=CiviCRM&q=civicrm/profile&force=1&gid=18

Not Logged in
http://talyn/wordpress/40-2/

I just noticed that on the Demo Site > Profile Config page > Clicking on More it shows "Use Profile-Create Mode" and "Use Profile-Listing Mode"
On my installation I only have "Use Profile Create Mode"

Did I miss a setting somewhere is is this a 4.5 only function?

Thanks

CiviRocks!

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: WordPress 4.1
Re: Public listing of contacts
February 08, 2015, 04:31:40 pm
This is my problem as well.  I have set the correct permissions but my profiles only show: " Use Profile-Create Mode"

There is no "Use Profile-Listing Option"

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Public listing of contacts

This forum was archived on 2017-11-26.