PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

How to tie-in s2Member with a business directory

s2Member Plugin. A Membership plugin for WordPress®.

How to tie-in s2Member with a business directory

Postby brehburg » November 16th, 2011, 1:57 pm

How do I use s2Member to help me create a business directory? I want to provide a search (by business name) field plus a business category search dropdown. And, to go a step further, I would like to display each business member using both a thumbnail image and detailed info. Obviously, the current plugin cannot do all this - but, with which of these requirements can it help?
User avatar
brehburg
Registered User
Registered User
 
Posts: 1
Joined: November 16, 2011

Re: How to tie-in s2Member with a business directory

Postby Bruce C » November 16th, 2011, 2:03 pm

If you know a little PHP you can hook into s2Member's usermeta values using the get_user_meta function. If you go into your cPanel or PHPmyadmin, and search through the wp_usermeta table, you should find the values you're looking for.

Also, s2Member Pro allows use of the Gravatar system, which can show the thumbnail image. With custom registration fields, you can optimize the amount of data you get from each user, and can allow it to be viewed pretty easily with the s2Get shortcodes
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: How to tie-in s2Member with a business directory

Postby Cristián Lávaque » November 18th, 2011, 1:45 am

With s2Member you can create custom fields for the profile, like the business name. WP Admin -> s2Member -> General Options -> Registration/Profile -> Add new field

This post explains how you can search users by a custom field: viewtopic.php?f=4&t=15658&p=48878#p48878

This may help you implement Gravatars to your custom members list: http://en.gravatar.com/site/implement/

I hope that helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 0 guests

cron