-
Henry Wright replied to the topic filter option: groups I created only in the forum Ideas 9 years, 5 months ago
Hi @alvin341965,
There’s a function that will help you do that. It’s called
groups_is_user_creator()
. The first step is to create a groups loop. The code on this page will do that for you. Then immediately after<?php while ( bp_groups() ) : bp_the_group(); ?>
you could add something like this:if ( ! groups_is_user_creator(…
[Read more] -
Henry Wright replied to the topic filter option: groups I created only in the forum Ideas 9 years, 5 months ago
Hi @alvin341965,
There’s a function that will help you do that. It’s called
groups_is_user_creator()
. The first step is to create a groups loop. The code on this page will do that for you. Then immediately after<?php while ( bp_groups() ) : bp_the_group(); ?>
you could add something like this:if ( ! groups_is_user_creator(…
[Read more] -
Henry Wright replied to the topic filter option: groups I created only in the forum Ideas 9 years, 5 months ago
Hi @alvin341965,
There’s a function that will help you do that. It’s called
groups_is_user_creator()
. The first step is to create a groups loop. The code on this page will do that for you. Then immediately after<?php while ( bp_groups() ) : bp_the_group(); ?>
you could add something like this:if ( ! groups_is_user_creator(…
[Read more] -
Henry Wright replied to the topic filter option: groups I created only in the forum Ideas 9 years, 5 months ago
Hi @alvin341965,
There’s a function that will help you do that. It’s called
groups_is_user_creator()
. The first step is to create a groups loop. The code on this page will do that for you. Then immediately after<?php while ( bp_groups() ) : bp_the_group(); ?>
you could add something like this:if ( ! groups_is_user_creator(…
[Read more] -
Henry Wright replied to the topic filter option: groups I created only in the forum Ideas 9 years, 5 months ago
Hi @alvin341965,
There’s a function that will help you do that. It’s called
groups_is_user_creator()
. The first step is to create a groups loop. The code on this page will do that for you. Then immediately after<?php while ( bp_groups() ) : bp_the_group(); ?>
you could add something like this:if ( ! groups_is_user_creator(…
[Read more] -
Henry Wright replied to the topic Buddypress notifications not working in the forum How-to & Troubleshooting 9 years, 5 months ago
Hi @sylkitt
The support forum of the Kleo theme told me it is not a theme problem but a Buddypress one.
Possibly, but let us be sure. Can you activate TwentyFifteen and test again?
-
Henry Wright replied to the topic How to customize labels ? in the forum How-to & Troubleshooting 9 years, 5 months ago
Hi @rodne
Which parts of the process are you struggling with?
-
Henry Wright replied to the topic admin-ajax.php high wait time on pingdom test in the forum How-to & Troubleshooting 9 years, 5 months ago
admin-ajax.php is known for being clunky, but not 10-second-wait clunky. Which plugins are you running? Which theme? And also do you have any custom code in place that calls admin-ajax.php?
-
Henry Wright replied to the topic admin-ajax.php high wait time on pingdom test in the forum How-to & Troubleshooting 9 years, 5 months ago
admin-ajax.php is known for being clunky. Which plugins are you running? Which theme? And also do you have any custom code in place that calls admin-ajax.php?
-
Henry Wright replied to the topic How to show sitewide activity in profile page in the forum How-to & Troubleshooting 9 years, 5 months ago
In that case, you can just do this:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
<?php while ( bp_activities() ) : bp_the_activity(); ?><?php locate_template( array( 'activity/entry.php' ), true, false ); ?>
<?php endwhile; ?>
<?php endif; ?>Unless you filter this, it’ll show everything.
Ref:…[Read more]
-
Henry Wright replied to the topic How to show sitewide activity in profile page in the forum How-to & Troubleshooting 9 years, 5 months ago
In that case, you can just do this:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
<?php while ( bp_activities() ) : bp_the_activity(); ?><?php locate_template( array( 'activity/entry.php' ), true, false ); ?>
<?php endwhile; ?>
<?php endif; ?>Unless you filter this, it’ll show…[Read more]
-
Henry Wright replied to the topic Sponsored Ads in the forum Requests & Feedback 9 years, 5 months ago
I haven’t used anything like this myself, but there may be people here who have?
-
Henry Wright replied to the topic How to show sitewide activity in profile page in the forum How-to & Troubleshooting 9 years, 5 months ago
Hi @nickofnight,
In order to see the sitewide activity stream, by default members can go to:
example.com/activity
. Activity related to a particular member can be seen by going toexample.com/members/username
Why don’t you just redirect everyone to the first link on login?
-
Henry Wright replied to the topic Sponsored Ads in the forum Requests & Feedback 9 years, 5 months ago
Hi @mecceo
Yes. You have 3 options:
Search for a plugin on the Plugin Directory
Write some code yourself. Feel free to ask any “how to” questions on here
hire a developer -
Henry Wright replied to the topic Sponsored Ads in the forum Requests & Feedback 9 years, 5 months ago
Hi @mecceo
Yes. You have 3 options:
Search for a plugin on the Plugin Directory
Write some code yourself
hire a developer -
Henry Wright replied to the topic Create alternate version of avatar on upload in the forum Creating & Extending 9 years, 5 months ago
Is the Buddypress avatar handled the same way as the normal WordPress thumbnails? i.e. functions?
No. See the
bp_core_avatar_handle_upload()
function for how avatars are uploaded in BP.Ref: https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-avatars.php#L794
-
Henry Wright replied to the topic bp_verify_nonce_request() not working in the forum Installing BuddyPress 9 years, 5 months ago
@nithin270 this shouldn’t be happening. To debug this your best bet is to deactivate all plugins, revert to TwentyFifteen and remove all custom code you have in functions.php. Then, one-by-one, activate each of your plugins, checking each time if the problem is introduced. This trial-and-error approach should hopefully allow you to find the culprit.
-
Henry Wright replied to the topic bp_verify_nonce_request() not working in the forum Installing BuddyPress 9 years, 5 months ago
Yes I know that. But what is the solution
I’m not really sure from the info you’ve provided. You’ll need to provide a more detailed outline of the problem.
-
Henry Wright replied to the topic bp_verify_nonce_request() not working in the forum Installing BuddyPress 9 years, 5 months ago
You shouldn’t change core files. Each time you upgrade BuddyPress your changes will be lost.
-
Henry Wright replied to the topic Retrieve a variable from a GET in the forum How-to & Troubleshooting 9 years, 5 months ago
I put it into my code file and also into functions.php but always empty.
I think this indicates there is something weird going on. My advice is to remove all custom code, disable all plugins and revert back to TwentyFifteen theme. Then try again. If it works then, we can be sure you have something on your install that’s conflicting. The task is…[Read more]
- Load More
@henrywright
Active 8 months, 2 weeks ago