latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Mary Grisolia


My Latest Replies (From Various Topics)

Viewing 16 replies - 26 through 41 (of 41 total)
Author Replies
Author Replies
Posted: Saturday Jan 5th, 2013 at 10:23 pm #36367

Thank you for your reply Jason (and happy New year BTW).

I only asked about telling WP in case you thought this was a WP issue rather than an S2M related problem. I too prefer we stay here.

I have several themes and plugins installed in my network, but not all are active nor all are the same on every blog presenting the problem, so it would be kind of difficult to diagnose based on that.

I’ve just tested all of my blogs and is clear: the registration page is not blocked on blogs where S2M is not active, even when the Users can register setting is appears as 0 on the blog’s configuration (visible from the netowrk’s admin settings view).

I can give you access to my network if you want to take a look. The problem seems to be that S2M is governing the redirect from /wp-login.php?action=register to /wp-login.php?registration=disabled and this redirection is not taking place if S2M is not active.

I’m sorry I cannot give you any more insights about this, I just don’t know where elese to look and wouldn’t want to go the route of disabling themes/plugins one by one (would rather activate S2M on all my blogs even if I don’t need it).

Posted: Sunday Dec 30th, 2012 at 9:17 pm #35833

Hi Jason,

Thanks for your detailed answer. In my blog everything is set up as you described. Users Can register is set to 0 for all child blogs, and registration is disabled in blogs with S2Member enabled. But for those blogs where S2Member is not active, I can access the wp-login.php?action=register page and I can register – even when Users Can register is 0 (and I’m logged out, accessing the registration page from a browser with cleared cache and cookies).

I have the latest WP version installed (3.5 in Spanish) and the latest S2Member version (121213).

Should I contact WordPress?

Posted: Sunday Dec 23rd, 2012 at 9:45 am #35433

Well, actually the problem isn’t WordPress but S2M. In the network administrator WP dashboard, the allow open registration setting is disabled and controlled (grayed out) by S2M. If I didn’t have S2M, I would just have to check that option to disable open registration in all of the network’s blog and then everything would be fine. But as I do have S2M, it controls this option but doesn’t seem to be working on blogs that don’t have the plugin enabled.

I’m pretty sure it’s a problem with S2M and not WP…

Posted: Saturday Dec 22nd, 2012 at 9:58 pm #35391

Thanks Eduan, but actually that’s only possible for single blogs. In a multisite (network) configuration, the membership options do not appear on the general settings screen of individual blogs but only on the main blog dashboard (network administrator’s dashboard) under network settings.

With S2M installed, this setting is governed by it (Multisite config).

Posted: Saturday Dec 22nd, 2012 at 6:56 pm #35369

To avoid multiple threads about the same problem, I’m adding myself to the list.

In my case, I have set Open registration to NO in the settings menu for my Main Site (I have a multisite – blog network). This is supposed to disable open registration in all my child blogs since the membership options do not exist on individual blogs for the multisite configuration.

The problem is I don’t have the S2M plugin activated in all my blogs, and it seems that the registration option remains enabled in blogs where the S2M plugin is not activated. Do I really need to activate the plugin in all blogs – even if I’m not using it – in order for the main setting (NO registration) to work? That would be very inconvenient…

Posted: Friday Aug 31st, 2012 at 9:08 am #23692

What I mean is transition from Level#1 or Level#2 to Level#3 after someone has finished the course (it’s on my post above).

I want to know if s2M can handle this automatically in some way, without the subscriber having to change his payment plan (because they’ll be promoted without having to pay anything).

Posted: Friday Aug 31st, 2012 at 4:42 am #23650

Thanks Raam, the problem I see is that I want to automatically upgrade a subscriber without changing their billing plan. They will be upgraded only because they’ve been active for X months.

As I’m gonna need to handle unsubscriptions/cancellations manually (as per my previous post), then the automatic EOT behavior is set to NO.

