WordPress.org

Ready to get started?Download WordPress

Forums

Paid Memberships Pro
[resolved] Paid Membership Pro with BuddyPress (14 posts)

  1. Uchenna101
    Member
    Posted 12 months ago #

    Hello,

    Thank you for this plugin you created. It's helped me thus far. A huge part of the membership site, however, is BuddyPress. And I read that we can use BuddyPress with PMPro by locking the BP down with some code. I managed to get a hand on some code to do that, but it's not working. Here's what I added to the function.php of the theme folder. But it's not working.

    [That's too much code to post here - please use a pastebin per the forum guidelines - http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

    http://wordpress.org/plugins/paid-memberships-pro/

  2. Uchenna101
    Member
    Posted 12 months ago #

    By not working I mean that it is still accessible to non-members.

  3. WPyogi
    Volunteer Moderator
    Posted 12 months ago #

    Please see the note above in your post - you need to use a pastebin for posting that much code.

  4. Uchenna101
    Member
    Posted 12 months ago #

    Here's the link: http://pastebin.com/ZnxcVywG

  5. Uchenna101
    Member
    Posted 12 months ago #

    Thanks by the way, Mr. WPyogi.

  6. strangerstudios
    Member
    Plugin Author

    Posted 11 months ago #

    What specifically is still available? Do you understand how the pasted code works? Did you tweak it to work with your membership levels and URLs?

    This is something we typically help people with in our paid support forums:
    http://www.paidmembershipspro.com/pricing/

  7. Uchenna101
    Member
    Posted 11 months ago #

    For example, if someone tries to sign up but fails to pay, they still have a user account. For the most part, they're blocked from locked posts and pages, but the buddypress activity is still accessible to them. As users, they can also send messages and add friends to other users. This is something I don't want to be accessible to anyone who has an account, but paid members.

    I tweaked it a little bit. And I felt like I understood what I was doing, but it wasn't still working. I uncommented the function calls and added the specific membership ids. I also took out the function to block forums because I don't actually have a forum with my BuddyPress.

    Here's the link to the tweaked version: http://pastebin.com/ZnxcVywG

  8. strangerstudios
    Member
    Plugin Author

    Posted 11 months ago #

    Line 8 there is what determines which pages (URLs really) aren't accessible. Make sure that your URL structure matches those lines and that you add anything in there you need.

    $not_allowed = array("/^\/members\/$/", "/^\/activity\/$/", "/^\/groups\/$/", "/\/groups\/create\//", "/\/members\/[^\/]*\/groups\//", "/\/members\/[^\/]*\/settings\//");

    We can help you work this out if you sign up for support on our site.

  9. Slocum Themes
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Uchenna101,

    I'm going to resolve this ticket. As Jason said, if you'd like to sign up for support, you may do so here: http://paidmembershipspro.com/support

    Thank You

  10. akent64
    Member
    Posted 11 months ago #

    Can I ask, what file did you put this code in to hide buddypress features and pages from non-memberships?

    I would like to restrict users who do not have memberships from accessing the groups, activity and other pages. But allow the forums to membership levels ID=1 to ID=infinity

  11. akent64
    Member
    Posted 11 months ago #

    Is it also possible to link the wordpress and buddypress profile fields to PMPro?

  12. site123
    Member
    Posted 7 months ago #

    hello,

    you can use paid membership pro with buddypress using this simple plug in

    http://wordpress.org/plugins/private-bp-pages/

  13. mad2kx
    Member
    Posted 7 months ago #

    Hi akent64,

    did you manage to paste the correct code?
    If yes, may I ask to send me a copy of this code?

    Thank you very much in advance!!!

    regards

    Mad

  14. interglobalmedia
    Member
    Posted 5 months ago #

    Hi:

    You might want to try something called BP Registration Options. I haven't had to use it for people who haven't paid (yet), and I use another membership plugin at the moment, but the whole idea is that someone who signs up as a free user has to be moderated by the administrator. So, when you see that they have registered as free members, and thus have failed to pay, they still won't be able to gain access to the Buddypress area. This plugin prevents them from doing so, and you can choose not to accept them, AND deny them instead. That deletes their profile. I don't know about its compatibility with Paid Memberships Pro, but it's worth a try!

    Hope this helps.

Reply

You must log in to post.

About this Plugin

About this Topic