Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 16,401 through 16,425 (of 94,565 total)
  • Author
    Search Results
  • #249992
    ShMk
    Participant

    With user_can() I can check for user capabilities but what BuddyPress template files or hooks I have to use to edit the user profile page? (I’m talking about the ‘website.tld/users/NAME_OF_THE_USER/profile/’ page)

    ShMk
    Participant

    Hello,
    I have a BuddyPress website with various user roles, I’m looking to display the user Profile tab differently (reorder and hide some fields) based on the user role.
    How could I do this?

    #249979
    shamee123
    Participant

    Hi ,I am using WordPress version 4.4.2, BuddyPress version2.4.3 in my website .In my websites buddy press i (admin)can upload and change profile picture but users cannot do this .When user trying to upload profile picture there is always showing a error message like – An error occurred. Please try again later-.No problem in the case of cover image .Anyone can help me for solve this problem ?

    #249975
    Dainismichel
    Participant

    Hi, I have the latest version of BuddyPress and the latest version of WordPress running. The BuddyPress menu stopped flying out for subscribers, but seems to be working for admins. It’s sporadic. If the BuddyPress menu does fly out, the links take the subscriber to the home page and not to the buddypress inbox (for example).

    This is the menu I am talking about:

    http://screencast.com/t/hZhzoPEBOdf

    #249974
    shanebp
    Moderator

    Create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\messages\compose.php

    Adjust the conditional that shows the checkbox so that the ‘trainer’ role is allowed.

    #249968
    danbp
    Participant

    Hi,

    read for a solution here:
    https://buddypress.org/support/topic/add-tinymce-to-activity-post-form/#post-189713

    Note that there is only one “what’s new” form for BP activities (meaning site activities or profile activities or group activities use the same form).

    To get it only for groups, simply add a conditionnal specific for “groups”(all) or “group”(by name).

    Not tested with 2.4.3, but may work. 😉

    #249961
    sokolum
    Participant

    Googled around, an older examples won’t work with the current version of BuddyPress 2.4.3. How to make sure that the activities of the Administrator isn’t recorded or not shown, sitewide / plugins / etc….

    Prefer to add this in: bp-custom.php

    Thank yo in advance.

    Code what i had found:

    
    <?php
    // Don’t record activity by the site admins or show them as recently active
    function my_admin_stealth_mode(){
    if ( is_site_admin() ) {
    global $bp;
    remove_action(‘wp_head’,’bp_core_record_activity’);
    delete_user_meta($bp->loggedin_user->id, ‘last_activity’);
    }
    ?>
    

    Here’s another code, this removes the activity of the currently logged in user itself from the page, this still works:
    But obviously it wont hide the administrator’s activity in the users perspective!

    
    <?php
    //filter on pre_user_query
    add_action( 'pre_user_query', 'devb_exclude_loggedin_user', 201 );
    
    function devb_exclude_loggedin_user( $query ) {
        //don't modify the query if the user is not logged in
        if ( !is_user_logged_in() )
            return;
        //do not hide users inside the admin
        if ( is_admin() && !defined('DOING_AJAX') )
            return;
        $qv = $query->query_vars;
    
        global $wpdb;
        //hide
        $query->query_where .= $wpdb->prepare(" AND {$wpdb->users}.ID !=%d ", get_current_user_id());
    }
    ?>
    
    #249959
    bruce30
    Participant

    hi,
    in buddypress personal profile notification of the date received is not showing on a date form. it was on a time form, how to change this. please help,

    #249950

    In reply to: Members

    modemlooper
    Moderator

    Unfortunately, VC is a third party plugin and this forum is for support of BuddyPress

    #249949

    In reply to: TRANSLATION ISSUES

    modemlooper
    Moderator

    unfortunately this forum is for support with BuddyPress itself, when there are added plugins it can make it impossible for someone to test.

    Did you read through translation docs? https://codex.buddypress.org/getting-started/customizing/buddypress-in-your-language/

    #249948
    modemlooper
    Moderator

    Read here https://buddypress.org/support/topic/creating-a-page-with-nav-tab-subnav-for-buddypress-profiles/

    Also Google and search forums it’s been asked many times

    #249947
    modemlooper
    Moderator
    modemlooper
    Moderator

    Read through this https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/

    You need to decide on a forum site or using BuddyPress and using group forums. Running both can be confusing for users

    #249938
    jrb9406
    Participant

    I should probably clarify my last post

    I understand CSS, but I’m a beginner at it. I can change CSS attributes of the table like color, font, width, etc. I just can’t figure out what is keeping the data fields so far apart. It doesn’t look like cell spacing, margins, padding, or borders.

    I understand that this may be an issue with my theme, but perhaps someone knows how buddypress setup the table?

    #249935
    jrb9406
    Participant

    I have a problem with the profile fields for buddypress. The table has some odd spacing (see link)

    https://www.flickr.com/photos/138564821@N02/25031841016/in/dateposted-public/

    I’m trying to figure out what’s going on with my spacing. I imagine it’s CSS, but I can’t seem to find what CSS code is causing this. I tried probing around with firebug, and I can change colors, fonts, etc., but the table still looks odd.

    Thanks in advance!

    monicamonroe
    Participant

    Hey Shane,

    Yes I chatted with them they told me to chat with Buddypress since it was you guys plugin

    shanebp
    Moderator

    Very difficult to diagnose without access to your hosting account.

    You’re using an old version of BuddyPress.
    You should take this opportunity to update BuddyPress.

    monicamonroe
    Participant

    I keep getting the below error on my site.. My hosting recently switched my account over from Shared Hosting to a VPS setup.. and this starting happening.. I can’t delete menus, pages, add groups, etc.. I deleted the plugin then readded it.. I also deactivated plugins and the problem still persists..

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 256 bytes) in …/wp-content/plugins/buddypress 1.2/bp-activity/classes/class-bp-activity-activity.php on line 695

    #249918
    shanebp
    Moderator

    There are several multi-select fields available when you create a profile field.
    https://codex.buddypress.org/administrator-guide/extended-profiles/

    #249915

    In reply to: Error Posting Comments

    Manoj Chacko
    Participant

    Ok I narrowed it down further, its this line thats causing the issue.

    $comment_activity_id = bp_activity_add( $args ); (line 717 in bp-blogs/bp-blogs-functions.php)

    Since I am not familiar with buddypress codes, can somebody help me trouble shoot this.

    #249911
    OakCreative
    Participant

    @oliver_rub, our current solution involves deregistering the BuddyPress mentions script and enqueuing our own slightly modified version with a more generic jQuery selector. I think @slaffik has found the best solution though, I’m going to try it.

    @benworxnl, no we had a slightly different scenario. We transformed the “What’s New” textarea into a WYSIWYG editor and the visual tab worked on that straight away. The issue we had was getting the mentions to work on that visual editor.

    Anyway, we duplicated and edited the activity/post-form.php template and replaced the textarea with wp_editor;

    wp_editor(
    	isset( $_GET['r'] ) ? '@' . esc_attr( $_GET['r'] ) : '',
    	'whats-new',
    	array(
    		'textarea_name' => 'whats-new',
    		'editor_class'  => 'whats-new-mce',
    		'editor_height' => 200,
    		'tinymce' => array(
    			'toolbar1' => 'bold,italic,underline,|,blockquote,|,bullist,numlist,|,link,unlink,|,spellchecker,|,undo,redo',
    			'toolbar2' => ''
    		)
    	)
    );

    For activity replies, you could do something similar to this in activity/entry.php;

    wp_editor(
    	isset( $_GET['r'] ) ? '@' . esc_attr( $_GET['r'] ) : '',
    	'ac-input-' . bp_activity_id(),
    	array(
    		'textarea_name' => 'ac_input_' . bp_activity_id(),
    		'editor_class'  => 'ac-input',
    		'editor_height' => 200,
    		'tinymce' => array(
    			'toolbar1' => 'bold,italic,underline,|,blockquote,|,bullist,numlist,|,link,unlink,|,spellchecker,|,undo,redo',
    			'toolbar2' => ''
    		)
    	)
    );

    Please note, I’ve not tested the above.

    johnywhy
    Participant

    hello

    why doesn’t bp_loggedin_user_domain() work immediately after registration, even though i can manually browse to the user-profile?

    feel free to suggest a plugin, but i’ve found none that will take user to their profile after buddypress registratioin.

    i’ve verified that bp_loggedin_user_domain() returns the full url of the logged in user.

    i placed that php in a tiny custom plugin. I’ve verified this works too:

    function bp_redirect($user) {
        $redirect_url = bp_loggedin_user_domain();
        wp_redirect($redirect_url);
    }
    add_action('bp_core_signup_user', 'bp_redirect', 100, 1);

    however, when a new user logs in, they are not directed to their profile page– instead they are directed to the site homepage.

    yet, i can manually browse to their profile no problem, immediately after registration.

    appreciate any help.

    thx

    #249909
    singhnavjeet
    Participant

    Hey All,

    I am having a problem with BuddyPress Activity Comments and reply.

    When I post content to buddypress activity i can see the content without any problem, but when a user or even myself comment on any activity the comment does not show up. On inpect-element it shows <div class="acomment-content"></div> is empty.I can see the person has made a comment, i can see the avatar pic and everything other then the comment content.

    I have looked into the comment.php in the activity folder it seems like

    <?php bp_activity_comment_content(); ?>

    is not returning comments. In the admin panel under activity i could see all the comments made by me or other user but it just would not populate in the front end.

    I have searched through the forum and some user has suggested that the

    “Allow activity stream commenting on blog and forum posts”

    should be ticked, i have that ticked. I have turned off

    “Discourage search engines from indexing this site”

    just to check as suggested by some user that too did not work.

    I am running out of ideas and have not come across anything on the net regarding this issue. Would highly appreciate all your help.

    Regards,
    Singh

    #249905
    johnywhy
    Participant
    #249904
    johnywhy
    Participant
Viewing 25 results - 16,401 through 16,425 (of 94,565 total)
Skip to toolbar