Replies
- Brajesh Singh on September 12, 2016 at 12:25 pm in reply to: [Resolved] Auto rename uploaded Mediapress files for security #5551
Hi Bjoern,
I had a look at the code of this plugin.At the moment, The plugin lacks in many ways.
1. There is no way to access the created object
2. If you create another object from it, The hooks will rerun because of the constructorUntil the plugin exposes some way to access the created object or avoid resetting up of hooks, I don’t think I should post any code.
If you still want it, Please modify the plugin and add a line below this
add_filter('wp_handle_upload_prefilter', array(&$this, 'rename'));Like this
add_filter('mpp_handle_upload_prefilter', array($this, 'rename'));That will do it. It’s a bad idea anyway.
Hi Jaume,
How are you allowing people to join hidden group? Hidden groups should not be visible to the users.- Brajesh Singh on September 12, 2016 at 5:58 am in reply to: Feedback / Request : BP Member Type Generator + Conditional Profile Fields #5548
Hi Tom,
Thank you. I have started rewriting the whole plugin. It is going to take a week but the new version is super flexible and will have all bug fixes.If the above bug fix is very urgent(multi select), I can push and update for the current version too. Please let me know and I will do accordingly.
Thank you
Brajesh - Brajesh Singh on September 12, 2016 at 5:55 am in reply to: How to show number of photos instead of number of galleries? #5547
Hi,
I am sorry but the function that generates count does not have any filter at the moment.
https://github.com/buddydev/mediapress/blob/master/modules/buddypress/mpp-bp-component.php#L93Please wait for 1-2 weeks and when the 1.0.7 comes, Please ping me again. I will post the code.
- Brajesh Singh on September 12, 2016 at 5:35 am in reply to: Lightbox Responsivity on Mobile – Checking for Landscape or Portrait Orientation #5546
Hi Simon,
Thank you for posting.1. You should avoid getimagesize() due to performance reasons here. If you still want to use it, you can use mpp_get_media_path() that returns the file system path. mpp_get_media_src() returns the url. all functions without get is used to print.
2. Please try doing it via media query if possible. I am not able to look at it right today but this month huge updates are supposed to come for MediaPress, so most probably the lightbox will get some enhancements too.
Thank you
Brajesh Hi Peter,
Welcome to BuddyDev forums.If I understand, Is the structure like hierarchy
Site
–Organization 1
–Organization 2
—-District x
—-District Y
——Club C in District Y
——Club D In District Y—so on
You can achieve that with WordPress Multisite and WP Multi Network Plugin
https://wordpress.org/plugins/wp-multi-network/If you are looking to add social features to these sites, The BuddyPress Multi Network Plugin can handle for main site and organizations( 2 level ) but not beyond that.
As far as I understand, You should use WP Multi Network and customize the BuddyPress Multinetwork for the purpose.
Hope that helps.
Regards
Brajesh- Brajesh Singh on September 11, 2016 at 4:51 pm in reply to: BuddyPress Sitewide Activity Widget showing RSS link #5539
Hi Lucia,
Welcome to BuddyDev forums.Please visit Appearance->Widgets page and there in the Sitewide Activity widget setting you will see an option like this
Show Feed Link [] yes [] NoPlease check Now and save. That will do it.
Hope it helps.
Regards
Brajesh - Brajesh Singh on September 10, 2016 at 10:59 am in reply to: [Resolved] Very Basic JavaScipt Problem #5534
No problem. I am glad I could help.
Regards
Brajesh - Brajesh Singh on September 10, 2016 at 10:58 am in reply to: Media added on group all no longer showing #5533
Hi Rhys,
That is strange.If you are available tomorrow/day after tomorrow, Please drop me a message and I will debug it on the site.
Thank you
Brajesh - Brajesh Singh on September 10, 2016 at 10:04 am in reply to: Registration Sends Password Reset Email? #5532
Hi Charles,
An update is available now.https://buddydev.com/plugins/bp-ajax-registration/
Thank you
Brajesh