Search Results for 'custom activity page'
-
Search Results
-
Topic: Setting up Login page
Hello those of you who are very kind to help.
I’ve been away from my site for a few weeks and now I’ve returned to complete the setup. Current situation:
• Domain: boazruth.com
• Landing page: boazruth.com
• Login page: boazruth.com/wp-login.php
• Activity streams: boazruth.com/community
• Using Buddypress Membes Only Pro plugin to lockdown members-only pages.Seeking this outcome:
* Want boazruth.com to be the landing and login page.
* Want members to be directed to the activity stream (boazruth.com/community) after logging in.
* Want to customize the login page and have it on the landing page.
* Thus, boazruth.com will be the landing & login page, and boazruth.com/community will be the activity page. All other BP components (Profile, Friends, etc) are in the top tab.Questions:
1) (a) Can I customize the login page so it does NOT show the basic WP login?
(b) Sometimes when using Incognito, the login page shows “https://boazruth.com/wp-login.php?redirect_to=https%3A%2F%2Fboazruth.com%2F”. Does this indicate an error somewhere?
(c) Can I use the Divi theme to customize the landing page (boazruth.com) so it has the login form on it?2) When a member goes to the site (boazruth.com) to enter, after logging only a blank page shows. They have to select “Community” from the top menu. How can I re-direct the member to the Community page?
3) Do you have a recommendation to secure members-only pages? I tried Buddypress Lock but it seemed not to have the functionality I need (unless I did not fully understand its capabilities).
I am using the latest version of everything and my own custom theme, that seems to work OK elsewhere.
When in a members’ own activity stream, there’s the button “view conversation”. It directs to the correct page, it seems, but the content area is empty. The theme works well otherwise. As if a piece of code was missing from the theme.
You can try and see it for yourself with
Login page: https://sebsacademy.com/in/
User: TestUser
Pass: 12345678The problem can be found for example on my profile page:
https://sebsacademy.com/in/members/996cfeba1b145925/
where you can see the disjointed conversation… You click on the ‘view conversation’ button, and it directs you to an empty page.
Might come in handy one day, that button. :p
Hope you can figure it out, as I don’t even know where to look!
cheers,
Sebs
Topic: Activity groups post page
Hello,
I want some information on buddypress if is possible.
I have a website with groups
1. I want to create a page that my groups can post there, the page to look like the activity page.
So every group can post there as a group and not as username. For example if im register in that website and have the username “buddyroid” and im register in “buddy” group, when im visit the custom page that i want to create and post there to show that the post is from the group “buddy” .2. I want only the administrators of each group to post in that page, for example if i have one group with 20 members and 2 administrators , only that 2 administrators to can post in that custom page
Any ideas;
Sorry for my bad english
ThanksHi, am currently developing a buddypress website and would like to customise the activity stream layout, where the activity stream will be displayed in the middle of the page and the profile summary will be displayed on the left and wallfeed for example latest activity on the right side. Please kindly advise how to go about this? Or is there any plugins for this? Thanks.
1. Which version of WordPress are you running? 4.9.2
2. Did you install WordPress as a directory or subdomain install? directory
3. If a directory install, is it in root or in a subdirectory? root
4. Did you upgrade from a previous version of WordPress? If so, from which version? no
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes, definitely checked that, permalinks are set to “pretty urls”
6. Which version of BP are you running? 2.9.2
7. Did you upgraded from a previous version of BP? If so, from which version? no
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? No, we disabled all of them, it still isn’t working
9. Are you using the standard WordPress theme or customized theme? standard
10. Which theme do you use ? twentyseventeen
11. Have you modified the core files in any way? no
12. Do you have any custom functions in bp-custom.php? no
13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? No, disabled it, still not working
14. Please provide a list of any errors in your server’s log files.
[Mon Jan 15 20:34:25.026815 2018] [authz_core:error] [pid 1160] [client 52.33.40.5:59040] AH01630: client denied by server configuration: /var/www/transfamilies.org/web/.user.ini, referer: https://www.transfamilies.org/.user.ini
[Thu Jan 18 19:10:09.771753 2018] [fcgid:warn] [pid 29851] (32)Broken pipe: [client 73.221.194.79:54064] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://www.transfamilies.org/wp-admin/plugins.php
[Thu Jan 18 19:45:39.653380 2018] [authz_core:error] [pid 31518] [client 52.33.40.5:60936] AH01630: client denied by server configuration: /var/www/transfamilies.org/web/.user.ini, referer: http://www.transfamilies.org/.user.ini
15. Which company provides your hosting? Amazon
16. Is your server running Windows, or if Linux; Apache, nginx or something else? Linux, Ubuntu LTS, most recent version
Running most current version of WordPress, not on a subdomain. We have tried disabling all plugins and selecting the default theme (twenty seventeen) and the same issue persists.
BuddyPress (and bbpress) were previously installed and working. I then installed Theme-My-Login, but it disabled all login access. I removed Theme-My-Login via FTP and was able to log back in, but the Register and Login pages were no longer accessible. I deactivated and deleted BuddyPress and tried reinstalling.
Then I got this message:
“The following active BuddyPress Components do not have associated WordPress Pages: Members, Activity Streams, User Groups, Activate, Register. Repair”
BuddyPress had not created these pages on install. I’ve since tried several times to reinstall it, but same problem. I can create the pages, but they’re just blank.
That about covers it!Helloooooo everybody(I’m glad you’re taking the time to help me, and hey, we all start somewhere),
So I’ve been looking into BuddyPress for about a month now, and I still can’t decide if its what I need. I love it and I respect all its glory, So let me explain what I need.
1) The overview of my site
– I want users to come to my site, register, and log in. I would love to be able to customize the way these pages look!(background image, logo, and content inside them). With regard to my user experience, I need everything done from the front end because the backend is too confusing for members.2) What users can do on my site
– Okay, this is what I’m having trouble figuring out. I’m not looking for a full-blown social media site (yet). I want to build a site that where users can log in, create a “blog” excerpt with media and then post it.An example would be “Me and my dog” with photos, and a paragraph explaining. They should also be able to put a location tag on it. When they post it, the only people I want to see that are the people they added as friends or if they have their profile set to public. And when it shows up on their friend’s news feed it should just show a featured image, title, and the beginning of their text with a like counter.When their friends click on that post it brings them to the full blog post, not just the featured image. Their friends can favorite the content or comment on it. On a users profile, I would like to show their recent posts, and posts they’ve favorited. and that’s it. No excess information like a changed profile picture, etc. An extended bio profile would work great as well.– I’m not looking for messaging, groups, sitewide activity, or showcasing my own personal blog to the members. I would like this site to be customized solely for the user. I wouldn’t mind having a site homepage. Would I need to enable multi-site to allow this to happen?
3) I would like this to look simple, and clean; so that brings me up to my final hurdle. What theme should I use? I’ve been looking at X, Divi, and Soledad. Are any of these themes able to do what I’m looking for? I would love to just be able to customize how everything looks on my site.
Thanks & happy holidays
Hi,
I managed to customize my activity feed for a custom post type, however I’m struggling to influence the output of “standard” blog posts !
Ideally I would like to redirect the “format_callback” parameter to the custom callback I created for my custom post type, which should handle both standard and custom types ultimately.
I tried the following code, and the format_callback stayed desperately the same for the blog posts…
add_action( ‘bp_register_activity_actions’, ‘customize_posts_tracking_args’ );
function customize_posts_tracking_args() {
// Check if the Activity component is active before using it.
if ( ! bp_is_active( ‘activity’ ) ) return;
bp_activity_set_post_type_tracking_args( ‘post’, array(
‘component_id’ => buddypress()->blogs->id,
‘action_id’ => ‘new_blog_post’,
‘format_callback’ => ‘custom_format_activity_action_post’,
) );
}Then I also tried the filters, which I found in some web pages, but they didn’t work either for blog post type… The code below didn’t cause any change to my activity feed.
// Customize post publication activity feed content
add_filter(‘bp_blogs_record_activity_action’, ‘record_cpt_activity_content’);
add_filter(‘bp_blogs_record_activity_content’, ‘record_cpt_activity_content’);
function record_cpt_activity_content( $cpt ) {
echo “Any text”;
$cpt=’Any text’;
$cpt[‘content’]=’Any text’;
return $cpt;
}Any help is very welcome here !!!
Regards,
Pascal.
Topic: customize members page
hi,
i want to customize members info shown in members list page,in the list of all users, i want to show something more than the name and last activity online.
i created customed fields for the inner-page of the user, but they don’t show in the members list page.how can i do this?
thank you.I tried to add some shortcode to the Activity page via Admin Dashboard > Pages > Activity > Page Edit Section, but it’s not rendering, instead it just renders the actual text for the shortcode.
Is there a way to allow BP page to render shortcodes from the page content?
I read on another forum to do the following but it was and old forum and I can’t find that file he referred to:
Try replacing line 39 of content-buddypress.php
$custom_content = wpautop( get_the_content() );
with this:
$custom_content = do_shortcode( get_the_content() );Any ideas?

