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) »
  • Wordpress CiviCRM - How do I create a public Members Directory?
Pages: [1] 2

Author Topic: Wordpress CiviCRM - How do I create a public Members Directory?  (Read 11594 times)

Thinkwell

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 0
  • CiviCRM version: 4.2.7
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.5.29
  • PHP version: 5.2
Wordpress CiviCRM - How do I create a public Members Directory?
January 30, 2013, 08:36:39 pm
Hoping someone can point me in the right direction. Currently implementing CiviCRM into a Wordpress site and need to know how to create a searchable members directory. Drupal examples were not very helpful unfortunately.

Update: I have managed to figure out the URL to work in Wordpress  and can display the searchable members directory, but it is not actually "Public" since you need to be logged in to view.

Hoping it's a setting that I'm somehow missing, here's the error message when it won't display the Profile

"Sorry but we are not able to provide this at the moment.
The requested Profile (gid=17) is disabled OR it is not configured to be used for 'Profile' listings in its Settings OR there is no Profile with that ID OR you do not have permission to access this profile. Please contact the site administrator if you need assistance."
« Last Edit: January 30, 2013, 09:08:19 pm by Thinkwell »

Tony Horrocks

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 7
    • Fabriko Limited
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7
Re: Wordpress CiviCRM - How do I create a public Members Directory?
January 31, 2013, 12:08:03 am
Not  Wordpress expert, but in CiviCRM you should do the following:

Profiles can be used to create listings of contacts. These can be used for membership directories.


Set up a group that will contain the contacts that you want to list. It’s a good idea to make this a smart group. That way any contact that matches the smart group criteria will automatically be added to your group and thus to your listing.

Make sure that the smart group is set to public.

Navigate to Administer | Customize Data and Screens | Profiles and add a new profile that will contain the fields you wish to display on your directory.

Used for: Select Standalone form or directory.

Navigate to Advanced settings.

Limit listings to a specific Group: select the smart group that you created previously.

Click Save and begin adding fields to your profile.

The fields have been set for public pages and view only.

Note that you do not have to include the name of the organization itself. CiviCRM puts the contact display name in the search result set by default.

Once we have done this we can create a profile URL to display the directory.

civicrm/profile?gid=17&reset=1&force=1&search=0

will display our directory as a list.

You might want to control permissions for profiles. For example, you may only want members to be able to see the member directory.
Tony Horrocks
Author of the CiviCRM CookBook https://www.packtpub.com/web-development/civicrm-cookbook

Thinkwell

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 0
  • CiviCRM version: 4.2.7
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.5.29
  • PHP version: 5.2
Re: Wordpress CiviCRM - How do I create a public Members Directory?
February 02, 2013, 02:21:44 pm
Many thanks Tony :)

I do have the directory created but still receive the error:

"Sorry but we are not able to provide this at the moment.
The requested Profile (gid=17) is disabled OR it is not configured to be used for 'Profile' listings in its Settings OR there is no Profile with that ID OR you do not have permission to access this profile. Please contact the site administrator if you need assistance."

If a user is logged in it does in fact display, but non-logged users get the error

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: Wordpress CiviCRM - How do I create a public Members Directory?
February 02, 2013, 07:10:55 pm

profile listings are not possible with WP + Civi v4.2 due to permissioning issues

this has been fixed for 4.3 since we've integrated WP permissions with Civi (thanx to Jag and Rajesh from MTL, UK)

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

Thinkwell

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 0
  • CiviCRM version: 4.2.7
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.5.29
  • PHP version: 5.2
Re: Wordpress CiviCRM - How do I create a public Members Directory?
February 05, 2013, 07:29:14 pm
Thanks Lobo - Any release date for 4.3 yet?

Thinkwell

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 0
  • CiviCRM version: 4.2.7
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.5.29
  • PHP version: 5.2
Re: Wordpress CiviCRM - How do I create a public Members Directory?
February 12, 2013, 10:47:11 am
Hi Lobo,

I've downloaded the 4.3 Alpha release and installed on my Sandbox. Are you able to point me in the right direction on where I enable the profile listing to be public? I'm currently exploring the ACL's settings but nothing is obvious for me

Cheers
Jason

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: Wordpress CiviCRM - How do I create a public Members Directory?
February 12, 2013, 10:55:23 am

Might want to start by reading the user book: http://book.civicrm.org/user/

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

