Replies
- Ravi on December 29, 2017 at 10:45 am in reply to: [Resolved] Buddyblog: Hide certain Categories and Tags #12597
Hello PresPhuture,
Please upload the image to https://postimg.org and post the link here.
Regards
Ravi - Ravi on December 27, 2017 at 11:10 pm in reply to: [Resolved] Buddyblog: Hide certain Categories and Tags #12580
Hello PresPhuture,
Thank you for the acknowledgement. Can you please provide me with the screenshot of the BuddyBlog settings screen. Also if you are modifying BuddyBlog settings programmatically post me the code too.
Thank You
Ravi - Ravi on December 27, 2017 at 9:44 am in reply to: [Resolved] Buddyblog: Hide certain Categories and Tags #12577
Hi PresPhuture,
I have tested the code on my local server and it is working fine. Are you dealing with normal WordPress post categories or other custom taxonomy categories?. Please let me know.
Regards
Ravi - Ravi on December 27, 2017 at 7:24 am in reply to: Need Help with buddypress core files (advanced user question) #12576
Hello Robert,
Merry Christmas and WelCome to BuddyDev. Things you are looking can be easily doable. Just follow the following steps
Step 1. For showing the ads before user navigation. Just copy the ‘home.php’ file and paste it to the active theme in a manner like
wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php
to
themes/your-active-theme/buddypress/members/single/home.php
and paste ads code before <div id=”item-nav”> this line
Step 2: To add div in activity loop. Just copy the ‘entry.php’ file and paste it to the active theme in a manner like
/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php
to
/themes/your-active-theme/buddypress/activity/entry.php
and do the modifications.
Please let me know. if it works or not.
Thank You
Ravi Hello Vikas,
Welcome to BuddyDev.
Most probably there may be chances that plugin unable to find possible friend suggestions due to lack of user data for the small network. If you are on development server you can import demo BuddyPress content using the bp-default-data plugin and then can check the functionality of the plugin.
Thank You
Ravi- Ravi on December 21, 2017 at 9:49 am in reply to: [Resolved] Multiple blank comments after multiple image upload? #12530
Hello Audiomonk,
I have tested MediaPress 1.3.0 with Huge-IT Lightbox with the previously provided templates and those are working fine. Activity and single gallery media are open in Huge-IT lightbox view.
Regards
Ravi Hi Graham,
Thank you.
Here is my strategy.1. On media edit page where we apply the effects, I am generating client-side preview using CamanJs. It uses canvas to show the instant client-side preview.
2. Once a user applies an effect, we get the details of the effect and on the server side we apply the same effect via PHP on the original image and regenerate the various media sizes.
We also keep a backup of the original image to make sure that we can revert back or let the user apply other effects in future.Please do let me know your suggestions.
Thank you
Ravi- Ravi on December 11, 2017 at 9:21 am in reply to: [Resolved] BuddyPress Group Activities Notifier – Email Group Admin Only #12230
Hello Graham,
Brajesh sir is away that’s why I am posting here.
Try the following code in your ‘bp-custom.php’ file to notify by email Group’s admin.
function buddydev_mail_on_new_group_activity( $user_ids, $args ) { if ( empty($user_ids ) ) { return ; } $group = new BP_Groups_Group( $args['group_id'] ); $loggedin_user_display_name = bp_get_loggedin_user_fullname(); $activity = new BP_Activity_Activity( $args['activity_id'] ); $activity_content = $activity->content; $activity_permalink = bp_activity_get_permalink( $activity->id, $activity ); $subject = sprintf( '%1$s posted to %2$s', $loggedin_user_display_name, $group->name ); $message = <<<'MAINCONTENT' Hi %1$s, %2$s posted... %3$s Link: %4$s MAINCONTENT; foreach ( $group->admins as $admin ) { $message = sprintf( $message, bp_core_get_user_displayname( $admin->user_id ), $loggedin_user_display_name, $activity_content, $activity_permalink ); wp_mail( $admin->user_email, $subject, $message ); } } add_action( 'bp_group_activities_notify_members', 'buddydev_mail_on_new_group_activity', 10, 2 );
Please let me know if it works or not.
Thank You
Ravi - Ravi on December 11, 2017 at 2:34 am in reply to: [Resolved] BuddyPress Member Type Generator – types do not show #12226
Hello VG,
Thank you for posting. Please debug in following way
1. Deactivate all other plugins except BuddyPress and Member type generator. check if member type shows or not.
2. If still not showing then check whether the member type is active or not. You can see on all member type listing table. If member type is not active mark it as active.Please let me know if the issue still persists or not.
Thank You
Ravi - Ravi on December 9, 2017 at 11:51 pm in reply to: [Resolved] MediaPress type=photo pagination not working #12203
Hello Richard,
Brajesh sir is away that’s why I am posting here.
I have tested this shortcode with MediaPress version 1.1.9 and it is working fine for me. Is there any custom code you are running for MediaPress.
Yes, MediaPress Media list has order by support into the shortcode. You can use this. Other supported values for this attribute are “none, id, user, title, slug, date,modified, random, comment_count, meta_value,meta_value_num, ids”