-
meg@info replied to the topic [Resolved] How to remove "Favorite" function in the forum How-to & Troubleshooting 10 years, 7 months ago
hi!
add this code to your functions.php file.
https://gist.github.com/dzmounir/8542954 -
meg@info replied to the topic how to remove "all member" tab in members directory in the forum How-to & Troubleshooting 10 years, 7 months ago
Hi @gunjesh123,
This is can’t be done by filters, the only solution is by using Javascript (or edit template file but i dont suggested do that).
Try this code, this should work
https://gist.github.com/dzmounir/8524437
Add the code to functions.php of your current theme.
-
meg@info replied to the topic BuddyPress Activity Privacy in the forum Third Party Plugins 10 years, 7 months ago
Hi @dtc7240,
And many thanks for effort, that was problem and i was fixed it i think last night ( version 1.2.2 ).
here new code
[Read more]
// mentioned members can always see the acitivity whatever the privacy level
if ( $visibility != 'mentionedonly' && $bp_loggedin_user_id && $remove_from_stream ){
$usernames =… -
meg@info replied to the topic 1.9.1 Member page not displaying correctly in the forum How-to & Troubleshooting 10 years, 7 months ago
Hi @jayjaym,
Remove “buddypress” tag from wp-content/themes/platfrom/style.css
Tags: buddypress, rtl-language-support, editor-style, theme-options, one-column, two-columns, three-columns, left-sidebar, right-sidebar, flexible-width, custom-menu, fixed-width, threaded-comments, custom-background, custom-header, custom-colors, custom-menu,…
[Read more] -
meg@info replied to the topic Forcing incompatible theme to work with Buddypress in the forum Installing BuddyPress 10 years, 7 months ago
1 – edit your style.css of your theme, and remove buddypress from tags :
Tags: buddypress,white,one-column,two-columns,three-columns,right-sidebar,fixed-width,editor-style,custom-menu,custom-header,featured-images,full-width-template,theme-options,threaded-comments
2 – remove all this directories if they exisit on your theme :
‘activity’,…[Read more] -
meg@info replied to the topic Activity comments not visible to logged out users in the forum How-to & Troubleshooting 10 years, 7 months ago
Hi,
Add the code to functions.php of your current theme.
/** this code hide comments for no logged in users*/
add_filter( 'bp_activity_get_comment_count' , 'bp_only_loggedin_can_see_comments', 10,1 );
function bp_only_loggedin_can_see_comments( $count ){
if ( !is_user_logged_in() )
$count = 0;return…[Read more]
-
meg@info replied to the topic bp_moderate and other capabilities in the forum How-to & Troubleshooting 10 years, 7 months ago
Hi @glyndavidson,
Please read this ticket hoping this can help you to understand more about bp_moderate capability.
-
meg@info replied to the topic BuddyPress Activity Privacy in the forum Third Party Plugins 10 years, 7 months ago
-
meg@info replied to the topic Push Twitter to BuddyPress? in the forum Third Party Plugins 10 years, 7 months ago
BuddyStream work fine if you follow the setting.
-
meg@info replied to the topic How do I add the user's avatar and activity stream to my theme? in the forum Creating & Extending 10 years, 7 months ago
I think Bowe Codes plugin can help you:
https://wordpress.org/plugins/bowe-codes -
meg@info replied to the topic Only friends and group members activity in the forum How-to & Troubleshooting 10 years, 7 months ago
bp_has_activities dont accept more than one value for scope param.
ie : you can’t do that by using bp_has_activities -
meg@info replied to the topic Best Captcha & Spam Protection for BUDDYPRESS? in the forum How-to & Troubleshooting 10 years, 7 months ago
Hi @wpdragon,
I think BuddyPress Security Check plugin is the best.
https://wordpress.org/plugins/bp-security-check/ -
meg@info replied to the topic Excluding Roles from the Member's Directory. in the forum How-to & Troubleshooting 10 years, 8 months ago
Hi @rianhall,
add this code to functions.php :
https://gist.github.com/dzmounir/8285459
No need to edit any template files. Just change
$excluded_roles = array( 'administrator', 'subscriber' );
by puting the role ids to hide.
-
meg@info replied to the topic BP 1.9 : issue with hidden fields visibility in the forum How-to & Troubleshooting 10 years, 8 months ago
Hi,
There is no Visibility level for “admin only”,
the “Only me” mean only the current member can see the field. -
meg@info commented on the post, BuddyPress 1.9 "Sammy", on the site BuddyPress.org 10 years, 8 months ago
Congratulations to the BuddyPress development team :).
-
meg@info replied to the topic [Resolved] How to show total friends of display user (2) in the forum How-to & Troubleshooting 10 years, 12 months ago
hi,
try this
friends_get_friend_count_for_user( $user_id );
-
meg@info replied to the topic New great plugin, buddypress-wall by @megainfo in the forum Third Party Plugins 11 years ago
Of course if your try the plugin in buddypress child theme other than the default will not work fine beceause the plugin use the default buddypress template !
the plugin work with all wordpress themes if the theme use legacy buddypress theme,
if it is child theme, in this case you must customize the plugin templates by modifying the…[Read more] -
meg@info replied to the topic Is bp-friends-template.php editable? in the forum How-to & Troubleshooting 11 years ago
Hi @funmi-omoba, check this example of code, he may help you
function bp_new_link_class_get_add_friend_button( $button ) {
// add new css classes to the button
$button['link_class'] .= ' new-button-class2 new-button-class2 ';switch($button['id']){
case 'not_friends' :
$button['link_class'] .= '…[Read more] -
meg@info replied to the topic filtering activity before it is posted in the forum How-to & Troubleshooting 11 years ago
Hi
You can use the filter bp_activity_after_save
add_filter('bp_activity_after_save', 'bp_my_activity_filter');/**
* New Filter for activity stream
*
*/
function p_my_activity_filter( &$activity ) {
}
-
meg@info replied to the topic Block This Page From Logged Out Users? in the forum How-to & Troubleshooting 11 years ago
hi @tduschei, i suggest you use private-community-for-bp-lite plugin by @bp-help
- Load More
@megainfo
Active 8 years, 6 months ago