Replies
- Brajesh Singh on September 4, 2020 at 8:55 am in reply to: [Resolved] Member Types plugin – Checkboxes and Radio buttons #32983
Hi Marko,
Welcome to BuddyDev forums.Please use an image sharing service like
https://prnt.sc/
https://snipboard.io/
https://imgur.com/to post the screenshot and share.
Thank you
Brajesh Please do not copy the code from email(if you have notifications enabled). Please use it form here.
Hi bob13,
The best way to delete groups will be using database.If you are comfortable with database, Please follow the steps below. Please note that these can not be undone.
1. Take a complete backup of your database. In case something goes wrong, you can restore.
2. Find the user id. I am assuming it is 2. It should be some numeric id.
3. Find the table prefix . I am assuming it is wp_. You will need to replace the prefix and user id in all the queries below.
4. View all groups from that user, you may run
SELECT id FROM wp_bp_groups WHERE creator_id=24. Clean Group meta
Check meta entries count for these groups
SELECT COUNT('*') FROM wp_bp_groups_groupmeta WHERE group_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )Delete all these meta
DELETE FROM wp_bp_groups_groupmeta WHERE group_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )5. Clean members table
Check the number of members in these groups.
SELECT COUNT('*') FROM wp_bp_groups_members where group_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )Delete these entries
DELETE FROM wp_bp_groups_members where group_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )6. Clean activity table.
View entries count.
SELECT COUNT('*') FROM wp_bp_activity WHERE component="groups" AND item_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )Delete entries
DELETE FROM wp_bp_activity WHERE component="groups" AND item_id IN( SELECT id FROM wp_bp_groups WHERE creator_id=2 )6. Finally, Delete all groups
DELETE FROM wp_bp_groups WHERE creator_id=2That’s all.
Do not forget to take a backup before any of these command.Regards
BrajeshPS:- In future, Please open your own topic for discussion.
- Brajesh Singh on September 3, 2020 at 7:07 pm in reply to: MediaPress Gallery in BP User Profile #32974
Hi Matteo,
Thank you for using the plugin.
Using the code
mpp_get_template('gallery/loop-gallery');may work. We haven’t tried it though.
Your bets bet is to either use the shortcode or the MPP_Gallery_Query to create custom list
https://buddydev.com/mediapress/shortcodes/mediapress-gallery-listing-shortcodes/
https://buddydev.com/mediapress/core/mpp_gallery_query/
Regards
Brajesh - Brajesh Singh on September 3, 2020 at 6:56 pm in reply to: Interest in MEDIAPRESS – Questions #32973This reply has been marked as private.
- Brajesh Singh on September 3, 2020 at 3:18 pm in reply to: BuddyCircle w BuddyBoss theme update throws backend critical error! #32962
Hi Troy,
I am sorry for the inconvenience. The origin of error was some other plugin returning string or not returning array.
It is expected to have array.I have put a check for now to make sure we do not try to add items if an array is not given to us.
Please upgrade to 1.1.0 and let me know if that works for you or not?
Regards
Brajesh - Brajesh Singh on September 1, 2020 at 5:58 am in reply to: [Resolved] BuddyPress Profile Visibility Manager – 2 Fields select don't appear in admin #32913This reply has been marked as private.
- Brajesh Singh on September 1, 2020 at 5:55 am in reply to: Interest in MEDIAPRESS – Questions #32912This reply has been marked as private.
- Brajesh Singh on September 1, 2020 at 5:42 am in reply to: BuddyPress Moderation Tools – Users are able to report their own Comments, #32911
Hi John,
No, That won’t work.The example was for the code inside a function and putting it in template file will have issues rendering template when the first condition matches.
May I ask a question:- What are your goals with these buttons. What kind of customisation you need? If you can tell me, I can make it easier in the next update.
Is it your goal to just change the placement? or do you want to modify the markup/css?
Thank you
Brajesh - Brajesh Singh on September 1, 2020 at 5:38 am in reply to: [Resolved] what plugin to use on my buddypress dating site to show opposite genders profile #32908
Thank you.