What I want is that when a subscriber has been active for a given period, he’ll be promoted to a superior level. I’m offering a course so this will be the level of “graduated students”, who will have different capacilities than other active students. There’s no billing because they will have lifetime access to the content.

Can I do this automatically or do I have to upgrade all students manually?

Posted: Thursday Aug 30th, 2012 at 7:30 am #23553

Hi Cristián, thanks for yoyur answer (actually I just realized I wasn’t subscribed to this posts so I was waiting for a notification that would never arrive! lol).

So for the moment I’ll deal with refunds/cancellations manually (I hope I wont get many of these!).

And how about the -automatic- transition from Level#1 or Level#2 to Level#3 after someone has finished the course (i.e. after x months after subscribing or at a given fixed date)? Is that possible or do I have to do it manually too?

Posted: Wednesday Aug 29th, 2012 at 10:05 am #23405

Philly, you got it!

I didn’t have to network activate the plugin but only to activate it on the main blog. The options became immediatly available on the network dashboard (I even got an alert as soon as I activated the plugin on the main blog).

It’s all set now and the registration link is working (yey!).

I don’t mind having the plugin activated on the main blog (even if I won’t use it there), so I’ll just leave it like that.

About you’re question, this message appears right below the s2M network options panel:

These files MUST be patched, each time you upgrade the WordPress® core. If you set this option to Yes ( Patch Automatically ), s2Member will patch your installation now, and also in the future, should you upgrade to newer version. That way, you won’t need to patch manually each time WordPress® is upgraded.

Thanks again!!

P.S.: Cristián, thanks for having taken a look at this too. I posted another question in the forum a few days ago, hope that you get the time to see that one (still unsolved). It’s about payment/membership options.

Posted: Wednesday Aug 29th, 2012 at 8:52 am #23397

Philly, thanks anyway for your help :)

Cristián, I double checked an I still get the same message. I took a few screenshots.

Here you can see that I’m logged in and I’m the network admin (super admin):
https://www.dropbox.com/s/24aiscv29oiu2dt/network-super-admin.jpg

Notice there’s no s2Member menu in the left.

Here, I get the error message when I navigate to the s2M network options page:
https://www.dropbox.com/s/b1yq8437cqrfqtd/not-enough-rights.jpg

And here is the configuration of my Domain Mapping plugin (needed in order to have each child blog have their own domain name):
https://www.dropbox.com/s/8j85ef114nfmlbf/domain-mapping.jpg

Maybe the problem is right there? Or is there something that I’m missing or doing wrong?

Posted: Tuesday Aug 28th, 2012 at 8:58 am #23285

For the address I get a “you don’t have enough rights to access this page” (or something like that, mine is in Spanish). This happens wether I use the main network blog domain name or the child blog one, and I got that message after logging in (it redirects me to the login page if I’m logged out).

I’m of course the network and site administrator. Actually, I’m the only user on this network. I have never installed any capability manager plugin – just in case you were wondering.

As for the lostpassword, I actually tried it (as is, with the network_ part it had, not having changed anything) for my child blog and it works fine (I don’t get redirected to the main network blog). I hadn’t ever touched this file before, do I really need to remove that bit? because, as I’m telling you, it works fine (contrary to the register function, which does redirect me to the main network site).

