Replies
- Brajesh Singh on August 2, 2016 at 2:35 am in reply to: [Resolved] How to open gallery media in lightbox #4869
Thank you. Glad you fixed it. Thank you for marking resolved.
- Brajesh Singh on August 2, 2016 at 2:34 am in reply to: [Resolved] BP Custom Background For Users Profile plugin #4868
Hi Andrew,
no problem.
Please use this code instead.
http://pastebin.com/VyqiYCuLHope that helps.
- Brajesh Singh on August 2, 2016 at 2:28 am in reply to: [Resolved] Media Title Not Showing Up Under Thumbnail or in Lightbox #4867
Hi Simon,
Welcome to BuddyDev.
Thank you for using MediaPress.I am sorry for the inconvenience. We did disable the title in default template sometime ago(on grid pages but kept on single).
There are multiple ways to add it back. Here is the simplest way to do it. Please put it in your functions.php
add_action('mpp_after_media_item', 'mpp_media_title');All it does is puts the title at the bottom. You may use the action ‘mpp_before_media_item’ to put at the top.
Another way is you can completely control the output of mediapress. All you need to do is create “mediapress” template in your theme or child theme and then copy the relavant files from wp-content/plugins/mediapress/templates/mediapress to hare and modify.
The second approach is best suited for theme authors, since you are looking for small modification, i will suggest using the first approach.
Hope that helps.
Thank you
Brajesh - Brajesh Singh on August 2, 2016 at 2:19 am in reply to: [Resolved] Message Privacy – Default Settings Code #4865
Hi Carl,
Welcome back 🙂
We are doing well and hope the same for you.Is there any chance that you are using a plugin that does some thing with the user activation? Like our Auto Activate Auto Login redirect plugin or something similar?
The above code is hooked to activation action, so just trying to find out a possible reason.
Btw, did you put it in bp-custom.php or functions.php?Thank you
Brajesh - Brajesh Singh on August 1, 2016 at 9:38 am in reply to: [Resolved] BP Custom Background For Users Profile plugin #4857
Hi Andrew,
Thank you.
Is that the only content in your functions.php ?
If yes, all we need to do is add http://pastebin.com/smwaUGXMBut if it is not all the content of functions.php, then pleas post the complete content.
Thank you
Brajesh- This reply was modified 9 years, 8 months ago by
Brajesh Singh.
- This reply was modified 9 years, 8 months ago by
- Brajesh Singh on August 1, 2016 at 2:00 am in reply to: [Resolved] BP Custom Background For Users Profile plugin #4855
Hi Andrew,
I am sorry that you had to go through such inconvenience.
Most probably, The code got mixed in functions.phpMay I ask if you are comfortable with php? If not, Can you please post the code on pastebin? I can update the file myself.
I will update this plugin in future to allow using selector from the backend settings to make it easy. For now, I don’t see another alternative.
HI Mike,
I am sorry, The code should be this for gallery.widget_mpp_gallery_list_widget .mpp-u-1-1{ width: 50% !important; }Please use it instead. Hope that helps.
Hi Lavish,
Which plugin are you using for enabling MailGun? Most probably it is not underatnding the html email headers.Hi Mike,
You can add another rule after.widget_mpp_media_list_widget .mpp-u-24-24{ width: 50% !important; }.widget_mpp_gallery_list_widget .mpp-u-24-24{ width: 50% !important; }That will do it.
hope that helps. I had provided the code for text aligning left as I read in your posts you wanted something like that.
I am glad you found the default to be better 🙂Hope this helps.
Regards
BrajeshHi Nick,
Are you using MediaPress 1.0.6?If yes, It can be easily done.
Step 1: Force MediaPress to avoid creating the context gallery on demand:-
remove_filter( 'mpp_get_context_gallery', 'mpp_get_activity_wall_gallery', 10, 2 );Now, Provide your own context gallery helper by adding to the filter ‘mpp_get_context_gallery’ Please see how we do it in
mpp_get_activity_wall_gallery()You can check the $args’component’] ==’groups’ to check it it is for groups wall gallery. Hope that helps.