Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 29,351 through 29,375 (of 94,565 total)
  • Author
    Search Results
  • danbp
    Participant

    hi @valuser,

    the bp_is_blog_page function is missing to hide the calendar when on BP pages.

    The place with the weird output contains an overcomplicated method to show a title. IMHO there is no need to use so many conditionnals to show a post title…. So I replaced it by the h1 stuff used in Twenty Thirteen.

    You will probably need some adjustment into CSS too. So far i can see there is no other trouble with BP. Nice theme !

    remove/replace the following into /partials/part_article_header.php

        <?php
        // Article calendar
        if ( bp_is_blog_page() ) :  //  if it returns true, it's not a BP page.
    	
        if (!is_page() && !is_search()) : ?>
    	<div class="calendar event_date">
    		<span class="month"><?php echo strtoupper(get_the_date('M')); ?></span>
    		<span class="day"><?php echo get_the_date('d'); ?></span>
    		<span class="year"><?php echo get_the_date('Y'); ?></span>
    	</div>
        <?php endif; 
               endif; // ending bp_is_blog_page ?>
    
        <h1 class="entry-title">
            <?php if ( is_single() ) :  ?>
                <?php the_title(); ?>
            <?php else : ?>
                <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
    			 <?php endif; ?>
        </h1>
    #171312
    rameshwor.maharjan
    Participant

    Hi,

    Is this what you guys looking for?

    http://webavenue.com.au/buddypress-activity-sidebarwidget/

    #171311
    slowsoulz
    Participant

    Hello and thanks in advance for the help with this problem.

    I’m using the BP-Default theme with the BuddyPress Widget child theme. Right now when users are logged in, the menu is covering up part of the logo in the header. I would like to have the menu moved down.

    I am also using a plugin called Menu Items Visibility Control which allows me to hide the menu on the home page when people are not logged in. The content area of the body covers up the logo when users are not logged in. I need the logo to be completely visible whether people are logged in or not!

    How can I fix this?

    #171307
    catwomanbadkitty
    Participant

    I am on Buddypress 1.8.1 and WP 3.6.
    I am removing all traces of mentions from my site using the directions on the Buddypress No Mentions plugin FAQs page. The one thing not covered on this tutorial page is how to get rid of the Mention this User button on the Profile page of another member.
    I removed this button by going to my child theme members/single/member-profile.php and taking out the following code:

    //<?php if ( is_user_logged_in() && !bp_is_my_profile() && function_exists( ‘bp_send_public_message_link’ ) ) : ?>
    //<div class=”generic-button” id=”post-mention”>
    //” title=”<?php _e( ‘Mention this user in a new public message, this will send the user a notification to get their attention.’, ‘buddypress’ ) ?>”><?php _e( ‘Mention this User’, ‘buddypress’ ) ?>
    //</div>
    //<?php endif; ?>

    All seems to be running fine and the Mention this User button is gone. Any problems with getting rid of this button in this fashion?
    Thanks!

    #171305
    catwomanbadkitty
    Participant

    The above plugin does not exist and the code must be outdated.

    I am on Buddypress 1.8.1 and WordPress 3.6. I want to remove Activity from the member profile. I was able to style it out by placing the following into my childtheme CSS file:

    #user-activity {
    display: none;
    }

    I then made my Profile tab display first using the following in bp-custom.php:

    // define the profile tab that opens by default
    define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ );

    So activity does not appear, however if you type in the URL: mysite/members/username/activity the Activity stream is still there.

    Any best practices for getting rid of Activity in the Profile.
    I also want to make changes to the main Activity stream and Group Activity stream so a point to good resources would be great.

    #171300

    In reply to: Sitewide Activity

    bp-help
    Participant

    @rameshwormaharjan
    Why try to reinvent the wheel? Try this:

    BuddyPress Sitewide Activity Widget


    If that doesn’t work for you then at least study the code to see where you are going wrong.

    resistoyen
    Participant

    Oh sorry sure, thanks for the fast reply, my problem is that the page don’t want to show up with full-width as in the screenshorts here.

    BuddyPress don't want full width
    Normal fullwidth page working

    resistoyen
    Participant

    Hello, i’ve spend like 4 hours by now to try to get my BP working with full-width template on oxygene 0.5 theme.
    Unfortunatly, i’m still on local server so i can’t give an adress.

    I followed the procedure described here at the end : http://codex.buddypress.org/theme-development/theme-compatibility-1-7/bp-17-upgrading-template-packed-themes/

    I’ve tryed it both in default theme & child theme.
    Strangely, i got a but with child-theme on previous installation loosing default template of oxygen but getting the full-with template working !! I thought it would work by reinstalling but it didn’t.

    What i did,

    I created a buddypress.php by copying the code tooked from the page-template-fullwidth.php.
    It didn’t worked so i tryed to create a bbpress.php with same code (thought i didn’t installed bbpress yet). Didn’t worked too…

    Here’s the code of these files:

    [EDIT- please post large blocks of code at pastebin.com
    ~~ mercime]

    Would be amazing to get it work. It’ for a non profit organization & we have no money :'(
    Thx a lot for any help.

    @mercime
    Participant

    hnla, valuser and I are long-time acquaintances 😉

    @valuser Could be the missing opening and closing divs. Not going to be as easy as BP template pack IMHO 🙂

    We could try the alternative way for theme compatibility which is creating one file to take care of all the BuddyPress pages. So backup the buddypress/groups/index.php you made and delete the index.php along with the BP folders you created from your theme folder in server. Then create a file, buddypress.php and add http://pastebin.com/EsBMTpSG and upload this to the root of your theme folder in server i.e., wordstrap/buddypress.php

    #171289
    jordas
    Participant

    Hi developers of this really great plugin,

    I have a problem with a site that was made for a client. The site has a newsletter that you can sign up for, it uses the gravity mailchimp addon to do all that. It works fine but here’s the problem. You can also sign up for the newsletter seperately. Once you have already signed up for the newsletter, the registration breaks when you try to sign up for buddypress. Probably because it gets confused because of the mailchimp settings have already been passed. But we really need to have the option to to let our visitors do either or both.

    The users can be registered by hand, but those are the ones that mail us it is going wrong, we are really afraid a great deal of potential members are lost because of this.

    Is this a known problem?

    with kind regards
    Jordas

    #171288
    hitkid
    Participant

    Hello everyone,

    I’m looking for a plugin that allows for a sitewide area where users can upload images that can be put into categories. I’ve seen this done before, but the plugins I’m finding don’t allow for taxonomy. The closest plugin I’ve seen is buddypress-links, but that is for videos. I’ve been trying to hack that plugin with not a lot of luck 🙁

    please help me 🙂

    Hugo Ashmore
    Participant

    Please bear in mind primary purpose of support here isn’t providing solutions for third-party themes.
    You’ll need to track down why it isn’t working, and as mercime suggests, create a custom override template for BP screens.

    valuser
    Participant

    Many thanks for your reply.

    The theme is that at https://wordpress.org/themes/wordstrap

    Have taken your advice and am almost there! (i think !)

    I just have not altered the index.php file correctly – (your advice very welcome)

    With an index.php file in directory —> themes/wordstrap/groups/index.php

    (no change whatsoever if in themes/wordstrap/buddypress/groups/index.php)

    see altered file at http://pastebin.com/VAfJAjbj

    and a jpg of the result at https://i.imgur.com/7fRK8at.jpg (where within the content everything has floated left!).

    Any advice most welcome

    #171272
    andriy07
    Participant

    Hello, I’m new on here and on the wonderful buddypress.

    I have one first question: how can I change the page width? I’d like to fix it at 900px but I can’t find it out.

    Thank you

    @mercime
    Participant

    @valuser Which wordstrap theme are you referring to? The issue could probably be due to how the page title is rendered by your theme. Is the theme using the_title or a theme-specific template tag?

    If it’s a theme-specific template tag causing the issue, you can most possibly resolve this by creating a template specifically for the Groups Directory page which addresses the page title issue https://codex.buddypress.org/theme-development/theme-compatibility-1-7/template-hierarchy/

    #171256
    Uncle Jimmy
    Participant

    My Site
    ChristianiTees
    This is the Problem

    Here’s What I’m Using

    • WordPress 3.6
    • BuddyPress 1.8.1
    • Gantry Theme for WordPress – By RocketTheme, LLCVersion 4.0.6 [Basic default Gantry theme for WordPress]
    • Gantry BuddyPress – Version 1.3 | By RocketTheme, LLC
    • Gantry Template Framework – Version 4.0.7 | By RocketTheme

    Prior Issues With gantry-buddypress Plugin

    <p>This Plugin has been responsible for all other issues with BuddyPress that I’ve had, e.g., [[Resolved] Registration/Activation Brokenand[Resolved] Duplicate Profile Meta Error]

    I believe the present issue is within this plugin somewhere here, not sure.</p>
    <p></p>
    The entry.php file code is;
    <p> </p>

    
    <?php
    /**
     * @version   1.3 November 8, 2012
     * @author    RocketTheme, LLC http://www.rockettheme.com
     * @copyright Copyright © 2007 - 2012 RocketTheme, LLC
     * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
     */
    
    /**
     * BuddyPress - Activity Stream (Single Item)
     *
     * This template is used by activity-loop.php and AJAX functions to show
     * each activity.
     *
     * @package BuddyPress
     * @subpackage bp-default
     */
    
    ?>
    
    <?php do_action( 'bp_before_activity_entry' ); ?>
    
    <li class="<?php bp_activity_css_class(); ?>" id="activity-<?php bp_activity_id(); ?>">
    	<div class="activity-avatar">
    		">
    
    			<?php bp_activity_avatar(); ?>
    
    		
    	</div>
    
    	<div class="activity-content">
    
    		<div class="activity-header">
    
    			<?php bp_activity_action(); ?>
    
    		</div>
    
    		<?php if ( 'activity_comment' == bp_get_activity_type() ) : ?>
    
    			<div class="activity-inreplyto">
    				<?php _e( 'In reply to: ', 'buddypress' ); ?><?php bp_activity_parent_content(); ?> " class="view" title="<?php _e( 'View Thread / Permalink', 'buddypress' ); ?>"><?php _e( 'View', 'buddypress' ); ?>
    			</div>
    
    		<?php endif; ?>
    
    		<?php if ( bp_activity_has_content() ) : ?>
    
    			<div class="activity-inner">
    
    				<?php bp_activity_content_body(); ?>
    
    			</div>
    
    		<?php endif; ?>
    
    		<?php do_action( 'bp_activity_entry_content' ); ?>
    
    		<?php if ( is_user_logged_in() ) : ?>
    
    			<div class="activity-meta">
    
    				<?php if ( bp_activity_can_comment() ) : ?>
    
    					" class="button acomment-reply bp-primary-action" id="acomment-comment-<?php bp_activity_id(); ?>"><?php printf( __( 'Comment <span>%s</span>', 'buddypress' ), bp_activity_get_comment_count() ); ?>
    
    				<?php endif; ?>
    
    				<?php if ( bp_activity_can_favorite() ) : ?>
    
    					<?php if ( !bp_get_activity_is_favorite() ) : ?>
    
    						" class="button fav bp-secondary-action" title="<?php esc_attr_e( 'Mark as Favorite', 'buddypress' ); ?>"><?php _e( 'Favorite', 'buddypress' ); ?>
    
    					<?php else : ?>
    
    						" class="button unfav bp-secondary-action" title="<?php esc_attr_e( 'Remove Favorite', 'buddypress' ); ?>"><?php _e( 'Remove Favorite', 'buddypress' ); ?>
    
    					<?php endif; ?>
    
    				<?php endif; ?>
    
    				<?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?>
    
    				<?php do_action( 'bp_activity_entry_meta' ); ?>
    
    			</div>
    
    		<?php endif; ?>
    
    	</div>
    
    	<?php do_action( 'bp_before_activity_entry_comments' ); ?>
    
    	<?php if ( ( is_user_logged_in() && bp_activity_can_comment() ) || bp_activity_get_comment_count() ) : ?>
    
    		<div class="activity-comments">
    
    			<?php bp_activity_comments(); ?>
    
    			<?php if ( is_user_logged_in() ) : ?>
    
    				<form action="<?php bp_activity_comment_form_action(); ?>" method="post" id="ac-form-<?php bp_activity_id(); ?>" class="ac-form"<?php bp_activity_comment_form_nojs_display(); ?>>
    					<div class="ac-reply-avatar"><?php bp_loggedin_user_avatar( 'width=' . BP_AVATAR_THUMB_WIDTH . '&height=' . BP_AVATAR_THUMB_HEIGHT ); ?></div>
    					<div class="ac-reply-content">
    						<div class="ac-textarea">
    							<textarea id="ac-input-<?php bp_activity_id(); ?>" class="ac-input" name="ac_input_<?php bp_activity_id(); ?>"></textarea>
    						</div>
    						<input type="submit" name="ac_form_submit" value="<?php _e( 'Post', 'buddypress' ); ?>" />   <?php _e( 'or press esc to cancel.', 'buddypress' ); ?>
    						<input type="hidden" name="comment_form_id" value="<?php bp_activity_id(); ?>" />
    					</div>
    
    					<?php do_action( 'bp_activity_entry_comments' ); ?>
    
    					<?php wp_nonce_field( 'new_activity_comment', '_wpnonce_new_activity_comment' ); ?>
    
    				</form>
    
    			<?php endif; ?>
    
    		</div>
    
    	<?php endif; ?>
    
    	<?php do_action( 'bp_after_activity_entry_comments' ); ?>
    
    
    
    <?php do_action( 'bp_after_activity_entry' ); ?>
    
    
    

    The activity-loop.php file code is;

    
    <?php
    /**
     * @version   1.3 November 8, 2012
     * @author    RocketTheme, LLC http://www.rockettheme.com
     * @copyright Copyright © 2007 - 2012 RocketTheme, LLC
     * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
     */
    
    /**
     * BuddyPress - Activity Loop
     *
     * Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter()
     *
     * @package BuddyPress
     * @subpackage bp-default
     */
    
    ?>
    
    <?php do_action( 'bp_before_activity_loop' ); ?>
    
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
    
    	<?php /* 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; ?>
    
    	<?php while ( bp_activities() ) : bp_the_activity(); ?>
    
    		<?php gantry_bp_locate_type( array( 'activity/entry.php' ), true, false ); ?>
    
    	<?php endwhile; ?>
    
    	<?php if ( bp_activity_has_more_items() ) : ?>
    
    		<li class="load-more">
    			<?php _e( 'Load More', 'buddypress' ); ?>
    		
    
    	<?php endif; ?>
    
    	<?php if ( empty( $_POST['page'] ) ) : ?>
    
    		
    
    	<?php endif; ?>
    
    <?php 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; ?>
    
    <?php 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>
    
    

    Any help resolving this issue is greatly appreciated, I will post the resolution here even if I recieve no response, so either BuddyPress Support or Users can benefit from these Gantry-BuddyPress Plugin Issues/Resolutions.

    Thank you in advance for your time.

    #171254
    envieme
    Participant

    Just one more nudge on this. As this is really important in securing the privacy on my site members.

    I was successfully able to set my own profile privacy levels editing it from front end. So I see the bp-x-profile-visibility-levels field in user_meta table with value:
    a:7:{i:1;s:6:”public”;i:2;s:8:”loggedin”;i:3;s:8:”loggedin”;i:4;s:8:”loggedin”;i:7;s:10:”adminsonly”;i:8;s:10:”adminsonly”;i:11;s:6:”public”;}

    Is there a simple SQL that I can execute to make all users get this field in their user meta and set to this value? Can someone with SQL knowledge help?

    Thanks

    #171245
    @mercime
    Participant

    @thugzanime something like
    #buddypress table#message-threads {
    width: 666px;
    }

    #171238
    turleybw
    Participant

    I’m working on a custom members page, and I’m trying to display thumbnails of each member’s recent activity next to their basic profile information, but it’s not working as expected.
    Hopefully you can give me some insight.

    Here’s the code I’m working with:

    <?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ).’&max=3′.’&user_id=’.bp_member_user_id()) ) : ?>
    <?php while ( bp_activities() ) : bp_the_activity(); ?>

    <?php locate_template( array( ‘activity/entry.php’ ), true, false ); ?>
    <?php endwhile; ?>
    <?php endif; ?>

    http://localcreatives.org/members
    Buddypress 1.7.2

    As you can see I’m filtering activity so it only displays three items for each user, and I’m also trying to filter the activity by user id which is where the problem is. If I input a specific user id number it filters all the activity on the page to that user id. So, I’m attempting to call each user’s id with the function bp_member_user_id(). Please let me know what you’d change to correctly display each member’s recent activity.

    #171236

    In reply to: Group page issues

    steviep
    Participant

    Thanks mercime.

    Here is the URL from pastebin: http://pastebin.com/zbg1N1Zm

    I am not a coder so I can’t answer your question about the template tag. I can answer that the issue only happens when logged in– we use s2 member as well and the buddypress members/groups/forums are all behind an s2 membership wall.

    Let me know if you need anything else.

    #171234

    In reply to: buddypress.org issue

    @mercime
    Participant

    @bphelp Yes. Thanks for you patience 🙂

    #171230

    In reply to: not showing anything

    @mercime
    Participant
    #171228
    Ben Hansen
    Participant

    buddypress only recognizes 2 roles by default as far as i’m aware anyway, Admin/superadmin and everyone else. there’s probably a way to make a plugin that would do that if you know about such things.

    #171227
    @mercime
    Participant
    #171222
    damienoneill2001
    Participant

    Hi all,

    I want to add a piece of code to display some text saying “Welcome, username” in the WordPress Menus. This will only display when a Buddypress user has logged in and it links them to their profile page.

    So far, I have this in my function.php:

    // Filter wp_nav_menu() to add profile link
        add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link',10,2 );
        function my_nav_menu_profile_link($menu, $args) {      
                if( is_user_logged_in() && $args->theme_location == 'header2' ){
            $profilelink = '<li>Welcome, <a href="' . bp_loggedin_user_domain( '/' ) . '">' . bp_loggedin_user_id() . '</a></li>';
            $menu = $menu . $profilelink;
        }
        return $menu;
        }

    This works for everything but the Username.

    It is currently displaying the user ID correctly – obviously because the code states bp_loggedin_user_id() – but anything else I try doesnt work. Most terms just leave the space blank and all it returns is “Welcome, ”

    If I use bp_loggedin_user_username(), the username displays, but it breaks out of the code and places itself outside of the tags.

    I hope someone can help.

    Thanks

    Damien

Viewing 25 results - 29,351 through 29,375 (of 94,565 total)
Skip to toolbar