P.S.: Yes, MU is actually not easy to work with, but I cannot stand the idea of having to have multiple wordpress installations :(

Posted: Tuesday Aug 28th, 2012 at 8:25 am #23277

Thanks Philly, changed back!

About the patch, no, I haven’t applied any patchs yet, but I can’t seem to find the path you’re pointing me to.

On my child blog’s dashboard, there is no s2Member® => Multisite ( Config ) option (check my screenshot here: https://www.dropbox.com/s/hez9cytd0rwsspb/WPDashboard-s2member.jpg)

There is no s2Member option on my main network blog dashboard.

P.S.: Why do I need to remove “network_” from the wp_lostpassword function? It was like that, I didn’t change it, and it works OK… (I’m just curious and don’t want to mess things up)

  • This reply was modified 4 years, 4 months ago by  Mary Grisolia.
Posted: Tuesday Aug 28th, 2012 at 7:52 am #23264

Hey Cristián, thanks for your reply!

I checked my general-template.php file and the lostpassword function was ok (it contained network_site_url) as in the other topic. I tested it and it works (it doesn’t redirect me to the main network site).

The register function contained only site_url. I added the network bit to it (turned into network_site_url) but it’s still not working (it keeps redirecting me to the main network site register page). I compared both functions to see if I could make them match someplace else, but they’re quite different.

Here’s how my register function looks like:

function wp_register( $before = '<li>', $after = '</li>', $echo = true ) {

	if ( ! is_user_logged_in() ) {
		if ( get_option('users_can_register') )
			$link = $before . '<a href="' . network_site_url('wp-login.php?action=register', 'login') . '">' . __('Register') . '</a>' . $after;
		else
			$link = '';
	} else {
		$link = $before . '<a href="' . admin_url() . '">' . __('Site Admin') . '</a>' . $after;
	}

	if ( $echo )
		echo apply_filters('register', $link);
	else
		return apply_filters('register', $link);
}

And this is my child blog registration link:

http://www.tunuevocuerpo.com/wp-login.php?action=register

I also did a search on the WP forums but the few posts I could find were not exactly about the same thing. Only this one reported the same issue:

http://wordpress.org/support/topic/loginactionregister-says-registration-has-been-disabled

And this user actually posted on the old s2Members forum:

http://www.primothemes.com/forums/viewtopic.php?f=4&t=15431

In his case it was apparently a plugin-compatibility problem, but I didn’t quite get to understand if/how he solved his issue, so I’m gonna need an extra help with this :(

  • This reply was modified 4 years, 4 months ago by  Mary Grisolia.
Posted: Thursday Aug 16th, 2012 at 12:07 pm #22256

Jason, thanks a lot, it indeed much clearer.

What I need to do now is simpler than in your case, but as my business scales I’ll probably hit the same wall you’re hitting right now. So thanks, your experience does help.

I’ll pass my developer the info and will ask him to look formidable forms, as you said, it can facilitate development.

Cristián, thanks a lot too, I’ll give my developer that link so he can look it up and see what he can do.

Posted: Thursday Aug 16th, 2012 at 2:13 am #22178

Hay Jason,

I couldn’t understand all you said because I haven’t used gravity or formidable forms, but I’m still wondering… for what I need, doesn’t my custom plugin just talk to WordPress and ask it who is logged-in? Because if that is the case then I don’t see the need for communication with S2Member (in my case). S2Member will determine if the custom page is accessible for that particular user, and if it is, it will give them access, and then my plugin will load the data in its custom database corresponding to the particular user (after having asked WordPress who is logged in).

Am I confusing things around?

Posted: Wednesday Aug 15th, 2012 at 12:46 pm #22126

Thanks a lot Cristián, it does help. I guess I’ll figure out the rest of it once I install everything and get to see how it works.

I have a sort of a follow up question, but I don’t know if it should be better placed in a new thread, so if that is the case please let me know and I’ll repost it.

A developer is creating a plugin for my site that will load data from a data base in a custom page. The data corresponds to a particular user (each user having their own data in the database, which will be loaded an shown when loading the custom page). My developer wants to know if he can make the plugin communicate with S2Member in order to get the user login info, so the plugin can load the data corresponding to that particular user.

Data flow would look like this:

1) User logs in.
2) S2Member gives user access to the custom page.
3) Custom plugin gets login info.
4) Custom plugin calls and loads custom page showing the data corresponding to that user.

I still don’t know exactly how S2Member works, but as for your answer to my first question above I’m guessing that my custom plugin has to communicate with WordPress and not with S2Member, is that right?

Viewing 16 replies - 26 through 41 (of 41 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.