devin

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Wordpress
  • MySQL version: 5.1.66
  • PHP version: 3.5.5
Re: Wordpress CiviCRM - How do I create a public Members Directory?
May 04, 2013, 07:21:08 pm
Hi.  Has the public directory feature been implemented in version 4.3? 

This message board says that it has, but the book says it hasn't: book[dot]civicrm[dot]org/user/current/the-user-interface/profiles/

Very much looking forward to this feature and thanks so much for Civi!

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: Wordpress CiviCRM - How do I create a public Members Directory?
May 04, 2013, 07:38:37 pm

Yes, the permissioning support has been implemented for WP and 4.3

Profiles are also exposed as a shortcode in 4.3, but i dont think the listings part is exposed

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

Huneke

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Wordpress 3.5.1
  • MySQL version: 5.5.31
  • PHP version: 5.3.10
Re: Wordpress CiviCRM - How do I create a public Members Directory?
June 10, 2013, 09:30:26 am
 ???

I'm a new user on Civicrm.  Thanks for a fantastic product!  It's been really great to use (in a lot of ways).

However, I'm disappointed that the public searchable member directory and mapping feature is apparently still not officially supported in Wordpress.  How close is this to working?  Is there a technical reason that a shortcode is not yet implemented for this feature?

I can kind of get it working by hacking in my own url, appending this ?page=CiviCRM&q=civicrm/profile&gid=14&reset=1 to my a page on my site (e.g http :// mywebsite.com/mydirectory?page=CiviCRM&q=civicrm/profile&gid=14&reset=1

I've set out to implement this shortcode myself which led to new questions about the coding choices made when designing the civicrm plugin for wordpress.  What is the proper forum for discussing these/raising questions so that I don't wind up retrying what someone else has already tried?

Anyway, I hope that info is helpful to others.

Also, here's how I setup that profile (gid 14):

1 field: individual, first name, required, public visibility, searchable, results column
profile settings: used for standalone, used for search views





riddler

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.2.10
  • CMS version: Wordpress
  • MySQL version: 5.1.61
  • PHP version: 5.3.24
Re: Wordpress CiviCRM - How do I create a public Members Directory?
August 12, 2013, 08:32:34 am
I followed the steps described by Tony. I have the directory and it's searchable. Still doesn't allow the public to view.

ETA: Solution! http://forum.civicrm.org/index.php?topic=24740.0

Administer -> Users and Permissions -> Permissions (Access Control)
« Last Edit: August 12, 2013, 08:52:50 am by riddler »

Rick Ray

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
    • We Can Do Better | The Archimedes Movement
Re: Wordpress CiviCRM - How do I create a public Members Directory?
August 26, 2013, 02:33:19 pm
We are also waiting for public listings for WordPress, with exposure via shortcode. Thanks for any efforts to make this happen.
======
Rick Ray
www.WeCanDoBetter.org

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: Wordpress CiviCRM - How do I create a public Members Directory?
August 26, 2013, 02:39:25 pm

in general, waiting unfortunately does not make things happen :( We all can do better and contribute code and/or patches and/or sponsor a developer and scratch some of our OWN itches

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

Rick Ray

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
    • We Can Do Better | The Archimedes Movement
Re: Wordpress CiviCRM - How do I create a public Members Directory?
August 26, 2013, 02:51:39 pm
Alas, some grassroots nonprofits have no coders, no staff and no discretionary budget. I suppose we're leeches on the community, but we do offer our profound thanks and try to offer constructive feedback in these forums.
======
Rick Ray
www.WeCanDoBetter.org

JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Re: Wordpress CiviCRM - How do I create a public Members Directory?
August 27, 2013, 07:24:32 am
I wonder if it's a little bit cyclical:

Companies, or even charities, that can afford consultants to produce "the best" will opt for Drupal with Civi because it has the most features.

Consequently, people with the money to sponsor developers and such won't be using WordPress anyway, they'll likely have a Drupal installation.

The same applies to coders' time as well - they're probably savvy enough to be on Drupal, so there's no need for them to provide more features for the WP users.

I speak as a die-hard fan of WP, but I think that until the culture at the top of CiviCRM shifts towards ensuring equivalence on all three platforms that it won't happen at a grassroots level.
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Wordpress CiviCRM - How do I create a public Members Directory?

This forum was archived on 2017-11-26.