Forum Replies Created
-
Shane you are awesome man! I really appreciate you taking the time to help out. You have a wonderful week and god bless!
Never mind, i figured it out.
add this
<span class="create-a-group"><?php echo bp_get_group_create_button() ?></span>
to groups.php and place it in a child theme located in members/single/groups.php
I added the code before
<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
You can mark this as resolved
Thanks for the fast response shame, can you please provide me with an example on just one of them, I’ll be able to do the rest. Any help is much appreciated.
Special thanks to Brajesh Singh at Buddy Dev for coming up with a solution!
ps I’ve tried all of these calls and still nothing
if ( BP_Groups_Member::get_is_admin_of( $user_id )) {
if ( ! groups_is_user_admin( $user_id, $group_id ) ) {
if ( groups_is_user_admin( $user_id, $group_id ) ) {
if ( groups_is_user_admin( get_current_user_id(), $group_id ) ) {
Thank you @djsteveb
I just thought of a different way to word what I’m asking for.
Is there any way to add @ mentions in xprofile fields? I can make an x profile field called A list team and would like users to add “ie. @jonhdoe so users can be directed to the profile.
Thanks.
Another way to word it so search engines and other bp members can find this post is, display other member profiles on your profile or create a list of other members with links to their profiles.
Buddyboss support told me to do this… RESOLVED
Set WP_DEBUG to false define(‘WP_DEBUG’, false); in your wp-config.php file, this is a known issue. It will not break the plugin functionality.
Problem Solved :
All I did was create a blank Field Group and Move my Resume field to another position and it fixed itself.
THANK GOD, I FINALLY GOT IT!!!
I’m going to share what I did with the community so they dont have to go through the crap I went though.
The directions that buddydev.com gives you is dated and didnt work with my theme. Since my theme did not have a activity.php I had to change out the file located in buddypress plugin ….
/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/activity.php
inside that file go to line 48 should be something like this
if ( is_user_logged_in() && bp_is_my_profile() && ( !bp_current_action() || bp_is_current_action( ‘just-me’ ) ) )
ALL I CHANGED WAS THAT LINE OF CODE ABOVE TO THIS
if ( is_user_logged_in() && bp_is_my_profile() && ( ” == bp_current_action() || ‘just-me’ == bp_current_action()||BPCOM_ACTIVITY_SLUG == bp_current_action() ) )
IF YOU USE ANY OF THE CODE FROM BUDDYDEV SITE http://buddydev.com/buddypress/show-buddypress-communitysitewide-activity-on-user-profile/#comment-1497563 WITH ALL THE <?PHP BREAKS. IT WILL NOT WORK.
NOTE: For some reason when I tried to add this file to my theme folder, it broke my Activity stream, I didnt design the theme so I have no clue why it would be doing that. So if you add this to the buddypress plugin you will have to replace that file everytime you update buddypress.
HOPE THIS HELPS, THIS TOOK ME A BETTER PART OF A DAY ALMOST 2 DAYS TO ADD A POST FORM FOR THE ALL ACTIVITY IN PROFILE ON THE BOSS THEME. I HOPE IT HELPS THE COMMUNITY NOT HAVE THE FRUSTRATIONS I DID
PLEASE SHOW ME SOME LOVE AND SHARE MY WEBSITE ON YOUR BLOG OR COMMENT ON MY SITE.
@mercime it scares me that you open that ticket 15 months ago and nothing has been done. What are the chances of this being fixed in a reasonable time? Did you find an alternative solution for right now?
Never mind I used this css coding to add line breaks, still not perfect but it looks so much better than it used to!
#buddypress table.profile-fields p { margin-top: 10px !important; margin-bottom: 10px !important; }
Thanks Henry and Mercime, yes I updated the Trac Ticket. Would you guys know of a css quick fix until they update the core of buddypress?
Hey Henry yup it even happens on the 2015 theme. I recently updated to buddypress 2.3.2 .. I also deactivated every plugin I had. its something in buddypress mobile coding they added in 2.3.
thanks henry, you’re the man. I didn’t even think of that. after hours of sitting in front of a computer screen looking at code your mind becomes mush. I’m going to play around with it and let you know if it works.
thanks for the fast reply henry,
I understand that by default the all activity page has a whats new form already but I’m using a plugin by buddydev that says show community (sitewide) activity on profile, and it works great but it doesnt have a post form for people to post activity. But when i go to my url.com/activity… there is a post form there. I’m not the best at coding. Any help from the community would be greatly appreciated.
Hey Danbp,
Thank you for the quick responses and all your help. I tried playing around with your way but I’m not advanced enough for working with hooks and custom coding just yet.
I did find an easier work around that I just pasted into my bp-custom.php and it did the trick. But for other members trying to do this, you need to have the plugin http://buddydev.com/buddypress/show-buddypress-communitysitewide-activity-on-user-profile/ for this to work.
function bp_change_activity_subnav_default() { if ( bp_is_user_activity() ) { $args = array( 'parent_slug' => 'activity', 'subnav_slug' => 'all-activity' ); bp_core_new_nav_default($args); } } add_action('bp_setup_nav', 'bp_change_activity_subnav_default', 5);
I understand you guys aren’t getting paid for your services but now i’m just struggling on adding a “whats new” post form to the all activity page. Buddy dev had some directions on how to add it but I think its dated cause I couldn’t find the code that we needed to switch out. Is there a simple way to add a whats new post form to the all activity page? It would be awesome if it was simple enough to paste it into bp-custom.php.
Thanks again for everything you guys are great!
Thanks dan, I have the all activity on the specific page, but I wanted it in my profile. i ended up seeing this link on buddydev and it’s exactly what I need it to do http://buddydev.com/buddypress/show-buddypress-communitysitewide-activity-on-user-profile/ , I just wish I knew how to default it to that link when clicking on the activity link.
When i hit the activity link, it goes to my personal activity instead of the “all activity” tab. Could you direct me in how I could change the default sub menu tab in activity.
Thanks for your help! Have a wonderful independence day!