Forum Replies Created
-
In reply to: Mass Messaging
Is Mass Messaging a plugin?
In your code, just before
global $bp;, try adding this:if ( 1 == bp_displayed_user_id() ) { return; }Where
1is the ID of the member you would like to exclude.In reply to: How to leave a review for the buyerHi @franckw
This is a question you should ask WC Vendor Pro. BuddyPress doesn’t handle reviewing.
In reply to: Forum posts creating google crawl errorsHi @tel-wright
Try asking over at bbPress. They handle forum-related questions.
In reply to: You do not have access to this activityHey @udarmo
Thanks for the report. Can you open a Trac ticket for this so it can be investigated?
In reply to: how to install buddy press for php websiteThis is more of a WordPress question than something specific to BuddyPress. Try asking here https://wordpress.org/support/
In reply to: User editing nicenameThis isn’t possible using BuddyPress by default but there are plugins that will help you do this.
In reply to: Logged in status not holdingIn your experience how compatible is buddyboss?
I’ve used a good number of BuddyBoss plugins and themes with BuddyPress without problems. If you do find an issue be sure to report it to them, their support is very good.
In reply to: Latest Stable Version2.9 is the latest stable version. You can download here: https://wordpress.org/plugins/buddypress/
In reply to: Latest Stable Version2.9 is the latest stable version. You can download here: https://wordpress.org/plugins/buddypress/
In reply to: BuddyPress pages are blankThis might be a theme issue. Try contacting the theme author. Hopefully they can issue a fix. It might be worth mentioning Twenty Fifteen doesn’t have the problem.
You would need to use regular expressions to determine if a phone number or email address was used in the message text. However, writing a regular expression for an email address is notoriously difficult.
In reply to: Issue With YITH Frontend Manager Pluginthe probleme disappears only when i deactivate YITH Frontend Manager for WooCommerce Premium
We’ve found the culprit 🙂
In reply to: Get activity item title – best optionI just don’t know what impact this will have on overal performance when I go wish in other tables for content.
It depends. WordPress and BuddyPress do a great job when it comes to optimising queries but there are things that will cause a big site to simply fall over (the meta_value column isn’t indexed for example so meta querying could be problematic).
In reply to: Get activity item title – best optionget_post()will get a WordPress post from the wp_posts table. This is different to a BuddyPress activity item which is stored in the wp_bp_activity table.In reply to: Help with this codeis_user_logged_in()is a WordPress function. It’ll returntrueif the user is authenticated andfalseif not.bp_loggedin_user_id()will return the ID of the BuddyPress member currently logged in.The two functions are different.
In reply to: Remove Base@thomaslpu The image you posted seems to be broken.
In reply to: Warning: Illegal string offset ‘slug’What code do you have at line 102 in themes/buddyapp/lib/plugins/buddypress/navigation-icons.php?
In reply to: Change member URL on members directory page?You can change the URL of that page in the admin area (see Pages).
In reply to: Can I make this Profile data any better?empty()is also useful in these situations.In reply to: Can I make this Profile data any better?You could use a loop but considering there’s just 3 items, it looks readable enough to me.
In reply to: Conditional redirect for non-logged in usersIs https://www.example.com/example/ a WordPress page? If it is you can target it with
if ( is_page( 'example' ) ) { // Do something. }Also, I just added the code below and I can still access the members directory when not logged in
Where did you add the snippet? The code should work.
In reply to: Conditional redirect for non-logged in usersThe code should go in your bp-custom.php file.
Ref https://codex.buddypress.org/themes/bp-custom-php/
That looks like it would work for my members directory but what about doing this for a conditional redirect for a specific post page?
Which post page are you referring to?
In reply to: Conditional redirect for non-logged in usersHere’s an example which will redirect all unauthenticated members/ page visitors to the homepage.
add_action( 'init', function() { if ( ! is_user_logged_in() && bp_is_members_directory() ) { bp_core_redirect( site_url() ); } else { // Do nothing. } } );Feel free to change
site_url()to the URL of your landing page.