Search Results for 'Activity Feed for members only'
-
Search Results
-
Is there any way that I can create activity feed restrictions? In other words, only logged in users can see the activity feeds of members activity feeds.
There are some good plugins out there like BP Activity Privacy. But I need to make something compatible with BP Media.
Thanks,
-TomTopic: Activity Feed Page
The activity feed page is the only one that is missing my admin bar as well as the sidebar and edit link at the bottom for me. Main issue is that missing sidebar, it connects our members to the blog and tag cloud, etc.
WP3.5.1 multisite subdomain
buddypress 1.7.2Topic: Custom Activity Page
Hello! First, what i’m using:
- WP: 3.6 beta3
- BP: 1.7.2
- BBPress: 2.3.2
- Theme: default theme (child)
What i’m trying to do is create a custom template to load activities filtered by terms. So, i taked code from activity-loop.php to create a new “custom.php” file, put it on template root and create a new page using this template.
This is the content of my custom template for pages. Sorry if it’s too long, it’s the same content of activity-loop.php, except on “activity” div:
<?php /** * Template Name: Games */ get_header( 'buddypress' ); ?> <?php do_action( 'bp_before_directory_activity_page' ); ?> <div id="content"> <div class="padder"> <?php do_action( 'bp_before_directory_activity' ); ?> <?php if ( !is_user_logged_in() ) : ?> <h3><?php _e( 'Site Activity', 'buddypress' ); ?></h3> <?php endif; ?> <?php do_action( 'bp_before_directory_activity_content' ); ?> <?php if ( is_user_logged_in() ) : ?> <?php locate_template( array( 'activity/post-form.php'), true ); ?> <?php endif; ?> <?php do_action( 'template_notices' ); ?> <div class="item-list-tabs activity-type-tabs" role="navigation"> <ul> <?php do_action( 'bp_before_activity_type_tab_all' ); ?> <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php _e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_member_count() ); ?></a></li> <?php if ( is_user_logged_in() ) : ?> <?php do_action( 'bp_before_activity_type_tab_friends' ); ?> <?php if ( bp_is_active( 'friends' ) ) : ?> <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php _e( 'The activity of my friends only.', 'buddypress' ); ?>"><?php printf( __( 'My Friends <span>%s</span>', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?></a></li> <?php endif; ?> <?php endif; ?> <?php do_action( 'bp_before_activity_type_tab_groups' ); ?> <?php if ( bp_is_active( 'groups' ) ) : ?> <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?> <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>" title="<?php _e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( __( 'My Groups <span>%s</span>', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ); ?></a></li> <?php endif; ?> <?php endif; ?> <?php do_action( 'bp_before_activity_type_tab_favorites' ); ?> <?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?> <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>" title="<?php _e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( __( 'My Favorites <span>%s</span>', 'buddypress' ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ); ?></a></li> <?php endif; ?> <?php do_action( 'bp_before_activity_type_tab_mentions' ); ?> <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>" title="<?php _e( 'Activity that I have been mentioned in.', 'buddypress' ); ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><?php printf( __( '<span>%s new</span>', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></strong><?php endif; ?></a></li> <?php endif; ?> <?php do_action( 'bp_activity_type_tabs' ); ?> </ul> </div><!-- .item-list-tabs --> <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> <ul> <li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php _e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li> <?php do_action( 'bp_activity_syndication_options' ); ?> <li id="activity-filter-select" class="last"> <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label> <select id="activity-filter-by"> <option value="-1"><?php _e( 'Everything', 'buddypress' ); ?></option> <option value="activity_update"><?php _e( 'Updates', 'buddypress' ); ?></option> <?php if ( bp_is_active( 'blogs' ) ) : ?> <option value="new_blog_post"><?php _e( 'Posts', 'buddypress' ); ?></option> <option value="new_blog_comment"><?php _e( 'Comments', 'buddypress' ); ?></option> <?php endif; ?> <?php if ( bp_is_active( 'forums' ) ) : ?> <option value="new_forum_topic"><?php _e( 'Forum Topics', 'buddypress' ); ?></option> <option value="new_forum_post"><?php _e( 'Forum Replies', 'buddypress' ); ?></option> <?php endif; ?> <?php if ( bp_is_active( 'groups' ) ) : ?> <option value="created_group"><?php _e( 'New Groups', 'buddypress' ); ?></option> <option value="joined_group"><?php _e( 'Group Memberships', 'buddypress' ); ?></option> <?php endif; ?> <?php if ( bp_is_active( 'friends' ) ) : ?> <option value="friendship_accepted,friendship_created"><?php _e( 'Friendships', 'buddypress' ); ?></option> <?php endif; ?> <option value="new_member"><?php _e( 'New Members', 'buddypress' ); ?></option> <?php do_action( 'bp_activity_filter_options' ); ?> </select> </li> </ul> </div><!-- .item-list-tabs --> <?php do_action( 'bp_before_directory_activity_list' ); ?> <div class="activity" role="main"> <?php $myslug = the_slug(); if ( bp_has_activities('search_terms='.$myslug.'') ) : do_action( 'bp_before_activity_loop' ); /*if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : */ /* Show pagination if JS is not enabled, since the "Load More" link will do nothing */ ?> <noscript> <div class="pagination"> <div class="pag-count"><?php bp_activity_pagination_count(); ?></div> <div class="pagination-links"><?php bp_activity_pagination_links(); ?></div> </div> </noscript> <?php if ( empty( $_POST['page'] ) ) : ?> <ul id="activity-stream" class="activity-list item-list"> <?php endif; while ( bp_activities() ) : bp_the_activity(); locate_template( array( 'activity/entry.php' ), true, false ); endwhile; if ( bp_activity_has_more_items() ) : ?> <li class="load-more"> <a href="#more"><?php _e( 'Load More', 'buddypress' ); ?></a> </li> <?php endif; if ( empty( $_POST['page'] ) ) : ?> </ul> <?php endif; else : ?> <div id="message" class="info"> <p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p> </div> <?php endif; do_action( 'bp_after_activity_loop' ); ?> <form action="" name="activity-loop-form" id="activity-loop-form" method="post"> <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?> </form> </div><!-- .activity --> <?php do_action( 'bp_after_directory_activity_list' ); ?> <?php do_action( 'bp_directory_activity_content' ); ?> <?php do_action( 'bp_after_directory_activity_content' ); ?> <?php do_action( 'bp_after_directory_activity' ); ?> </div><!-- .padder --> </div><!-- #content --> <?php do_action( 'bp_after_directory_activity_page' ); ?> <?php get_sidebar( 'buddypress' ); ?> <?php get_footer( 'buddypress' ); ?>
My idea is to load different stream for each game, so the page “Chrono Trigger (SNES)” would load activities containing terms like “Chrono Trigger”. I don’t know the best way to do this, so tried to get page slug and use as filter:
$myslug = the_slug(); // using a function to get slug if ( bp_has_activities('search_terms='.$myslug.'') ) : do_action( 'bp_before_activity_loop' ); /*if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : */ /* Show pagination if JS is not enabled, since the "Load More" link will do nothing */ ?> <noscript> <div class="pagination"> <div class="pag-count"><?php bp_activity_pagination_count(); ?></div> <div class="pagination-links"><?php bp_activity_pagination_links(); ?></div> </div> </noscript> <?php if ( empty( $_POST['page'] ) ) : ?> <ul id="activity-stream" class="activity-list item-list"> <?php endif; while ( bp_activities() ) : bp_the_activity(); locate_template( array( 'activity/entry.php' ), true, false ); endwhile; if ( bp_activity_has_more_items() ) : ?> <li class="load-more"> <a href="#more"><?php _e( 'Load More', 'buddypress' ); ?></a> </li> <?php endif; if ( empty( $_POST['page'] ) ) : ?> </ul> <?php endif; else : ?> <div id="message" class="info"> <p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p> </div> <?php endif; do_action( 'bp_after_activity_loop' ); ?> <form action="" name="activity-loop-form" id="activity-loop-form" method="post"> <?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?> </form> </div><!-- .activity -->
This is the function to get slug:
function the_slug() { $post_data = get_post($post->ID, ARRAY_A); $slug = $post_data['post_name']; return $slug; }
It works, but only with pages containing the very same slug (for example, if the slug is “Chrono”, it gets all activities with Chrono, but “chrono-trigger” don’t work). There is a better approach to filter this activity stream, i suppose my method is a mess.
I’m begginer with Buddypress so any help is appreciated.Topic: Profile/Activity
Coding a child theme for BuddyPress. If I leave members/single directory empty, I can see the individual activity posts feed for each user. As soon as I add home.php OR members-header.php, activity posts disappear. I cannot leave either file in the directory, nor both files in the directory. As soon as both are removed, the functionality returns (pulling in the default theme from BuddyPress core.)
Is there a file, hook or action that showing the activity in the profile (for only that user) that I may be missing? I’ve even copied the home.php and members-header.php from the BuddyPress default and I still get the same result.
I should note that the activity page, with all sitewide posts, works completely fine.
Topic: Group Member Permissions
I have a site that is running on BP 1.6.4
The WP is 3.5.1
The members of the site are able to create groups
…pretty standard stuff.The upgrade to 1.6.4 was pretty recent and all seemed to be going just fine.
A few days ago it was detected that Group admins and Group members are unable to post to the activity feeds within their groups. ONLY Super-Admins can now post activity feeds/updates. Where have the settings for group/member (global) permissions been moved to? I’m at a complete lose as to why this functionality would be removed? Or if I’m just overlooking something PLEASE direct to where I need to make mods!
I have a 50 multisite network and I’m looking for a way to integrate some of the core buddypress templates on the child-site level so users don’t have to be “removed” from their local environment to the network root in order to interact with one another, i.e., view a profile, send a message, etc.
The reason I want this functionality is because, for the vast majority of time, a given user only interacts with members on a single site to which they regularly visit. It’s confusing and overly burdensome for the user to have to continually navigate back and forth from the child site to the network root and then back to the child site.
You may then wonder the reasons why I would be using multisite, but just trust me, there are many; the most compelling of which are administrative in nature. In a related matter, it will not make practical sense to use a multi-network solution to my problem.
By default, each child site has a “local” template for buddypress Activity. What’s the best way to create a similar local page for the other core buddypress pages such as profile, groups, etc?
Basically I’m just looking for any practical solutions on how to best tackle this problem because I go crazy hacking up buddypress core files. Any feedback is greatly appreciated. Thank you!
Hi,
I want to use wordpress username in every field of my site instead of buddypress’ “Name”. Is it possible to disable the whole name system and use Username instead or to hide Name from every possible field and display Username instead.
I’m totally newbie to this whole coding stuff, found a code and managed to hide “Name” field in profile edit but this is only preventing from changing it. I need to disable it or change it’s usage to Username. (in Activity feed, mentions & comments at least)
—
In case anybody wonders what did I use for hiding Name from profile edit section;
`add_filter(“xprofile_group_fields”,”bpdev_filter_profile_fields_by_usertype”,10,2);function bpdev_filter_profile_fields_by_usertype($fields,$group_id){
//only disable these fields on edit page
if(!bp_is_profile_edit())
return $fields;
//please change it with the name of fields you don’t want to allow editing
$field_to_remove=array(“Name”,””);
$count=count($fields);
$flds=array();
for($i=0;$iname,$field_to_remove))
unset($fields[$i]);
else
$flds[]=$fields[$i];//doh, I did not remember a way to reset the index, so creating a new array
}
return $flds;`
Added this code to bp-members-functions.phpHi, I have three issues I need help resolving with my site.
I am using:
Wordpress 3.5
BuddyPress 2.2.3
Here’s a link: http://www.livingcm.org
First, I am using the plugin “Confirm User Registration” which allows me to require users to be confirmed before they can become members of the site. I am also using Private BuddyPress which, I know is not up to date with the latest version of BuddyPress, but it’s the only way I’ve been able to make the site private and I need that functionality. The issue I am having is that sploggers who attempt to register – who are not confirmed by me and are not showing up as members on the member page of the site – are showing up as new members on the home page activity feed. Is there any way to prevent them from showing up on the activity feed until they become actual members through my confirmation process as they would on the member page?
_______________________________________________
Second,
I am getting this error on my dashboard under “Incoming Links” and “Plugins”:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1966080 bytes) in /home/cgoegan/public_html/livingcm.org/wp-includes/SimplePie/Item.php on line 2736
I read in a post that I should see this: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
But when I follow the instructions and go to the wp-settings.php file, there are no MB specified. Should I enter them in there? All I can find is this:
Set initial default constants including WP_MEMORY_LIMIT, WP_MAX_MEMORY_LIMIT, WP_DEBUG, WP_CONTENT_DIR and WP_CACHE.
wp_initial_constants( );_____________________________________________________
Lastly, How can I add WYSIWYG editing – or any kind of editing that would add links, bold, italic; the basics – to our forum? I tried a plugin and activated it and it did absolutely nothing. Maybe I was missing something. Can anyone recommend one that is functioning well?
Hiya
I’m having 2 issues with my Buddypress installation at http://www.myapt.org.uk – I hope you can help.Its running on the Genesis framework.
1. My members page at http://www.myapt.org.uk/members/ will only display page 1 of the member list. Any ideas why this is and what I need to do to fix it? (I’ve tried turning all plugins off including google analytics but no luck).
2. When I try to post an update in my activity feed (e.g. at http://www.myapt.org.uk/members/admin/ when I\’m logged in) it fails. I click the post update button, my text dissappears and then nothing. Its back to
Thanks a lot
JoeHey so the title pretty much explains it. I want users to come to a registration page like Facebooks ( same design blah blah) when they first come to the site without being logged in. So an image in the background and a register and login tabs. If they are logged in they will go straight to the “activity”/”news feed” page. Also when they log out they go right back to the registration page.
I tried using this http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/
But couldn’t seem to get it to work. Is there a plugin that can do this? If not what must I do to make this happen? ThanksHello,
i am using wordpress 3.5 and buddypress 1.6.2 with “status” child theme. i want to make an update on my website, that only moderators or users with certain level can see “all members” feeds in activity stream of buddypress, rest can only see the feeds of the users they re following and their friends. How can I make it possible? I have no knowledge of codes, i can only do copy paste! , is their any plugin to achieve this purpose?
=== BuddyPress NeoFollow ===
Contributors: EthanVan, MegaInfo
Requires at least: WordPress 3.4, BuddyPress 1.5
Tested up to: WordPress 3.4.2 / BuddyPress 1.6.1
Stable Version: 1.0BuddyPress NeoFollow allows members to follow other members’ activity.
This newest follow plugin creates two button classes; one for the profile page and one for the members directory.
By using two CSS button classes we eliminate the overlapping button problem in the members directory that has been plaguing users of the previous follow plugins without effecting the follow button on the members’ profile pages.
This plugin is compatible with Private Message Followers Only and uses the same data as BuddyPress Followers and BuddyPress FollowMe so you can transition to it seamlessly.
Download the plugin here: http://ethanvandal.com/bp-plugins/bp-neofollow.zip
You will also need to download the required BuddyPress child theme to eliminate the overlapping button problem.
Download the child theme here: http://ethanvandal.com/bp-themes/bp-neofollow-bc.zip
This child theme invokes the use of the BP Default theme but can be modified to use any BuddyPress theme. If you need to use this with another theme please ask around on the BuddyPress.org forums. I do not guarantee support for use with other themes however, I will try and help out as much as I can.
This is a repost due to inappropriate attack comments from yesterday which resulted in the thread being locked.
Constructive feedback always appreciated.
HELP!
My site is getting attacked by SPAM, It’s been fine for a while but now it’s getting hard work, I have had to close registrations.
My issue:-
Spam registrations are signing up (even though I have security Qs using BP Humanity) I also have BP Labs to try and cut down on activity SPAM…. which seemed to work well but…
The new attack is PM’ing my members, how can I restrict this so that only friends can PM each other?
Activity replies, my members post activity updates, and the SPAM bot is posting a link as a reply to them!!!!! ANNOYING