Comments (34)
I almost sertain in the current state of the plugin you cant
from pmpro-multiple-memberships-per-user.
Same issue here
your old memberships are still available just go to yourdomaim.com/wp-admin/admin.php?page=pmpro-membershiplevels&edit=LEVELID
LevelID needs to be changed to your membership id (they auto increment so if you dont know your ones try 1 then 2 and so on)
That is to edit memberships .
Adding to groups i still havent worked out.
from pmpro-multiple-memberships-per-user.
Thanks for such a quick replay and i can see my old membership
But how can i add that membership in as group as you can see in screen short and even i can not add new membership in demo group
any idea?
from pmpro-multiple-memberships-per-user.
Groups are used to determine what memberships can go in parallel and which cant. im afraid i ended up skipping it and restricting users through front end from getting memberships of same group allocation.
from pmpro-multiple-memberships-per-user.
ok
i have scenario like i want give access of two different membership to my users under one access both membership level have different price
how can i do i do not want option like separate domains
from pmpro-multiple-memberships-per-user.
that should work perfectly fine
you can create a custom pricing table by creating a template for /membership-account/membership-levels/
on the bottom point it to checkout pages
<a href="/membership-account/membership-checkout/?level=15" class="btn btn-primary" style="width: 110px;"> Buy It </a>
You can also disable the button by checking for the membership like so
<a href="/membership-account/membership-checkout/?level=15" class="btn btn-primary" style="width: 110px;" <?php if (is_user_logged_in()) { if(pmpro_hasMembershipLevel(array(15))){ echo 'disabled'; }} ?>> Buy It </a>
from pmpro-multiple-memberships-per-user.
yes but how it work suppose
page A is only access by Membership A
page B is only access by Membership B
Now if any user purchase the Membership A and he want same access of Page B to if user purchase Membership B than they remove form accessing page A that is what main issue
Thanks
from pmpro-multiple-memberships-per-user.
The function i use is deep inside of plugin code and works wonders
<?php if(pmpro_hasMembershipLevel(array(15))): ?>
<div class="page-content">
<?php the_content(); ?>
</div>
<?php else: ?>
<h3>Buy our membership</h3>
<?php endif; ?>
pmpro_hasMembershipLevel(array(15))
will check if user has the membership id 15 (change to your membership number) you can add comma and additional memberships too (ie. pmpro_hasMembershipLevel(array(15,16,1,7))
)
from pmpro-multiple-memberships-per-user.
If membership matches that in if statement the user sees post or page content else it shows Buy our membership
from pmpro-multiple-memberships-per-user.
thanks
my only concern is if user have one membership already and purchase the another membership with exist login access can they access both restricted pages
Hope you understand
from pmpro-multiple-memberships-per-user.
Yes. account will return true for both if user has two memberships
If user has membership 1, 2
pmpro_hasMembershipLevel(array(1)) = true
pmpro_hasMembershipLevel(array(2)) = true
pmpro_hasMembershipLevel(array(1,2)) = true
pmpro_hasMembershipLevel(array(3)) = false
from pmpro-multiple-memberships-per-user.
thanks
let me test i am afraid because in back end it show as membership which is last buy that is why i am confuse
from pmpro-multiple-memberships-per-user.
U mean in Database it shows singe memberships ?
Check what you see on this /wp-admin/admin.php?page=pmpro-memberslist when looking at an account with 2 memberships it should show something like this (comma sepparated membership names)
from pmpro-multiple-memberships-per-user.
Thanks
but i can see last buy membership i can access the page with associate with membership b (Note: i have not used multiple membership add on)
from pmpro-multiple-memberships-per-user.
yes now if you activate multiple memberships and you buy membership A it should show both there
Note : this addon doesnt work with paypal
from pmpro-multiple-memberships-per-user.
alternatively go into your database and run equivalent of this (i use mysql)
INSERT INTO wp_pmpro_memberships_users (user_id,membership_id,initial_payment,cycle_period,status,startdate,enddate) VALUES (30,1,PRICEOFMEMBERSHIP,"","active",'2016-12-01','2017-12-20');
from pmpro-multiple-memberships-per-user.
Thanks
now i active the addons and check with stripe my membership list page blank and memberlist doesn't update
from pmpro-multiple-memberships-per-user.
front end
from pmpro-multiple-memberships-per-user.
It wouldnt be on the level page but on members list
What payment gateway are you using as this looks a bit different to anything i have seen
from pmpro-multiple-memberships-per-user.
please check above comment i have upload list page and i am using stripe
from pmpro-multiple-memberships-per-user.
can you show me the following page /wp-admin/admin.php?l&page=pmpro-memberslist&s=aakankshk
from pmpro-multiple-memberships-per-user.
Thanks now it is showing
from pmpro-multiple-memberships-per-user.
but i am still unclear about this why my members are level are blank list
if i want add two membership as group how can i add
from pmpro-multiple-memberships-per-user.
The addon seems to have flaws and doesnt seem to be supported by original authors so we are unable to obtain a reason for it
from pmpro-multiple-memberships-per-user.
ok and even membership level page having a issue is it default behavior of this plugin
from pmpro-multiple-memberships-per-user.
before i can see all member level added now it is blank
from pmpro-multiple-memberships-per-user.
i created a custom UI so i would not see it at all
from pmpro-multiple-memberships-per-user.
do you have any demo i can see please?
from pmpro-multiple-memberships-per-user.
/membership-account/
And i overwrote /membership-account/membership-levels/ to act as a pricing table
from pmpro-multiple-memberships-per-user.
ok i have already my site having 200+member and 5 membership level and if i use this addon does not it affect to my site or loose any data?
from pmpro-multiple-memberships-per-user.
i am on similar numbers and lost nothing . i would advise testing it locally rather than going live with all of it right away. issue i opened a week or so ago is my only minus to this as memberships stopped to expire but the solution was given there. also backticks need to be fixed same as the open pull request on it
from pmpro-multiple-memberships-per-user.
ok thanks for all help i looking forward to implement this as soon as possible if having issue i will add new issue
once again thank you so much for all help and support
from pmpro-multiple-memberships-per-user.
thanks
from pmpro-multiple-memberships-per-user.
Glad to be of assistance
from pmpro-multiple-memberships-per-user.
Related Issues (20)
- Issue with this add-on and the Captcha in PMPro checkout HOT 1
- Bug: MMPU removes TOS content history
- Membership level not added to new group HOT 3
- Conflict with ToolSet Backend UI Dialog Connect
- Bug: applydiscountcode AJAX call triggered twice
- Change membership level access does not send an email HOT 3
- The button cannot be translated "Checkout"
- One level per group setting not enforced correctly at checkout HOT 2
- Not working with the new version of PMPRO
- Default level not pulled from Membership Checkout Form block if set HOT 2
- Enhancement: Allow user to display level options in ASC Order on user admin page
- Error of type E_ERROR in PHP 8.0+ HOT 3
- Discount Pricing Issue
- Bug: Single checkout for multiple levels fails if the Stripe transaction requires SCA
- Customized levels page by membership request HOT 3
- New pmpro changes HOT 2
- Price logic in woocommerce HOT 1
- JavaScript Error on New Setups with No Levels
- Does not play well with RevolutionSlider HOT 1
- WordPress 5.6 jQuery version causing conflict with MMPU 0.7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pmpro-multiple-memberships-per-user.