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 CiviMember (Moderator: Deepak Srivastava) »
  • Advice for how to show members in WordPress
Pages: [1]

Author Topic: Advice for how to show members in WordPress  (Read 8734 times)

matthewboh

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 2
Advice for how to show members in WordPress
February 16, 2012, 09:33:44 am
In Drupal, I use the Views module to show members, but in WordPress, how should that occur?

Do I use a Plug-in like XData Toolkit, create some custom PHP or create a new profile and show that?

Thanks...

vaughnbullard

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: WordPress
  • MySQL version: 5
  • PHP version: 5.3
Re: Advice for how to show members in WordPress
March 08, 2012, 06:07:23 pm
Hey matthewboh,

Vaughn here, creator of the XData Toolkit.  You could certainly do that with the XData Toolkit.   Best way to do it would be to create a datasource of the WordPress database, create a SQL query using the Dynamic Query Interface Builder querying the wp_users table.  Check WordPress' CODEX for wp_users database diagrams; very well documented!  Then once you have that create or generate a stylesheet to properly format it for output, then embed the query interface into a page or post.  If you want to use the data in another part of your site, just embed a XData query interface shortcode.  Hope that helps!

Best Regards,
Vaughn


Robyn

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7
Re: Advice for how to show members in WordPress
July 14, 2013, 05:05:26 am
Hello Vaughn

I have a separate database for my Civi install (its on local machine..just for testing)).. How do I access that that data?  I've tried but I can't set that up as a data source?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Advice for how to show members in WordPress

This forum was archived on 2017-11-26.