Replies
I am sorry for delayed reply. Will look once more tomorrow and then post back.
Thank you
BrajeshThank you.
The handling of deletion is exactly as you expect. Individual thumbnails can not be deleted by the user. if they delete the image, all versions of the images are deleted.I will look at the most efficient way of showing the size and will post back.
PS: I believe the best way to show the size is to use the size of the original image.
Thank you
Brajesh- Brajesh Singh on July 11, 2016 at 3:57 pm in reply to: [Resolved] bp-ajax-registration not working #4658
Thank you. Marking it as resolved.
Regards
Brajesh - Brajesh Singh on July 11, 2016 at 2:36 pm in reply to: [Resolved] bp-ajax-registration not working #4656
Thank you Jerry.
I noticed two things.1. The css selector is applied to the list item and not anchor. In that case, ‘bp-ajaxr’ is not a good choice. Instead, please use ‘bp-signup’
2. You are using kleo theme that includes magnific popup, so the popup won’t work yet. Please put this code in your functions.php or bp-custom.php and both the ajax registration and kleo popups will work fine.
add_action( 'wp_enqueue_scripts', 'kleo_remove_magnific_files', 100 ); function kleo_remove_magnific_files() { if ( ! is_user_logged_in() ) { wp_dequeue_script( 'magnific-popup' ); } }Please do let me know if it works for you or not?
- Brajesh Singh on July 11, 2016 at 1:52 pm in reply to: Need help with links, BuddyPress Notify Post Author on Blog Comment #4653
Hi,
I missed the last post. Will post today. - Brajesh Singh on July 11, 2016 at 1:51 pm in reply to: [Resolved] bp-ajax-registration not working #4652
Hi Jerry,
My apologies.
You have added the css correctly.Can you please point me to the site? Just need to check if it is a javascript conflict?
Thank you
Brajesh - Brajesh Singh on July 11, 2016 at 8:16 am in reply to: [Resolved] BP Custom Background for User Profile – not working when site has background set #4646
Hi Leigh,
Thank you. That is a css issue on the site. Your theme use different selectors. Please put this in your bp-custom.php
add_filter( 'bppg_iwilldo_it_myself', '__return_true' );//do not generate css for us //Our own css function buddydev_custom_inject_css() { if ( ! function_exists( 'bppg_get_image' ) ) { return ;// no trouble when the plugin is disabled } $image_url = bppg_get_image(); if ( empty( $image_url ) ) { return; } $repeat_type = bp_get_user_meta( bp_displayed_user_id(), 'profile_bg_repeat', true ); if ( ! $repeat_type ) { $repeat_type = 'repeat'; } ?> <style type="text/css"> body.is-user-profile .site{ background: url(<?php echo $image_url; ?>); background-repeat: <?php echo $repeat_type; ?>; } </style> <?php } add_action( 'wp_head', 'buddydev_custom_inject_css', 200 );That will make it work.
Also, Please never share sensitive information in another user’s topic. It is fine if you are the topic owner/creator . All topic owner may see the data. Please change the credentials.
Thank you
Brajesh Hi Carleton,
1.For Image, It is possible to show that info with little code but that will not make any sense. MediaPress creates 3 copies(thumb, mid, large) and keeps the original image as well. So displaying the stat for the displayed image will not make much sense without adding the details for all of these three. If we do add these three, It will confuse the user.
So, what do you suggest will be good idea?
Hi Carleton,
Yes, you can enable that from MediaPress->settings->General and checkingShow upload Quota?to yes.
Does that work for you or not?
Thank you
BrajeshThank you for the kind words 🙂