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™

Hospitals Portal

s2Member Plugin. A Membership plugin for WordPress®.

Hospitals Portal

Postby ocbchgal » June 22nd, 2011, 2:14 pm

A possible client needs a no membership site - just a passwod protected area of the site where those with username and password can access their specific page to purchase items for their hospital/institution.

(From the client) For example:
I go to mydomainname.com - see a tab that says My Hospital - I click on it - I get a login box to enter a username and password - I go to a page that has all the scrubs that I can purchase as a "My Hospital" employee with their special pricing - keeping the same purchase flow for payment that's currently in place (PayPal Standard).

I'd like to disable users from being allowed to create user accounts, and instead would like control in creating a user account per customer (hospital/institution). The rest of the site stays open/accessible for those that don't have special pricing, etc., and they can still purchase the way they normally would.

Is this possible?

Thank you so much!
Kathy
User avatar
ocbchgal
Registered User
Registered User
 
Posts: 6
Joined: June 22, 2011

Re: Hospitals Portal

Postby ocbchgal » June 23rd, 2011, 4:14 pm

I noticed my post was moved to its own thread. Does this mean my request was quite different from the Client Portal thread?

Thanks
User avatar
ocbchgal
Registered User
Registered User
 
Posts: 6
Joined: June 22, 2011

Re: Hospitals Portal

Postby Cristián Lávaque » June 23rd, 2011, 10:07 pm

Well, it seemed a bit different from what was said in the other one, and I thought yours deserved its own topic so I did that. :)

I did re-read your question a couple of times and am still unsure what you want to achieve, so I would appreciate if you could explain it in other words to help me understand it. Thanks!
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

Re: Hospitals Portal

Postby ocbchgal » June 24th, 2011, 12:24 am

The site is an online store selling scrubs, etc. They would like some of their clients (XYZ hospital/institution) to login to a page where their employees (employees of XYZ hospital/institution) can only purchase certain colors and styles.

They still want the site to be open to the general public to purchase scrubs, etc. as they choose. But certain clients will have their own page, and 1 username/password per page/client.

So client XYZ would have their own page, and a username/password for their employees to log in and purchase. Client ABC would have their own page, and a username/password for their employees to log in and purchase. But Joe Schmoe, and Jane Smith from Generic Hospital can just browse the open part of the site/store.

Make more sense? :)
User avatar
ocbchgal
Registered User
Registered User
 
Posts: 6
Joined: June 22, 2011

Re: Hospitals Portal

Postby Cristián Lávaque » June 24th, 2011, 12:33 am

Yes, I think I understood this time. Thanks.

So it's not really a portal as described in the other thread, but a store with some products exclusive for specific hospitals, right? You'd need to edit the store plugin you're using so it checks the user account (hospital) and shows him its exclusive items if there are any, but hide other exclusive items that are for other accounts.

For the conditionals you may find this documentation helpful WP Admin -> s2Member -> API / Scripting -> Using Advanced Conditionals and Advanced Query Conditionals.
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

Re: Hospitals Portal

Postby ocbchgal » June 24th, 2011, 12:42 am

Oh...now you lost me. :)

They're using Paypal to purchase, no plugin. Which is why I thought s2member would work.

So I'll be creating a separate page for each client with their specific items, and listing the pricing with PayPal Standard buttons.

Will the link you pasted help me still?

Btw, lovely photos (Flickr).
User avatar
ocbchgal
Registered User
Registered User
 
Posts: 6
Joined: June 22, 2011

Re: Hospitals Portal

Postby Cristián Lávaque » June 24th, 2011, 12:50 am

Thanks! Glad you liked them. Haven't posted new ones there in a long time...

Back to your website, got it. I thought you were going to use a shop plugin or something like that. I guess a portal as described in the other thread may work then.

The video Jason created explaining it gives you a good start, but you'll still need a bit of custom coding to get it all the way there.

Now, if you want to do it manually, let the users create their accounts, then you go edit their profiles giving them the custom capability and create their personal page protected with that custom capability. If they aren't many hospitals it could work, if they are lots it may be a pain after a short while.
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

Re: Hospitals Portal

Postby ocbchgal » June 24th, 2011, 12:54 am

Then it's time you refreshed your photos. Haha.

No, no...the site is already in place, and the only plugin I'm installing for this portion of the site is s2member (at least I hope).

Where can I get the custom coding I need?

Yes, I will be creating the usernames and passwords, as I don't want the general public creating user accounts. As for the amount of clients...not sure. I'm starting with one that they'd like by the first week in July (hehe), and then they'll give me the go ahead for any others. I don't think it should be many. But if it is, it's money in my pocket, so no complaints here. :)

I'll go ahead and watch that video, but any other help you can give me (with the required code you mentioned above) is much appreciated.
User avatar
ocbchgal
Registered User
Registered User
 
Posts: 6
Joined: June 22, 2011

Re: Hospitals Portal

Postby Cristián Lávaque » June 24th, 2011, 1:01 am

Well, the required customization needs to be developed, but since you'd be doing it by hand, the video will probably have all you need to do it. :)
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

Re: Hospitals Portal

Postby ocbchgal » June 24th, 2011, 1:03 am

Ok, and if it doesn't then, post here?
User avatar
ocbchgal
Registered User
Registered User
 
Posts: 6
Joined: June 22, 2011


Return to s2Member Plugin

Who is online

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

cron