Search Results for 'buddypress'
-
Search Results
-
I’m trying to set up a membership site and may go with WooCommerce Membership. But I have a hard time finding a way to solve a problem.
When a member’s membership (via WooCommerce Membership) is cancelled, his Buddypress WordPress user account is still active, which means he can still log in and freely contact other members. i need to find a way to restrict these cancelled members from accessing BP entirely, or at least from Private Message so they can’t contact other members.
So far the closest one i found is this thread
https://buddypress.org/support/topic/hiderestrict-access-to-private-messaging/#post-170393According to the note, USER_TO_DISALLOW would be my cancelled WooCommerce users. But I wouldn’t know which member would cancel (or their membership level) upfront so this codes don’t seem to work for my site. Besides, it’s 4+ years old and I’m not sure if it’s still relevant.
The other one is
https://buddypress.org/support/topic/restrict-private-messages/The moderator said there’s a hook available in BuddyPress called
messages_message_before_savewhich can be used to do things before a message is sent. But I don’t know how to write a function to customize it for my need.Can anyone help? If you happen to know any other membership plugins that can achieve this, I’d really appreciate if you can let me know.
Thank you.
Hey,
I run a site where everyone who registers can have their own blog, and the entries all show up on the homepage. Right now those posts on the front page link to their author profiles, but I would like them to link to their BuddyPress profiles instead.
I’ve tried searching Google for a way to do so but any code I find results in a white screen on my site. The only plugin to do this is over two years old and will likely not work.
How do I do this so that I will not get a white screen?
Thanks!