Search Results for 'custom activity page'
-
Search Results
-
One of many things that BuddyPress is missing is customisation options (with regards to appearance, theme integration, etc). I’ve put a lot of time and effort into my current theme and it’s being ruined by a big, ugly, grey box on the Activity/homepage. Not being cruel, just honest.
If the child theme route was an option, i wouldn’t be posting this so please don’t suggest that :-p I’m genuinely surprised this isn’t already available but I’m hoping it will be soon!
Cheers,
LJ
For the first time, I think ever, I tried clicking the dropdown to select different activity to show on the site-wide activity page. Tried some of the selections, but they all just made the original everything on the page show (after an ajaxy looking refresh)
So I wonder if using the parse_Args code to modify the default activity stream things that display is overriding this drop down menu function?
If so, we need a better way to hide things from the activity stream in the future.
And I guess we need a way to remove the dropdown menu from showing since it does not work.
If this parse args code is not affecting the dropdown selection then I guess I have to start deactivating other plugins to see if they are screwing with it.
my current bp-custom file:
<?php // hacks and mods will go here define( 'BP_DEFAULT_COMPONENT', 'profile' ); function remove_xprofile_links() { remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 ); } add_action( 'bp_init', 'remove_xprofile_links' ); // block activity stream stuff - things to include function my_bp_activity_types( $retval ) { // existing BP/bbP activities // remove the one you wont to see from that list $retval['action'] = array( 'activity_comment', 'activity_update', 'bbp_topic_create', 'last_activity', 'new_blog_post', 'new_member', 'updated_profile', 'rtmedia_update', 'bp_doc_created', 'new_groupblog_post', 'bp_album_picture', 'added_group_document', 'new_blog_comment', 'new_member', 'created_group' ); return $retval; } add_filter( 'bp_after_has_activities_parse_args', 'my_bp_activity_types' ); // block activyt stream stuff removed friendship_created, new_avatar,bp_doc_edited,activity_liked, // deleted_group_document, new_blog, new_forum_post, new_forum_topic, new_status,new_wire_post, joined_group, new_avatar, // previously blocked via plugin - deleted_group_document, new_blog, new_member, joined_group, friendship_created, activity_liked ?>I shared some ideas and suggestions of mine for BBPress on BBPress’s forum. I would like to do the same here for BuddyPress.
As I said at BBPress, I am the owner and admin of http://dcjtech.info/ and I love computer programming. Not only do I love programming, but I love to help other developers. I would like to contribute to BuddyPress by offering some suggestions and ideas.
Please keep in mind that these are just my ideas; I understand that the BuddyPress team has ideas, needs, and concerns of their own that they must address. In addition, even though I learned a lot about the WordPress, BBPress, and BuddyPress framework and inner workings, I admit that there are some parts that I may have over-looked or mis-understood. In summary, I am trying to help make BuddyPress better and more powerful based on what I know, and I want to contribute my ideas as a thanks to all the developers that have spent time and effort making BuddyPress what it is today.
My ideas –
1. BuddyPress needs more options and configurable items – the more customizable, the better. Obviously, some developers are concerned about confusing or overwhelming users, so make a special admin page for “advanced” or “miscellaneous” options. Some additional options I think are needed or helpful include disable/enable feeds, disable the activity features while keeping “@” mentions (the activity profile pages attract spam), and fine-tuned settings for various features (like limiting what is shown in the activity streams, limits on messaging and activity stream age and size, etc.).
2. Export/Import BuddyPress settings – Correct me if I am wrong, but I do not think BBPress has an easy way to export/save settings to be imported to use as a backup or transfer/share settings.
3. Add a “clear/clean database” option – provide an easy way to selectively perform these various actions. (A) Remove “Manage Sign-up” users (my spam users never get past this, so some sign-ups may be weeks old or more). (B) Remove and delete all “friendships” from the SQL database if “friendships” is disabled (apply a similar feature for private messages and others). (C) Allow the option to delete the SQL tables of disabled BuddyPress modules and re-create them when enabled.
4. 100% HTML5 Compliant – I have not studied BuddyPress in this perspective or tested anything concerning this idea, so it is possible that I may be very wrong or the developers have a plan already. However, use of HTML5 (or the option to do so) would be helpful.
Here is an exact copy-paste of idea #12 that I posted on BBPress. I am including it here just in-case this is an idea that should be given to BuddyPress rather than BBPress.
12. Implement a built-in avatar system (perhaps BuddyPress or WordPress should use this rather than BBPress) – This would allow local avatars and provide a way for Gravatar to be disabled or used as a secondary. True, BuddyPress provides a way to upload avatars, and “Basic User Avatars” and “Simple Local Avatars” are plugins offering that feature. However, after upgrading my theme to HTML5 and removing Flash from my browser, I can no longer upload avatars using any of the three mentioned possibilities (backend or frontend). However, I can still upload media via the backend (w/o Flash) and via the frontend (with Flash). NOTE: I do list “plupload.full.min.js” and other similar scripts in Autoptimze “Exclude list”
If you see any features on my website that you want to implement in BuddyPress, feel free to let me know and then I can give you the code and tell you how I did it. Also, I use my own style sheets for BBPress, BuddyPress, and some plugins. I have been able to increase performance and decrease size by using a CSS minifier (http://csscompressor.com/) and implementing ideas from errors given by a CSS checker (http://csslint.net/). I saw significant improvements even before I changed the style sheets to specifically suit my website.
By the way, making BuddyPress templates that can be placed in the regular WordPress theme was a great idea and feature for BuddyPress; smart thinking BuddyPress developers.
Topic: Quick question about this
So I’m trying to build a social network and some of the features i need I’m not to sure if bp has it all.
Features I need. Activity wall.all members chat,sleek custom profiles for members, a paid membership option. A way to let paid members make their own post/articles on the homepage.can buddypress do this?Topic: Activity in my home.php
Hi,
I am developing this website and my reading settings for front page i am using my latest posts. My home page is the home.php file in my theme where i have my custom posts loop but i want to have what we have on the activity page to be right after my posts loop. How do i achieve this?
I have tried using the bb loop below but it doesn’t display anything.
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?> <?php while ( bp_activities() ) : bp_the_activity(); ?> <?php locate_template( array( 'activity/entry.php' ), true, false ); ?> <?php endwhile; ?> <?php endif; ?>Please give me a kick start, many thanks.
Hi,
I am trying to add to group activity stream and send a notification but its not working – Help pls
Adding to group activity like thisadd_post_type_support( 'product', 'buddypress-activity' ); function customize_page_tracking_args() { // Check if the Activity component is active before using it. if ( ! bp_is_active( 'activity' ) ) { return; } global $bp; $gid = $bp->groups->current_group->id; $group = new BP_Groups_Group($gid, true); $user_id = get_current_user_id(); groups_record_activity( array( 'action' => apply_filters( 'groups_activity_new_update_action', sprintf( __( '%1$s publicó una actualización en %2$s', 'buddypress'), bp_core_get_userlink( $user_id ), '<a href="' . bp_get_group_permalink( $group ) . '">' . esc_attr( bp_get_group_name( $group ) ) . '</a>' ) ), 'content' => $content, 'type' => $type, 'item_id' => $gid, 'user_id' => $user_id ) ); } add_action( 'save_post', 'customize_page_tracking_args', 1000 );Adding to notification like this
bp_notifications_add_notification( array( 'user_id' => $cid, 'item_id' => $post_id, ) );Is there a conditional for a users profile page only. When I say profile page I’m referring to the users homepage not the profile tab – mysite.com/members/example-user
I’ve looked at the BuddypPress template tags, but none work for it.
Currently, my default component and action for my profile page is activity>personal, so this will work:
if ( bp_is_activity_component() && bp_is_current_action('just-me') ) { }But I might use a plugin for a new custom user profile page so I need a conditional for the users profile page rather than the default component and action.
Any help apreciated
Hey guys,
I have a button on the user profile page which is NOT an XProfile field which I need to add to activity. So when the user clicks the button a new activity will be created in their activity stream. I have successfully added a custom post type to the activity stream so when the user creates a post it shows in activity, but I cannot figure out how to apply the same function I used for the custom post type to the button click.
Here is my custom post type function:
// add custom post type listing to the activity stream add_filter ( 'bp_blogs_record_post_post_types', 'activity_publish_custom_post_types',1,1 ); function activity_publish_custom_post_types( $post_types ) { $post_types[] = 'listing'; return $post_types; } add_filter('bp_blogs_activity_new_post_action', 'record_cpt_activity_action', 1, 3); function record_cpt_activity_action( $activity_action, $post, $post_permalink ) { global $bp; if( $post->post_type == 'listing' ) { $activity_action = sprintf( __( '%1$s added a new listing - %2$s', 'buddypress' ), bp_core_get_userlink( (int) $post->post_author ), '' . '<a href="' . $post_permalink . '">' . $post->post_title . '</a>' . '' ); } return $activity_action; }I really need to implement this so any help is greatly appreciated!
1. Which version of WordPress are you running?
4.2.22. Did you install WordPress as a directory or subdomain install?
3. If a directory install, is it in root or in a subdirectory?
It is at domain.com/members4. Did you upgrade from a previous version of WordPress? If so, from which version?
No5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
This is a fresh install–relatively, I’ve been playing and testing with it for a month or two, but no posts–not yet public.6. Which version of BP are you running?
2.3.2.17. Did you upgraded from a previous version of BP? If so, from which version?
I have updated my plugins whenever it asks so maybe, but the issues have been present pretty much since I started. I’vbe just been focusing on different areas.8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Advanced Access Manager: not activated
Akismet: still need to get the API
Child Theme Configurator
Conditional Menus
Lazy Load for Videos
Microthemer: not activated
Press Permit Core: not activated
Restrict User Access
Simple:Press
UpdraftPlus – Backup/Restore
User Role Editor
Zippy CoursesSome are not activated because I was trying out a few different plugins for user roles.
9. Are you using the standard WordPress theme or customized theme?
I have created a child theme from the Social Triggers theme for Zippy Courses10. Have you modified the core files in any way?
I don’t think so.11. Do you have any custom functions in bp-custom.php?
I don’t think so.12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
Not running bbPress13. Please provide a list of any errors in your server’s log files.
How do I do this?
I copied the 300 most recent and removed those that were not from the members folder (smf forum had the most) and got a list of 16–of course there would be more if it listed more than 300. But these give addresses and IPs.
I’m probably not understanding how to do this.All of them are File not Found errors and there are 8 different ones–each error shows twice.
8 refer to Zippy courses, referencing the child theme and wp-admin
2: wp-admin/index.php
2: wp-admin/plugins.php
2: wp-admin/themes.php
2: wp-admin/update-core.phpThe other 8 do not refer to Zippy Courses, but otherwise refer to the same end places.
Does that help?14. Which company provides your hosting?
Cyberlynk15. Is your server running Windows, or if Linux; Apache, nginx or something else?
WindowsI switched themes to 2015 and then 2013 to see if it made a difference and it did not.
I installed a fresh install of WP at a new location (domain.com/members) for using the zippy courses plugin. Afterwards I thought I should try out BuddyPress with it, so I installed and activated it.
I’ve had some issues and I don’t know if its zippy courses, buddypress or something else. But I did just go to the codex and read that I should not have use softaculous to install WP.
So I think I should start over again—not a huge deal since I’m just playing around with zippy and buddy, but I would rather not lose some of the things I’ve done. How can I save what I’ve done and still reinstall? Zippy courses has an importer/exporter, so that’s no problem, but what about the other stuff:
I’ve set up user roles with a plugin and created a child theme and added a second menu and done some other things that, for me, took time.Some of the issues could simply be that I’m still learning (like the child-theme). All of the pages in both the zippy and buddypress core pages section say they are pointing to the page with the corresponding name. I have the front page set as Home. But when I try to go to the homepage it goes directly to the members page instead.
When I try the links at the top: activity, notifications, profile, settings; they all go toThe requested URL /members/members/Rollercoasterider/notifications/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.The only one that goes somewhere is the log out link and that goes to the Simple:Press forum I just set up—before I installed Simple:Press it went somewhere else. I don’t know why it is now going to Simple:Press. (Other than this now directing to Simple:Press, all these issues were present before I installed Simple:Press).
Why do pretty permalinks need to be used? I thought I read something (a few years ago) about these causing problems.
I would like to add the what’s new form on the all activity page for logged in users.
Is there a way to do this in bp-custom.php? Any help would be greatly appreciated.
