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™

WP Multisite Network - Permissions and _SERVER[HTTP_HOST]

s2Member Plugin. A Membership plugin for WordPress®.

WP Multisite Network - Permissions and _SERVER[HTTP_HOST]

Postby daverati » November 4th, 2011, 10:44 am

I have a WordPress multisite network set up with two sites: domain.com and subdomain.domain.com.

I had initially created my PayPal button shortcode in S2Member in the WordPress backend of domain.com, embedded the button in domain.com, and made test payments that went through fine. However, new members were not able to access the member content in subdomain.domain.com.

So, I re-created the PayPal button shortcode, this time in subdomain.domain.com, and replaced the button embedded on domain.com. After doing that, once a new member pays for their membership and is being redirected back to subdomain.domain.com, they get this error:

"ERROR: Unable to verify _SERVER[HTTP_HOST]. Please contact Suppport for assistance.

"If you are the site owner, please check the 'custom' value in your Button Code. It MUST start with your domain name."

I have checked the 'custom' value and it says: subdomain.domain.com. Should I change it to domain.com?

Any thoughts? Thank you.
User avatar
daverati
Registered User
Registered User
 
Posts: 7
Joined: November 4, 2011

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby Eduan » November 4th, 2011, 10:45 am

Try changing it to domain.com.
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby daverati » November 4th, 2011, 11:08 am

Thanks. That solution actually eliminated the error and got me redirected after payment back to the site successfully.

However, now every email I try to register with the site kicks back an "ERROR: This email is already registered, please choose another one" message. What now?
User avatar
daverati
Registered User
Registered User
 
Posts: 7
Joined: November 4, 2011

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby daverati » November 4th, 2011, 11:35 am

Well, it seems I had used those email addresses for testing of the site previously. And even though I deleted them from Admin > Users, they must still be in the database. I found a previously unused email address that worked. I was able to get registered.

But now I still have the same original problem: the new member get registered but is denied access to the member content in subdomain.domain.com.

Does anyone here have experience with a WP multisite installation and granting access across those sites to registered members?
User avatar
daverati
Registered User
Registered User
 
Posts: 7
Joined: November 4, 2011

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby Eduan » November 4th, 2011, 11:48 am

Do you have a MS Network Support License + s2Clean Theme ( all inclusive ) license or any other license for s2Member Pro?
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby daverati » November 4th, 2011, 11:53 am

No, I do not have the Network Support License or Pro. I installed the standard plugin based on this info:

"Is s2Member compatible with Multisite Networking ?
"Yes. s2Member, and also s2Member Pro, are BOTH compatible with Multisite Networking enabled. After you enable Multisite Networking, install the s2Member plugin. Then navigate to s2Member -> Multisite ( Config ) in the Dashboard on your ( Main Site )."

Also, I have a Classipress directory set up on subdomain.domain.com. I need my members to be able to post in the directory after purchasing a membership. If I choose the Blog Farm option, will that give them access to the member content (the directory) in subdomain.domain.com?
User avatar
daverati
Registered User
Registered User
 
Posts: 7
Joined: November 4, 2011

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby Eduan » November 4th, 2011, 12:10 pm

Okay, it's true s2Member free and Pro are both compatible with multisite network and blogfarms and such, but they don't come with the documentation required to set them up correctly.
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby daverati » November 4th, 2011, 1:02 pm

Can't really afford the $289 for documentation and support at the moment, so I'll see how far I can get on my own...

Thank you for your help.
User avatar
daverati
Registered User
Registered User
 
Posts: 7
Joined: November 4, 2011

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby Cristián Lávaque » November 5th, 2011, 10:33 pm

Dave, it's important to understand that, although s2Member will work in the network blogs, each blog will have its own instance of s2Member, independent of the others. So if you have a user with access in a blog, that won't give him access in other blogs of the network.

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

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby daverati » November 6th, 2011, 9:05 am

So Cristian, you're saying there really is no way for me to automatically give members access to both blogs with one PayPal purchase? Hmm...

Okay, thanks for the info. It will help me stop banging my head on trying to pursue one solution. Now I can move on to another.
User avatar
daverati
Registered User
Registered User
 
Posts: 7
Joined: November 4, 2011

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby Cristián Lávaque » November 6th, 2011, 9:39 pm

I'm not very experienced with multiste, Jason's the expert with that. See if this helps in any way: viewtopic.php?f=4&t=15385&p=44770#p45159

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

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby daverati » November 7th, 2011, 11:26 am

Thanks, Cristián. Unfortunately, my site use a subdomain rather than a subdirectory, so I'm not sure that advice will help. Also, I've already started moving all of the member content to the subdomain. I'll try that plus disabling s2Member in the primary domain.
User avatar
daverati
Registered User
Registered User
 
Posts: 7
Joined: November 4, 2011

Re: WP Multisite Network - Permissions and _SERVER[HTTP_HOST

Postby Cristián Lávaque » November 8th, 2011, 1:27 am

Got ya.
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: No registered users and 2 guests

cron