-
Slava Abakumov replied to the topic Need help combining bp_has_members() values to customize members loop in the forum How-to & Troubleshooting 10 years, 3 months ago
Please read carefully what I have written in my code section.
// this function should return array with users ids, like this: array(123,3423,21,34231
Your
my_custom_ids()returns a comma separated string with redundant text, while it should return an array or just comma separated list. Instead of$custom_ids_str = 'include=' . implode(",",…[Read more] -
Henry Wright replied to the topic phpMyAdmin in the forum How-to & Troubleshooting 10 years, 3 months ago
You could deactivate BuddyPress and leave the tables in the database without any problems. If you do choose to remove the tables, take a look at the BuddyPress Database Diagram which might be helpful.
-
Ryan Hellyer replied to the topic bp_activity_add() creating double activities in the forum Creating & Extending 10 years, 3 months ago
Yes, here is the code:
https://gist.github.com/ryanhellyer/c31bf993d55e1d7450a8 -
Ryan Hellyer started the topic bp_activity_add() creating double activities in the forum Creating & Extending 10 years, 3 months ago
I have a post-type which I want to add to the activity stream. I can do this easily with
add_post_type_support( 'events', 'buddypress-activity' );.But I sometimes want to add an activity to specific BuddyPress groups. To do this, I’m using
bp_activity_add(). This works when the add_post_type_support() function call is in place, but I end up with…[Read more] -
Henry Wright's profile was updated 10 years, 3 months ago
-
Ryan Hellyer replied to the topic Manually generating group activity in the forum Creating & Extending 10 years, 3 months ago
Awesome! Thanks 🙂
In that case the information I wanted was contained in the page that I linked to, I just didn’t realise it 😉
-
Ryan Hellyer started the topic Manually generating group activity in the forum Creating & Extending 10 years, 3 months ago
I am having dreadful trouble working out how to add a BuddyPress activity to a specific group.
The bp_activity_add() function does not seem to offer any way to specifically target a single a specific group.
Do any of you know how to do this? Thanks 🙂
-
Henry Wright replied to the topic double information on profile in the forum How-to & Troubleshooting 10 years, 3 months ago
In that case, try looking through your theme’s templates. Make sure you’re not outputting the data twice. Also check the filter and action hooks you have set up to be sure nothing is outputting twice.
-
Henry Wright replied to the topic how to block access for buddypress pages for non-logged users? in the forum Requests & Feedback 10 years, 3 months ago
Which plugins did you try?
-
Henry Wright replied to the topic how to block access for buddypress pages for non-logged users? in the forum Requests & Feedback 10 years, 3 months ago
There should be plugins available that can do this. Have you tried searching the WordPress Plugin Directory?
-
Henry Wright replied to the topic double information on profile in the forum How-to & Troubleshooting 10 years, 3 months ago
This is most likely to be a theme issue. Is there any way you can try with Twenty Fifteen?
-
Mark replied to the topic Need help combining bp_has_members() values to customize members loop in the forum How-to & Troubleshooting 10 years, 3 months ago
Hi @slaffik,
The code I am using on in my template is below. I am positive females are online as this is running on my local box and I have multiple female and male testing accounts that I am using for testing.
<?php[Read more]
$user_ids = my_custom_ids( 'gender', 'female' );
if ( bp_has_members( array( 'type' => 'online', 'include' => $user_ids ) ) ) :… -
Stephen Edgar updated the Languages and Translations page, on the BuddyPress Codex 10 years, 3 months ago
Like WordPress, BuddyPress has the built in capability to be used in any language. The instructions below assume you have already configured WordPress in Your Language and Installing WordPress in Your […]
-
Henry Wright replied to the topic pages are being redirected to groups directory in the forum How-to & Troubleshooting 10 years, 3 months ago
You should try disabling all custom code you’ve introduced (theme, plugins, functions) to see which bit is causing the problem.
-
Henry Wright replied to the topic Notifications 404 in the forum How-to & Troubleshooting 10 years, 3 months ago
Notification links sometimes point directly to single activity items. If the activity item is deleted, you’ll get a 404 after clicking the notification. Could that be happening?
-
Slava Abakumov replied to the topic Need help combining bp_has_members() values to customize members loop in the forum How-to & Troubleshooting 10 years, 3 months ago
Please post all your code in pastebin, including
my_custom_ids(). And are you sure, that you have any females online? -
Mark replied to the topic Need help combining bp_has_members() values to customize members loop in the forum How-to & Troubleshooting 10 years, 3 months ago
Anybody else have any ideas as to why this function isn’t working?
Thanks!
-
Mark replied to the topic Need help combining bp_has_members() values to customize members loop in the forum How-to & Troubleshooting 10 years, 3 months ago
Hi @slaffik,
Thank you for helping me. Unfortunately, tried th function and it did not work. Do you have any ideas?
Regards,
Mark
-
Slava Abakumov replied to the topic PUBLIC MESSAGE in the forum How-to & Troubleshooting 10 years, 3 months ago
That’s the problem with the theme template files (if it redefines BuddyPress templates) or css/js. To make sure that this is with you theme – try to activate via customizer any other theme (like 2015 or 2016), Post button should be on its place.
You can also investigate the source code of your page to make sure that it has a button
#aw-whats-new-s…[Read more] -
Slava Abakumov replied to the topic How could all activities for a user be deleted? in the forum How-to & Troubleshooting 10 years, 3 months ago
When a user is marked as spammer – all user activity/groups data is deleted. Only admins can do that, AFAIK.
There are no logs or records for this action. And this action is irreversible. - Load More