Search Results for 'custom activity page'
-
Search Results
-
Hey Guys,
I have a customized WordPress Website which also makes use of BuddyPress as the core for user profiles. Until now this only required BP Core, Community and XProfile Extension to run.
Now with the new requirement for a forum I was going to install AnsPress which requires Activity Stream and Notifications to be enabled (otherwise it throws fatal errors around).And here comes the fun -> when I enable activity stream, my BP Profile Page is kind of “overwritten” by the stream.
I hope somebody can clarify for me:
Normally, when I visit my or any profile via /members/xyz the buddypress.php somehow loads the contents from theme/members/single/profile.php in which bp_current_action() gives case “public” and bp_is_active(‘xprofile’) is true. Then my members/single/profile/profile-loop.php is loaded.But when I activate Activity Stream in BP and I visit my profile then somehow theme/buddypress/members/single/home.php is loaded and that shows the activity stream on my page and not the profile parts anymore.
What I think what I need is that the members/xyz URL links to the profile and not the “home” page – but how? Unfortunately my knowledge of WP as a programming framework is limited and I am not able to debug this any further as to where the decision is made to load home instead of profile.
Hope you can understand the problem and help me with it. I do not need to show the BP activity stream, it is just necessary for the plugin to not throw errors.
Hi all, was wandering if any one might be able to help.
I have created a page called ‘community’ which displays ALL forums available to a member. I’ve set the default component to ‘community’ in my bp-custom.php and this is working great. The only thing is it seems when a click on another members profile and it loads the ‘community’ page as the default page.
Is there a way I can stop this? So if a logged in user clicks on their own profile it shows them the forums to start with, but if they click someone elses profile it will display that members activity, or profile information?
Many thanks!
Phil
The name “Admin” appears when creating a group, post updated, etc in the activity stream and other areas. I noticed that there is a “bp_get_activity_user_link” filter.
How can I create a function that “disables” the Admin link but creates link for all other users?
function disable_admin_profile_link( $link ) { if( $link != bp_loggedin_user_domain() ) $link = // custom url return $link; } add_filter( 'bp_get_activity_user_link', 'disable_admin_profile_link', 15, 1 );
vs something like this
function _bp_core_get_user_domain($domain) { $url = get_home_url(); $user_id = bp_get_member_user_id(); if (empty($user_id)) { $user_id = bp_get_activity_user_id(); } if (empty($user_id)) { //$user_id = bp_displayed_user_id(); } $user_info = get_userdata($user_id); $link = $user_info->display_name; $domain = '' . $url . '/profiles/' . $link . ''; return $domain; } add_filter('bp_core_get_user_domain', '_bp_core_get_user_domain', 10, 4); apply_filters( 'bp_get_activity_user_link', '_bp_core_get_user_domain', 15, 1);
Not sure how to code it… If user is Admin, then link to homepage. If not, then link to their profile?
Hi,
Does anyone know if it’s possible, under the ‘Members’ page (where members/users are listed), to show some selected info from their profile i.e. phone number, email etc?
I was also wondering if, after you select a user, you can set their page to go straight to their ‘profile’ page and not ‘activity’ page.
Thanks
AndrewI’m running WP 4.4.2 and Buddypress 2.5.2 on my site http://www.charlottemasoneducation.org
I’d like to add the member’s city and state to the member profile page right where it says when their last activity was.
I have added these fields in a theme-my-login-custom.php file in order for them to be part of the registration process to my private site which I’m using the TML plugin for.
From reading other threads, it sounds like I need to edit the member-header.php file?
Here is the section that I think I need to add code to. Can you please tell me what code I would need to add and where to add it in order to have those fields show up correctly?
<?php endif; ?> <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> <?php do_action( 'bp_before_member_header_meta' ); ?> <div id="item-meta"> <?php if ( bp_is_active( 'activity' ) ) : ?> <div id="latest-update"> <?php bp_activity_latest_update( bp_displayed_user_id() ); ?> </div> <?php endif; ?> <div id="item-buttons"> <?php do_action( 'bp_member_header_actions' ); ?> </div><!-- #item-buttons --> <?php /*** * If you'd like to show specific profile fields here use: * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field */ do_action( 'bp_profile_header_meta' ); ?> </div><!-- #item-meta --> </div><!-- #item-header-content --> <?php do_action( 'bp_after_member_header' ); ?> <?php do_action( 'template_notices' ); ?>
Hey everyone,
First of all, thanks so much for the work and effort you put into BP. It’s amazing what you all do.I recently updated to the latest BP and WP versions (the details you requested are below).
Issues #1 – when someone initially posts into a group, not a reply to a comment, users who have requested All Email option from the BP Group Email Subscription Plugin receive an email using that BP Group Email Subscription plugin’s email template vs. the new BP email templates. If someone replies to the comment, then the new BP email templates work perfectly.
Issue #2 – the email mentioned in #1 is from wordpress@mydomain.org. while the others are sent from mysite@mydomain.com.
Thanks for any advice you can send my way.
1. Which version of WordPress are you running? 4.4.2
2. Did you install WordPress as a directory or subdomain install? subdomain
3. If a directory install, is it in root or in a subdirectory?
4. Did you upgrade from a previous version of WordPress? If so, from which version? From 4.3.3
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? Yes
6. Which version of BP are you running? 2.5.2
7. Did you upgraded from a previous version of BP? If so, from which version? 2.4.2
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Advanced Cron Manager
Automessage
Black Studio TinyMCE Widget
BP Group Hierarchy
BP Profile Search
Broken Link Checker
BuddyBoss Wall
BuddyDrive
BuddyPress
BuddyPress Activity Plus
BuddyPress Global Search
BuddyPress Group Email Subscription 3.6.0
Select BuddyPress Groups Extras
Select BuddyPress Members Import
Select BuddyPress Message Attachment
Select CCL Salesforce Connector
Contact Form
Easy Google Fonts
Events +
Google Analytics by Yoast
Google Doc Embedder
Google Maps
HiFi
iframe
Invite Anyone
Page Builder by SiteOrigin
PHP Code Widget
PHP Snippets
PopUp Pro
Deactivate
Post Tags and Categories for Pages
Deactivate
Private Community For BP Lite
Redirection
Search shortcode
Shortcodes Ultimate
Simple Follow Me Social Buttons Widget
Simple:Press
UberMenu 2 – WordPress Mega Menu Plugin
User Role Editor
Wordfence Security
WordPress HTTPS
WP-FormAssembly
WPMU DEV Dashboard9. Are you using the standard WordPress theme or customized theme? BuddyBoss
10. Have you modified the core files in any way? Nope
11. Do you have any custom functions in bp-custom.php? Yes
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Not running
13. Please provide a list of any errors in your server’s log files. None
14. Which company provides your hosting? BlueHost
15. Is your server running Windows, or if Linux; Apache, nginx or something else? Apache
Hello, im having problems with the registration and activity pages on my website, im new at this, so i dont know if i’ve made a mistake and where i might have made it…
I installed buddypress through wordpress plug-in search engine, and then went to settings and set up everything as i wanted, edited the profile fields as i needed, and then when i tried to visit the pages i only get the title of the page and the rest is blank, as if it where a normal page.
I’ve been searching different forums about people having the same problem, but i haven’t been able to find a solution, they’ve either been posted a lot of years ago, or they just say solved and do not share how they solved it.
If anyone can help, i will appreciate it a lot!!I have read the codex as many suggested, but it did not help because i did everything as it indicate to do it.
I created the register and activate page and then assigned them under Settings/Buddypress/Pages, how the codex indicates so. (i did not edit in any way the pages, i only created and assigned them.
I made sure that in Settings/General under membership the “anyone can register” is checked.
I’ve checked if the register.php and activate.php files do exist.
I read that it might be a bug, so i tried uninstalling this version (V2.5.2) and installing V2.5.1 and V2.3.5, just in case that would fix it…I truly don’t know what else to do.
Its my first website and i do not know a lot of coding, im learning as i go.
Could it be a bug in the plug-in? if so… how can i fix it?Just in case it helps, my host company is hostgator, WordPress is updated to the lates version, so is buddypress.
I have the following plug-ins installed (i know they are a lot, but since i do not know how to code, i sort of need them…) :
Admin Custom Login
Black Studio TinyMCE Widget
Black Studio Touch Dropdown Menu
BP Registration Options
BuddyPress
BuddyPress Cover Photo
BulletProof Security
Confirm User Registration
Contact Form 7
Duplicate Post
Hide Admin Bar From Non-admins
Lightbox Plus Colorbox
Meta Slider
No Right Click Images Plugin
Page Builder by SiteOrigin
PMPro KISSmetrics
Polylang
Protect My Contents
Quick Page/Post Redirect Plugin
SB Welcome Email Editor
SiteOrigin Widgets Bundle
Spacer
Title Remover
Wordfence Security
WordPress Access Control
WP Bouncer
WP Maintenance ModeThanks in advance for your help!
am creating a front.php page with regards to BP 2.4 Group Home Page feature. The group front page is created perfectly fine. But an additional tab now comes up in the group nav “Activity” and when i click on it its all css/js messedup design wise.
Am i making some mistake? Do i need to remove activity tab if i got a custom front.php?
Thanks
Special thanks to @valuser and @shanebp for helping create a custom member directory by adding the Buddypress members-loop.php to my themes page.php, and renaming it page-local-members-php.
*For the step by step, here is the link to the discussion – https://buddypress.org/support/topic/how-to-display-additional-member-directory/#post-251127
There are now two Directories listed on the website. The current issue resides with the styling. The original member directory appears to obtain its structure from the Buddypress index.php file located in the wp-content/plugins/buddypress/bp-themes/bp-default/members-folder, while the Secondary ‘Custom’ member directory is missing the original functions like the search, role search, order by, and some basic css such as removing the bulletins on the member list.
What would be the best solution to fix this.
Would adding the code from index.php file from the wp-content/plugins/buddypress/bp-themes/bp-default/members-folder solve it?
*I wonder, would it be possible to make an additional page template that would shows on the wordpress frontend part of the plugin on the Dashboard/settins/buddypress/pages section as an additional directory.
That way you could route it from to a page from the front end the same way you route member, activity stream, register, and activate page keeping all files it in the buddypress folder.Update:
I’ve tried adding the code from the index.php file located in the wp-content/plugins/buddypress/bp-themes/bp-default/members-folder to the index.php file located in the wp-content/themes/my-theme/-folder however the default styling and functions are still missing.
Any help on this will be greatly appreciated.
Topic: Custom Tabs
What’s the best way to make a full width BP page and add custom tabs to either the Activity Stream or Profile page?
Thanks,
Justin
Special thanks to @valuser and @shanebp for helping create a custom member directory by adding the Buddypress members-loop.php to my themes page.php, and renaming it page-local-members-php.
*For the step by step, here is the link to the discussion – https://buddypress.org/support/topic/how-to-display-additional-member-directory/#post-251127
There are now two Directories listed on the website. The current issue resides with the styling. The original member directory appears to obtain its structure from the Buddypress index.php file located in the public_html/cosnetwork.us/wp-content/plugins/buddypress/bp-themes/bp-default/members-folder, while the Secondary ‘Custom’ member directory is missing the original functions like the search, role search, order by, and some basic css such as removing the bulletins on the member list.
What would be the best solution to fix this.
Would adding the code from index.php file from the public_html/cosnetwork.us/wp-content/plugins/buddypress/bp-themes/bp-default/members-folder solve it?
*I wonder, would it be possible to make an additional page template that would shows on the wordpress frontend part of the plugin on the Dashboard/settins/buddypress/pages section as an additional directory.
That way you could route it from to a page from the front end the same way you route member, activity stream, register, and activate page keeping all files it in the buddypress folder.Yay for the new release! I love how the comments synchronise.
I was super excited when I saw the Custom Post Type Comment Tracking function would be added to the new version of BuddyPress, so I’ve been waiting (im)patiently for the release, but I can’t get it to work. I want comments to lessons of the Namaste! LMS plugin (post type = namaste_lesson) to show up in the activity stream.I use WP 4.4.2 and BP 2.5.0, single site install
I tried with twenty fifteen theme, still the same problem.
I tried all repair tools, deinstalled all plugins, reinstalled just BP and Namaste, and also tried it without Namaste with another CPT
I tried adding
add_post_type_support( 'namaste_lesson', 'buddypress-activity' );
to bp_custom.php
I also tried this this snippet https://codex.buddypress.org/plugindev/post-types-activities/#1-add-comments-tracking-to-an-existing-post-type but I wasn’t sure how to use the namaste_lesson because of the underscore, for instance in
'action_id' => 'new_blog_page',
does that become
'new_namaste_lesson'
??
As you can tell I’m completely new to coding. I would love to learn, though.Thanks so much!
Hi there,
I am creating a custom theme and need to integrate BuddyPress. I am working locally.
I have a custom template and created the activity loop. This works great. Now I want to show the post-form at the top of my activity loop. Which I have done by calling in activity/post-form.php. However, you type in the textarea box and hit post comment and nothing happens. Any ideas?
I know the activity feed is working on /activity so everything is setup correctly with my theme. I just want to show it in a column on my new template page.
<div id="buddypress">
<div class="activity-comment">
<?php locate_template( array( 'buddypress/activity/post-form.php' ), true ); ?>
</div>
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=activity_update' ) ) : ?>
<?php while ( bp_activities() ) : bp_the_activity(); ?>
<?php locate_template( array( 'buddypress/activity/entry.php' ), true, false ); ?>
<?php endwhile; ?>
<?php endif; ?>
</div>