Hi,
Below two code, i can create buddypress activity for Book CPT (1st code) with title (2nd code) … Member A publish new “best horror book last 10 years” ( with Title)
I have 2 question:
1st: When anyone comment this activity : It shows Member B comment a “Book” i could not success the display post title instead of “Book (CPT)” . i need to dispaly Member B comment “best horror book last 10 years”
2nd question If 1st can possible ‘bp_activity_new_comment’ => __( ‘%1$s commented BOOK‘, ‘custom-textdomain’ ), is possible Member B comment on the “best horror book last 10 years” by Member A (with post author name or avatar) … mİLLİON Thanks
cODE1
// allow tracking of our CPT
add_post_type_support( ‘book’, ‘buddypress-activity’ );
// creating the dropdown filter on activity and members page
function customize_page_tracking_args() {
// Check if the Activity component is active before using it.
if ( ! bp_is_active( ‘activity’ ) ) {
return;
}
bp_activity_set_post_type_tracking_args( ‘book’, array(
‘component_id’ => ‘activity’, // unique ID
‘action_id’ => ‘new_book’, // new_$post_type where new_ is mandatory
‘comment_action_id’ => ‘new_mot_comment’,
‘bp_activity_comments_admin_filter’ => __( ‘Comments about book’, ‘custom-textdomain’ ), // label for the Admin dropdown filter
‘bp_activity_comments_front_filter’ => __( ‘Book Comments’, ‘custom-textdomain’ ), // label for the Front dropdown filter
‘bp_activity_new_comment’ => __( ‘%1$s commented BOOK‘, ‘custom-textdomain’ ),
‘bp_activity_admin_filter’ => __( ‘Published a new BOOK’, ‘text-domain’ ),
‘bp_activity_front_filter’ => __( ‘bOOK’, ‘text-domain’ ),
‘contexts’ => array( ‘activity’, ‘member’ ), // swa & member activity page
‘activity_comment’ => true,
‘bp_activity_new_post’ => __( ‘%1$s publish a new bOOK‘, ‘text-domain’ ),
‘position’ => 100,
) );
}
add_action( ‘init’, ‘customize_page_tracking_args’, 999 );
code2 FOR DISPLAY NEW BOOK PUBLISHED WITH TITLE
function monkey1980_include_post_type_title( $action, $activity ) {
if ( empty( $activity->id ) ) {
return $action;
}
if ( ‘new_book’ != $activity->type ) {
return $action;
}
preg_match_all( ‘/<a.*?>([^>]*)<\/a>/’, $activity->action, $matches );
if ( empty( $matches[1][1] ) || ‘Book’ != $matches[1][1] ) {
return $action;
}
$post_type_title = bp_activity_get_meta( $activity->id, ‘post_title’ );
if ( empty( $post_type_title ) ) {
switch_to_blog( $activity->item_id );
$post_type_title = get_post_field( ‘post_title’, $activity->secondary_item_id );
// We have a title save it in activity meta to avoid switching blogs too much
if ( ! empty( $post_type_title ) ) {
bp_activity_update_meta( $activity->id, ‘post_title’, $post_type_title );
}
restore_current_blog();
}
return str_replace( $matches[1][1], esc_html( $post_type_title ), $activity->action );
}
add_filter( ‘bp_activity_custom_post_type_post_action’, ‘monkey1980_include_post_type_title’, 10, 2 );