Replies
- Brajesh Singh on January 28, 2019 at 3:42 pm in reply to: [Resolved] Hiding Admin from activity stream, Recently Active Members widget etc #20544
Thank you Edward,
For others looking for the same,
The code is from the blog post. Please see the post for details.
https://buddydev.com/hiding-users-on-buddypress-based-site/Regards
Brajesh - Brajesh Singh on January 28, 2019 at 3:38 pm in reply to: enable anonymous topic & reply post on bbpress #20543
Thank you.
That’s good to know.I was wrong in suggesting to put it in your theme’s functions.php
Please put it in bp-custom.php(Sorry for the inconvenience, In next version, I am adding it in the settings)
1. If you have bp-custom.php in wp-content/plugins directory, Please add that line at the bottom
2. If the file is not present, create a file named bp-custom.php in your plugins directory and put the following content
<?phpand then put the code from above.
Regards
Brajesh - Brajesh Singh on January 28, 2019 at 3:26 pm in reply to: enable anonymous topic & reply post on bbpress #20541
I am sorry, Is there a chance that you are trying to use the plugin on a non BuddyPress site?
- Brajesh Singh on January 28, 2019 at 3:19 pm in reply to: [Resolved] How to make BP members directory look better on mobile #20539
Please link me to your directory.
Regards
Brajesh - Brajesh Singh on January 28, 2019 at 3:17 pm in reply to: enable anonymous topic & reply post on bbpress #20538
Hi Faiz,
You will need to put this lineadd_filter( 'bp_anonymous_activity_enable_forums', '__return_true' );In your theme’s functions.php
Please note that it will not make any email or notification(or activity stream recording of the forum activity) as anonymous. Only forum topics/replies will be anonymous.
Regards
Brajesh - Brajesh Singh on January 28, 2019 at 2:26 am in reply to: How can I restrict users from uploading media based on their user role? #20530
Hi Peter,
Thank you for asking.In MediaPress, we have various filters available to allow it.
Here is an example that restricts gallery creation and media upload to 2 per user. Please feel free to extend it.
https://gist.github.com/sbrajesh/928d36128afe48cd6cdf29a47a232abb
Regards
Brajesh Hi,
Thank you for using MediaPress.Please share a screenshot to show me the issue.
Thank you
BrajeshHi Steve,
Welcome to BuddyDev.I know it seems strange that .mov is not playable but there goes a lot behind it.
mov is not a supported html5 playable media format.https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats
We use the default player that comes with WordPress, It is only capable to playing html5 supported media formats.
There is a way that people use to make .mov files playable. It is done via transcoding. Converting one format to another.
We do have a plugin that transcodes locally(It needs FFMPEG software on the server). This works for normal sites but it wont be a good idea for larger sites.
You could use the transcoder from here
https://buddydev.com/support/forums/topic/mov-format-video-not-playing/page/4/#post-17063Regards
Brajesh- Brajesh Singh on January 26, 2019 at 11:34 am in reply to: [Resolved] Hiding Admin from activity stream, Recently Active Members widget etc #20518
Hi Edward,
The code does not remove admin’s activity from activity stream. It only disables the recording of “last activity time” of a user.Regards
Brajesh - Brajesh Singh on January 26, 2019 at 11:33 am in reply to: [Resolved] BuddyPress Xprofile CFT – Custom post type selector from a custom table #20517
Hi Mozart,
Yes, That was a bugWe fixed it here
https://github.com/buddydev/bp-xprofile-custom-field-types/commit/ef579f45dffd7ace046054a51b376e7bd26c93c3But missed to push on wp.org. Will do by tomorrow.
Thank you
Brajesh