-
mud1 posted on the forum topic Display email on profilepage in the group How-To and Troubleshooting: 13 years, 7 months ago
function DisplayedUserEmail() {
global $bp;
echo $bp->displayed_user->userdata->user_email;
}
add_action( ‘bp_before_member_header_meta’, ‘DisplayedUserEmail’ ); // find the appropriate action where to you want to hook the actionor you can still call the function itself
-
mud1 posted on the forum topic Display email on profilepage in the group How-To and Troubleshooting: 13 years, 7 months ago
Hi there, function getDisplayedUserEmail() { global $bp; global $wpdb; $id = $bp->displayed_user->id; $request = “SELECT * FROM $wpdb->users WHERE ID =” . $id . “”; $result = $wpdb->get_row($request, ARRAY_A); return $result; } Here is a possible solution. Just copy/paste into either function.php or bp-custom.php. I had to this through database…[Read more]
-
mud1 joined the group How-To and Troubleshooting 13 years, 7 months ago
-
mud1 started the forum topic The Featured Content Loop in the group BuddyPress Media: 13 years, 8 months ago
Dear developers, I was wondering about that could it be possible to include the “featured content” class into a pre-release of 0.1.9? I want to display 2 queries on the main page, featured and recent pictures. Will 2 queries on the same page cause problems? Or will it work like WP_Query object? Maybe featured pictures […]
-
mud1 posted on the forum topic do_action( 'bp_album_featured_sitewide' ); in the group BuddyPress Media: 14 years, 2 months ago
Thank you for the bugfix 🙂
-
mud1 posted on the forum topic do_action( 'bp_album_featured_sitewide' ); in the group BuddyPress Media: 14 years, 2 months ago
OK, I did it.
I hope someone can figure it out. -
mud1 posted on the forum topic do_action( 'bp_album_featured_sitewide' ); in the group BuddyPress Media: 14 years, 2 months ago
It isn’t working for me. In previous nightly builds ( I guess in 07-23 ) it worked, but from 08-08 nightly it doesn’t. If someone manged to do this, please tell us how to do … maybe the error is in the plugin itself ( but it’s still awesome 🙂 If i set in the […]
-
mud1 posted on the forum topic filtering out everything in Activity stream, but BPA+ and post updates in the group BuddyPress Media: 14 years, 3 months ago
Thanks for the tip, M. I found ‘single_item’ and ‘multi_item’ type in the wp_bp_activity table. These are belong to the bp_album. However, none of them are working properly. When I use ‘multi_item’ in this line if ( bp_has_activities( ‘action=activity_update’) ) : bp_the_activity(); I only see that someone has uploaded a picture, but the pic…[Read more]
-
mud1 started the forum topic filtering out everything in Activity stream, but BPA+ and post updates in the group BuddyPress Media: 14 years, 3 months ago
Hi
I’d like to filtering the activity stream with this code:
if ( bp_has_activities( ‘action=activity_update’) ) : bp_the_activity();
but I want to replace ‘action=activity_update’ with a code which results that the activity stream will show only Album+ image uploads.
What am I supposed to use? What is the name of the ‘action’ ?
Thanks.
-
mud1 posted on the forum topic One Quick Post vs Jet QuickPress in the group Creating & Extending: 14 years, 3 months ago
I have the same question as @intimez mentioned above. Is it possible with OQP to submit post to frontpage and before it appears, admin can review the post first?
Thanks.
-
mud1 joined the group Creating & Extending 14 years, 3 months ago
-
mud1 posted on the forum topic Error when using do_action( ’bp_album_featured_sitewide’ ); [RESOLVED] in the group BuddyPress Album+: 14 years, 4 months ago
Thanks.
Will it be possible with Album+ to show featured user’s pictures in the wordpress sidebar ( or anywhere )?
When will be the final version released? -
mud1 started the forum topic Error when using do_action( ’bp_album_featured_sitewide’ ); [RESOLVED] in the group BuddyPress Album+: 14 years, 4 months ago
Hello I’m getting error when I’m trying to use this action. (bp_album_2010-06-26) I’d like to show random pictures on a wordpress page or wherever on the site, but I always get the same error: Warning: include(/home/myname/public_html/wp-content/plugins/bp_album_2010-06-26/includes../templates/album/content-sitewide.php) : failed to open stream:…[Read more]
-
mud1 joined the group BuddyPress Album+ 14 years, 4 months ago
@mud1
Not recently active