4470 pointsLike some sort of WPMU DEV God"Mindblowingly helpful memberLifetime member
Barry
Developer
—
4th July 2011 (10 months ago)
Hi Gang
This one is up a little earlier than I wanted it to be as the WordPress gang decided to release WP3.2 on 4th July.
It has a few of the updates I wanted in this version (most of the ones requested early in the beta 1 forum thread), but a good few had to be postponed until beta 3 now (which will be out later in the week).
You need this version for running 3.2 as it has a couple of bug and css fixes in it.
This one is up a little earlier than I wanted it to be as the WordPress gang decided to release WP3.2 on 4th July.
It has a few of the updates I wanted in this version (most of the ones requested early in the beta 1 forum thread), but a good few had to be postponed until beta 3 now (which will be out later in the week).
You need this version for running 3.2 as it has a couple of bug and css fixes in it.
If you go membership->edit plugins-> select the gateway and activate it.
Go to Edit Gateways - and you will see it there. Activate it, if it isn't activated already. Fill in settings if you haven't done so already.
I don't understand registration blocked? Probably better answered by dev.
Sidenote: The plugins were/are being introduced in version 2.1. I think it is a great way to avoid an overly cluttered plugin. You use only what you need, thereby streamlining membership plugin, by not loading excessive amounts of code, that you don't need ;)
Hi Jonathan and Barry,
you are right, I have just activated plugins inside membership plugins and now it works:-)
Thanks a lot for an excellent and immediate support.
Sigh. I could easily spend the next 3 hours googling all sorts of WP popups, trying to figure out if the allow shortcuts, emailing plugin authors, etc. etc. etc.
1. WP Codex is a useless, hostile place to ask a question.
2. Quora may work, especially given the new Pay for Answers feature.
3 Is there a Stack Overflow for WordPress?
Or someone here could possibly reply with an answer to shortcodes in popups in WP.....
I've never used any, so that's why I couldn't point you in the direction of one. Also not at my dev computer, so can't give you the exact line to change in ours to enable it.
I don't think a pop up is what you are after anyway, for a registration form I would have thought a lightbox plugin would be better otherwise if user doesn't want to signup as soon as the page loads and the popup displays, then they have to reload the page to get the form back.
I having a problem with Membership Premium...it is generating the following error:
Warning: Invalid argument supplied for foreach() in /home/gotit/public_html/wp-content/plugins/membership/membershipincludes/plugins/default.admin.rules.php on line 364
History:
I have the following Plugins installed or WordPress 3.2.1 (Network Configured): Pay-To-Blog (Customized)
Membership 2.07
Subscription Premium
Marketpress
When I create a new blog for a member this is the error that occurs on their dash board.
Can you help me solve this proglem?
We are trying to build a customize membership system that allows our free members to have access to their own e-Store and Blogs and offer two other levels of memberships with various premium themes and plugins for additional costs.
@askinner - as you're not use membership 2.1 beta, can you start a new thread on the forum with the same details - this thread is for 2.1 issues and i don't want to contaminate it with earlier version issues.
Hi guys is there an easy way to apply membership from the main site to cover sub sites. I am basically creating an all or nothing site and charging a monthly subscription for everything.
Or if its not possible is there an easy way to do this with a different plugin you can recommend.
What the above code does is tell the membership plugin to use one set of global tables for your entire network.
You need to also have membership activated on each site you want to protect.
Special note: you will notice that some of the functionality is limited when running it over the network, what I have done leave the rules as empty and use a conditional statement...
1438 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Lifetime Member
—
6th August 2011 (9 months ago)
#
@Barry,
I know it won't make it in beta 3, but feature request for future releases - "Pagination for subscriptions, levels, communication, url groups, pings via membership admin control panel"
1438 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Lifetime Member
—
6th August 2011 (9 months ago)
#
As an example - using twenty-ten theme single.php we go to this section...
<?php
/* Run the loop to output the post.
* If you want to overload this in a child theme then include a file
* called loop-single.php and that will be used instead.
*/
get_template_part( 'loop', 'single' );
?>
And change it to something like this
<?php
if ( current_user_on_subscription('3') ) {
get_template_part( 'loop', 'single' );
// this loads the loop-single.php file if user has subscription id 3
} else {
// whatever else you want to display in place of loop-single.php.
}
?>
You can use those statements anywhere as it basically says.
Question:Does current user have this subscription (checks subscription id against user)
Answer: Yes this user has the above subscription - what would you like me to do
ELSE
Answer: No this user doesn't have the above subscription - what would you like me to do
I just found some issue with this version. The plugin is on a website on production. I droped souscription for a member who has an admin role. It leads to this (only when we are connected with that login)
Warning: Invalid argument supplied for foreach() in /home/musicomp/public_html/wp-content/plugins/membership/membershipincludes/plugins/default.admin.rules.php on line 389
@BlueEyes What version of WP are you running? Have you upgraded from a previous version? Can you completely remove the membership files and upload the new version again to make sure that you have overridden all the files as you shouldn't be able to add (and therefore remove) subscriptions to admin users in this beta.
The last one of WP, of course
Not an upgrade, fresh new installation
the warning message dissapear after relogin
"remove the membership files and upload the new version" ?
impossible to do what you are asking, website is running with members
Ok, if you're not running any admin side rules, then deactivate the admin rules in the Edit plugins page, or remove the default.admin.rules.php file completely.
Now I don't understand what you're asking. Basically, if you are not using any of the rules in that screenshot I posted, then deactivate the Admin rules plugin as you don't need it.
Nope sorry - not getting it. There is no rule "Main admin side rules"? There is a default admin rules plugin for membership, that adds some admin side rules (the ones I put in the screenshot above - http://premium.wpmudev.org/forums/topic/membership-version-21-beta-2#post-119728 ). One of these rules is causing you this error so you need to deactivate the plugin in order to get rid of the error.
Sorry if this has been asked before, I haven't seen it. Just a quick question.
In the 2.1 beta 2 there is still an option to Enable membership / supporter integration. If I have discontinued using the original Supporter plugin and am now using Supporter 3.0 beta Pro Blogs, will enabling membership/supporter integration still work?
1438 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Lifetime Member
—
16th August 2011 (9 months ago)
#
Hiya Barry,
Opened this topic awhile ago http://premium.wpmudev.org/forums/topic/possible-performance-issue-membership-plugin
As I have been seeing some huge database queries using membership plugin. Found out that the issue is the communications (Funny thing is I don't even use them - haven't even set them up)
I think they are a nice feature - But it's not worth the extra load - can next release have the ability to switch it off entirely.
Database queries drop by 75% with communications switched off.
So future release request: Ability to remove / switch off communicaitons ;)
I overwrote the plugin with
membership-2.1beta2.zip but I am having the same problem with weird code showing up for non-logged in users at QueiroQueSepas.us
Don't know if it's been mentioned here yet but I just ran into an issue.
I had the stranger set to level "foo."
I created a URL Group to allow only a certain level to have access to certain pages but I decided I wanted everyone to have access for a short time so I put the URL group as a positive in all levels. (That was my only URL Group.)
This caused my main site to become protected content for all strangers (and presumably all users that weren't Super Admins. I didn't test further after I figured it out - didn't want my site down!)
When I removed the URL Group from the positive rules. Everything was OK again.
So it seems that adding a positive URL Group to the rules messed up everything. :(
Regarding above, protected content page seems to only work if I have "none" as the free content level. Again, I would like to be able to hide some pages altogether from the navigation if the person doesn't have the membership level. Can you please elaborate on this?
Last - If I want a free membership level with registration, the registration works, but I'm not seeing a way to protect that level from spam memberships (e.g., a confirmation email). Can you please advise?
@BobWalsh if you are trying to embed the login form in a popup you can probably use the do_shortcode() function and some php. You would need the popup to allow for php, but it should probably work fine.
1) As for older membership plugins, the customised registration procedure is fine but it requires a front-end login as well. The neatest way to do this is to use a sidebar login plugin like Theme My Login but you then need a registration link because Membership controls its own registration. Best way would be to add a front-end registration plugin like TML where the user can select registration which is obeyed even if the standard registration is switched off. I haven't found any such plug in and resorted to hacking my own suckerfish with a php switch on the register link if the user is logged in - it now shows the link to the Account details when logged in.
2) The Account details jQuery facility overran the right hand side on the theme I am using. I had to reduce the width div#account-form to 90% to make it look OK (and remove the horrid pink/lilac background!).
Responses (58)
Developer — 4th July 2011 (10 months ago) #
Download file attached here
Member — 7th July 2011 (10 months ago) #
Hi Barry,
after your installation I cannot see gateways. I have a following error message: No Payment gateways where found for this install.
My registration is blocked.
Pls help.
Martin
Lifetime Member — 7th July 2011 (10 months ago) #
@Martin,
If you go membership->edit plugins-> select the gateway and activate it.
Go to Edit Gateways - and you will see it there. Activate it, if it isn't activated already. Fill in settings if you haven't done so already.
I don't understand registration blocked? Probably better answered by dev.
Sidenote: The plugins were/are being introduced in version 2.1. I think it is a great way to avoid an overly cluttered plugin. You use only what you need, thereby streamlining membership plugin, by not loading excessive amounts of code, that you don't need ;)
Jonathan
Developer — 7th July 2011 (10 months ago) #
@Jonathan - dam you're fast - I was just logging in...
Developer — 7th July 2011 (10 months ago) #
It's probably linked to no active gateways - can you enable the ons you want and let us know if that solves things?
Lifetime Member — 7th July 2011 (10 months ago) #
@Barry,
I was online, reading forum posts - Saw martin post, thought I'd check it out - laugh.
Edit:
@Martin,
Barry got you covered, see post above
Jonathan
Member — 7th July 2011 (10 months ago) #
Hi Jonathan and Barry,
you are right, I have just activated plugins inside membership plugins and now it works:-)
Thanks a lot for an excellent and immediate support.
Martin
Member — 16th July 2011 (10 months ago) #
Any hints as to when Beta 3 or the final version will be out? Hoping membership invite codes/coupons will be in it!! :) ?
Member — 20th July 2011 (10 months ago) #
It would be great if the bug fix and new ping variable outlined here can also make it in:
http://premium.wpmudev.org/forums/topic/need-to-store-additional-information-about-a-membership-subscription
Member — 22nd July 2011 (10 months ago) #
what's the best way of upgrading the plugin from 2.07?
Member — 22nd July 2011 (10 months ago) #
i forgot to mention, to the beta version 2.1
Sales & Support Lead — 22nd July 2011 (10 months ago) #
@rwilki, you can just copy the latest beta right over the older version via ftp.
Member — 24th July 2011 (10 months ago) #
Is it possible to embed the Membership register form in the Pop Up plugin? How?
Member — 29th July 2011 (9 months ago) #
I'd love to test this but I can't disable wordrpress registration on a single site installation, as I said here :
http://premium.wpmudev.org/forums/topic/disable-wordpress-registration
Member — 29th July 2011 (9 months ago) #
Arom77 - Let me be more precise:
I can embed Membership shortcodes in a page to get for example a register page.
Can I do the same in a Popup? Will the WPMU Popup plugin do the job, or is there some other wordpress plugin?
Developer — 29th July 2011 (9 months ago) #
If the popup allows shortcodes then yes, if not then no. I don't believe our popup will run shortcodes without tweaking.
Member — 29th July 2011 (9 months ago) #
Sigh. I could easily spend the next 3 hours googling all sorts of WP popups, trying to figure out if the allow shortcuts, emailing plugin authors, etc. etc. etc.
1. WP Codex is a useless, hostile place to ask a question.
2. Quora may work, especially given the new Pay for Answers feature.
3 Is there a Stack Overflow for WordPress?
Or someone here could possibly reply with an answer to shortcodes in popups in WP.....
Developer — 29th July 2011 (9 months ago) #
I've never used any, so that's why I couldn't point you in the direction of one. Also not at my dev computer, so can't give you the exact line to change in ours to enable it.
I don't think a pop up is what you are after anyway, for a registration form I would have thought a lightbox plugin would be better otherwise if user doesn't want to signup as soon as the page loads and the popup displays, then they have to reload the page to get the form back.
Member — 2nd August 2011 (9 months ago) #
Any word on ver 3?
Member — 2nd August 2011 (9 months ago) #
I having a problem with Membership Premium...it is generating the following error:
History:
I have the following Plugins installed or WordPress 3.2.1 (Network Configured):
Pay-To-Blog (Customized)
Membership 2.07
Subscription Premium
Marketpress
When I create a new blog for a member this is the error that occurs on their dash board.
Can you help me solve this proglem?
We are trying to build a customize membership system that allows our free members to have access to their own e-Store and Blogs and offer two other levels of memberships with various premium themes and plugins for additional costs.
Thank you,
Anthony Skinner
Developer — 2nd August 2011 (9 months ago) #
@askinner - as you're not use membership 2.1 beta, can you start a new thread on the forum with the same details - this thread is for 2.1 issues and i don't want to contaminate it with earlier version issues.
Member — 2nd August 2011 (9 months ago) #
@Barry Thanks, but do you think I could use the beta with my configuration?
Developer — 2nd August 2011 (9 months ago) #
It actually sounds like supporter would be the better option for you rather than membership - especially when version 3 comes out (beta here - http://premium.wpmudev.org/forums/topic/supporter-30-beta-release-help-us-test ) which will allow multiple levels.
Member — 3rd August 2011 (9 months ago) #
Just checking in re any sightings of Beta 3? Some guidance would be appreciated...
Member — 5th August 2011 (9 months ago) #
Hi guys is there an easy way to apply membership from the main site to cover sub sites. I am basically creating an all or nothing site and charging a monthly subscription for everything.
Or if its not possible is there an easy way to do this with a different plugin you can recommend.
Thanks,
Simon
Lifetime Member — 5th August 2011 (9 months ago) #
@vocally,
Yip, I use the same setup. My primary site domain.com fuels my entire network. What you need to do is add this code to your wp-config.php file
What the above code does is tell the membership plugin to use one set of global tables for your entire network.
You need to also have membership activated on each site you want to protect.
Special note: you will notice that some of the functionality is limited when running it over the network, what I have done leave the rules as empty and use a conditional statement...
And I add something like this to my theme template files especially the single.php, and also created some shortcodes etc
Then I activate the plugin and theme on all sites that I want to protect.
But, you will obviously find what works best for you... ;)
Lifetime Member — 6th August 2011 (9 months ago) #
@Barry,
I know it won't make it in beta 3, but feature request for future releases - "Pagination for subscriptions, levels, communication, url groups, pings via membership admin control panel"
Jonathan
Member — 6th August 2011 (9 months ago) #
@Jonathan,
Many thanks for the advise just a quick question, where would i put the conditional statement?
Thanks,
Simon
Lifetime Member — 6th August 2011 (9 months ago) #
As an example - using twenty-ten theme single.php we go to this section...
And change it to something like this
You can use those statements anywhere as it basically says.
Question:Does current user have this subscription (checks subscription id against user)
Answer: Yes this user has the above subscription - what would you like me to do
ELSE
Answer: No this user doesn't have the above subscription - what would you like me to do
"We", a few of us have had fun building a few shortcodes using the above principle here are some links to get you going...
http://premium.wpmudev.org/forums/topic/getting-membership-level-for-a-particular-user#post-105846
http://premium.wpmudev.org/forums/topic/password-protect-subscription-levels#post-107560
http://premium.wpmudev.org/forums/topic/i-want-only-one-no-access-message-when-post-contains-more-than-one-shortcode-how#post-101274
shortcodes are just a way to add code to a normal wordpress post, but you could use the code itself anywhere ;)
Jonathan
Member — 6th August 2011 (9 months ago) #
Hello
I just found some issue with this version. The plugin is on a website on production. I droped souscription for a member who has an admin role. It leads to this (only when we are connected with that login)
Warning: Invalid argument supplied for foreach() in /home/musicomp/public_html/wp-content/plugins/membership/membershipincludes/plugins/default.admin.rules.php on line 389Developer — 6th August 2011 (9 months ago) #
@BlueEyes What version of WP are you running? Have you upgraded from a previous version? Can you completely remove the membership files and upload the new version again to make sure that you have overridden all the files as you shouldn't be able to add (and therefore remove) subscriptions to admin users in this beta.
Member — 6th August 2011 (9 months ago) #
The last one of WP, of course
Not an upgrade, fresh new installation
the warning message dissapear after relogin
"remove the membership files and upload the new version" ?
impossible to do what you are asking, website is running with members
Developer — 6th August 2011 (9 months ago) #
Ok, if you're not running any admin side rules, then deactivate the admin rules in the Edit plugins page, or remove the default.admin.rules.php file completely.
Member — 6th August 2011 (9 months ago) #
Thanks Barry for your answer
I'm not sure to understand what you mean by "admin side rules"
Can you give me an example ?
Developer — 7th August 2011 (9 months ago) #
Click on the Edit Plugins menu under the main Membership menu.
Find the Plugin named Admin Side Rules and click Deactivate underneath it's name.
Developer — 7th August 2011 (9 months ago) #
By admin side rules, I mean the ones that show up underneath the admin menu on the levels page:
Member — 7th August 2011 (9 months ago) #
Oh Yes, now I remember these options. But I don't understand what is it for Main admin side rules ?
Can you explain ?
Developer — 7th August 2011 (9 months ago) #
Now I don't understand what you're asking. Basically, if you are not using any of the rules in that screenshot I posted, then deactivate the Admin rules plugin as you don't need it.
Member — 7th August 2011 (9 months ago) #
:)
I want to know what is the rule: Main admin side rules
Other rules are explicit, but there I do not know that this rule operates as functions.
Developer — 7th August 2011 (9 months ago) #
Nope sorry - not getting it. There is no rule "Main admin side rules"? There is a default admin rules plugin for membership, that adds some admin side rules (the ones I put in the screenshot above - http://premium.wpmudev.org/forums/topic/membership-version-21-beta-2#post-119728 ). One of these rules is causing you this error so you need to deactivate the plugin in order to get rid of the error.
Member — 7th August 2011 (9 months ago) #
Okay, but we need it for sure, or I really don't understand what it does with this activate, or without it....
Developer — 7th August 2011 (9 months ago) #
Ok, let's try this in the simplest of ways.
1. Are you using any of the rules in this screenshot? http://premium.wpmudev.org/forums/topic/membership-version-21-beta-2#post-119728
2. If No, the deactivate the Default admin rules plugin and those rules shown in that screenshot will go away - as will your error.
3. If yes, the which ones are you using?
Member — 7th August 2011 (9 months ago) #
I use all except "blog creation" and "favorite actions"
Developer — 7th August 2011 (9 months ago) #
In which case you'll have to stop using the Dashboard widgets one for now.
Member — 7th August 2011 (9 months ago) #
this is a copy of the settings
Developer — 7th August 2011 (9 months ago) #
Yep, ok - you'll have to remove it for now until I can work out what the error is.
Member — 7th August 2011 (9 months ago) #
Ok. Thanks to you; and Have a good day of rest tomorrow
Developer — 7th August 2011 (9 months ago) #
It's already tomorrow here :) 4am is technically tomorrow...
Member — 11th August 2011 (9 months ago) #
Sorry if this has been asked before, I haven't seen it. Just a quick question.
In the 2.1 beta 2 there is still an option to Enable membership / supporter integration. If I have discontinued using the original Supporter plugin and am now using Supporter 3.0 beta Pro Blogs, will enabling membership/supporter integration still work?
Thanks!
Member — 15th August 2011 (9 months ago) #
Still hoping to hear about the Supporter Membership integration.
Lifetime Member — 16th August 2011 (9 months ago) #
Hiya Barry,
Opened this topic awhile ago
http://premium.wpmudev.org/forums/topic/possible-performance-issue-membership-plugin
As I have been seeing some huge database queries using membership plugin. Found out that the issue is the communications (Funny thing is I don't even use them - haven't even set them up)
I think they are a nice feature - But it's not worth the extra load - can next release have the ability to switch it off entirely.
Database queries drop by 75% with communications switched off.
So future release request: Ability to remove / switch off communicaitons ;)
Thanks,
Jonathan
Member — 20th August 2011 (9 months ago) #
DavidM suggested I use the membership file you have posted here, to fix a problem described at http://premium.wpmudev.org/forums/topic/weird-code-on-site-for-non-logged-in-users#post-124607
My WP installation is 3.2.1
I overwrote the plugin with
membership-2.1beta2.zip but I am having the same problem with weird code showing up for non-logged in users at QueiroQueSepas.us
Ugh.
Member — 20th August 2011 (9 months ago) #
Don't know if it's been mentioned here yet but I just ran into an issue.
I had the stranger set to level "foo."
I created a URL Group to allow only a certain level to have access to certain pages but I decided I wanted everyone to have access for a short time so I put the URL group as a positive in all levels. (That was my only URL Group.)
This caused my main site to become protected content for all strangers (and presumably all users that weren't Super Admins. I didn't test further after I figured it out - didn't want my site down!)
When I removed the URL Group from the positive rules. Everything was OK again.
So it seems that adding a positive URL Group to the rules messed up everything. :(
Member — 4th September 2011 (8 months ago) #
When I try to add a new ping, it just goes to a wab page saying "goodPing();". What should I do?
http://markwinstein.com/wp-admin/admin.php?page=membershippings&action=edit&ping=
Member — 4th September 2011 (8 months ago) #
Also, the Protected Content Page redirect isn't working for me.
Feature request - I would like to be able to hide some pages altogether for different levels.
Member — 5th September 2011 (8 months ago) #
Regarding above, protected content page seems to only work if I have "none" as the free content level. Again, I would like to be able to hide some pages altogether from the navigation if the person doesn't have the membership level. Can you please elaborate on this?
Last - If I want a free membership level with registration, the registration works, but I'm not seeing a way to protect that level from spam memberships (e.g., a confirmation email). Can you please advise?
Member — 7th September 2011 (8 months ago) #
@BobWalsh if you are trying to embed the login form in a popup you can probably use the do_shortcode() function and some php. You would need the popup to allow for php, but it should probably work fine.
Member — 8th September 2011 (8 months ago) #
Just some issues with 2.1 beta 2:
1) As for older membership plugins, the customised registration procedure is fine but it requires a front-end login as well. The neatest way to do this is to use a sidebar login plugin like Theme My Login but you then need a registration link because Membership controls its own registration. Best way would be to add a front-end registration plugin like TML where the user can select registration which is obeyed even if the standard registration is switched off. I haven't found any such plug in and resorted to hacking my own suckerfish with a php switch on the register link if the user is logged in - it now shows the link to the Account details when logged in.
2) The Account details jQuery facility overran the right hand side on the theme I am using. I had to reduce the width div#account-form to 90% to make it look OK (and remove the horrid pink/lilac background!).
Become a member