Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 13,676 through 13,700 (of 94,561 total)
  • Author
    Search Results
  • #258620

    In reply to: Isolated Groups

    gastronimo
    Participant

    It might be a lot of admin configs, but have you considered using BP multi-network plugin to keep everyone separate (https://buddydev.com/plugins/buddypress-multi-network/)?

    #258619
    jowyds
    Participant

    hello danbp, thanks for your reply.

    I have tried the suggestion to use define('WP_DEBUG', true); in conjuction with define('WP_DEBUG_LOG', true); with a twenty theme. It works fine when buddypress is not activated. No error or logfile whatsover. Then after I tried to activate buddypress, and test again. The media library still cannot load out. I have tried to check for error log and I can’t seems to find any.

    Nevertheless I found the culprit can be my bp-custom.php in which I put it just under /wp-content/plugins/[here]

    if I remove the file and everything seems works fine again with buddypress activated.

    This is the content for my bp-custom.php

    
    <?php
    // hacks and mods will go here
    
    /**
     * Make a site Private, works with/Without BuddyPress
     * 
     * @author sbrajesh
     * @global string $pagenow
     * 
     */
     
     /*
    function buddydev_private_site() {
        
        //first exclude the wp-login.php
        //register
        //activate
        global $pagenow;
        
        //do not restrict logged in users
        if( is_user_logged_in() ) {
            return ;
        }
        //if we are here, the user is not logged in, so let us check for exclusion
        //we selectively exclude pages from the list
        
        //are we on login page?
        if( $pagenow == 'wp-login.php' ) {
            return ;
        }
        
        //let us exclude the home page
        if( is_front_page() ) {
            return ;
        }
        
        $exclude_pages = array( 'register', 'activate', 'excelportfolio' );//add the slugs here
        
        //is it one of the excluded pages, if yes, we just return and don't care
        if( is_page( $exclude_pages ) ) {
            return ;
        }
        
        $redirect_url = wp_login_url( site_url('/') );//get login url,
        
        wp_safe_redirect( $redirect_url );
        exit( 0 );
    }
    
    */
     
    //add_action( 'template_redirect', 'buddydev_private_site', 0 );
    
    ?>
    
    <style type="text/css">
    
    #wp-admin-bar-bp-login {
    	display:none; /* JOWY: hide login link for buddypress. */
    }
    
    #wp-admin-bar-bp-register {
    	display:none; /* JOWY: hide register link for buddypress. */
    }
    
    #adminloginform {
    	color: #ffffff; /* JOWY: text color on form. */
    }
    
    #wpadminbar {
    	opacity: 0.7; /* JOWY: Opacity for wpadminbar. */
    }
    
    </style>
    

    what can possible went wrong?

    #258618
    pankajrathi95
    Participant

    In buddypress site. I want to activate the users directly without any activation mail.
    I used BP disable activation plugin. It is directly taking them after the register but in the users it shows pending!!
    can you tell me how to solve this problem

    rafiamudasar
    Participant
    rafiamudasar
    Participant

    Hi
    I want to create a dropdown of listing categories from which a user can select the categories on registration. But I am not sure how that would be done as I didn’t find any relevant tutorial on pre populating dropdown in xprofile

    wordpress version: 4.6.0
    buddypress: 2.6.1.1
    and here is a link to my site
    http://dev6.inserito.me/Birthbox/

    #258611
    jowyds
    Participant

    Hello Dan,

    The error is: “error occurred in the upload, please try again”. I cannot check from media library if the file is there. However, when I go to wp-content I can see the file is already being transferred to the folder. It is very weird.

    I have seeing other people having the issue, but not just from BuddyPress.
    https://wordpress.org/support/topic/media-library-cannot-display-images/

    I have tried but no luck. It seems mine is stucked with buddypress. I have cleared all my plugins and even only just installed and activate buddypress. I am not sure why this happens.

    I haven’t try to deactivate “loginizer” and also “akismet” as they seems to come with the default wp installation. Moreover, it happens when I activate the buddypress. I am also running on default wordpress 2016 theme just to test things out.

    #258604
    danbp
    Participant

    Hi,

    if you have an issue with a plugin, you have to ask on his support.
    You don’t mention BuddyPress, do you use it ?

    #258602
    danbp
    Participant

    Hi,

    please don’t double post. Closing this topic in favor of

    Cannot Upload Image if BuddyPress plugin is activated.

    #258601
    jowyds
    Participant

    Hello guys, I am running with Ampps locally before I try to have my website upload in the actual server. I have recently find out that BuddyPress is the culprit. It only happens if BuddyPress is activated.

    Screenshot

    You can see the beside animation keeps going round and round and never really stop. How can this be solved?

    I am using latest WordPress 4.6.1 and also latest buddypress 2.6.2

    jowyds
    Participant

    Good day guys,

    I am trying to build my site rough using Ampps (Local installed dynamic page server that I can have databases and MySQL to run php website) before I upload to real server.

    Everything is fine, but after I activated BuddyPress, I seems to cannot upload any media. The loading goes forever and ever.

    Screnshot

    danbp
    Participant

    Hi @mohammad-sy,

    thank you for your interest to BuddyPress.

    You can suggest new features and improvement requests directly on Trac. BP devs are more there as on this forum. More to this here.

    If you’re curious about next release and current works, you can follow the developments of the site on dev’s blog.

    Mohammad Sy
    Participant

    Hello,
    1. Please in the next version grants Admin possibility of choosing the filter, which would expose the activities they wish to view it.
    2. The activities on Activity Stream displayed for friends only.
    3. Delete buttons the login and register from the menu.
    4. Integration of this plugin BuddyPress Activity Privacy in the next version.
    5. Add Reshare Activity on Activity Stream (Share on: my activities, friends, group).
    6. Add Report Content (to report on: activities, users, groups).
    7. Add Follow system to new version.
    Thanks 🙂

    #258591
    karmatiger
    Participant

    I realised this affected the stream on a person’s profile as well, and removing the button removed a member’s ability to delete an update they posted.

    It bothers me having a large DELETE below the activity entry, making the activity feed longer and uglier than it needs be.

    I’d like to move it to the entry header; instead of:

    KarmaTiger posted an update
    3 hours, 5 minutes ago

    it would say

    KarmaTiger posted an update
    3 hours, 5 minutes ago (delete)

    but the entry header is a function ( bp_activity_action() )and not easy to add on to (or find). Do any of you far more experienced buddypress users know how I may do this?

    #258589
    ositive
    Participant

    I tryed to work also with this solution (provided by @shanebp too):
    https://buddypress.org/support/topic/creating-a-new-order-by-filter-in-groups-loop-with-custom-sql/
    but I do not obtain to order members by rating.. is this the right approach??

    function antares_members_filter_options() {
        echo '<option value="rating">rating</option>';
    }
    add_action( 'bp_members_directory_order_options', 'antares_members_filter_options' );
    
    function antares_ajax_querystring( $query_string, $object ) {
    
    	if ( 'members' != $object ) 
    		return $query_string;
    
    	if ( ! bp_is_members_directory() ) 
    		return $query_string;
    	
    	$query_args = wp_parse_args( $query_string, array() );
    
            $page = $query_args['page'];
    
    	if( isset( $query_args['action'] ) && $query_args['action'] == 'rating' ) {
    	
    		$query_args = array();
    		$query_args['page'] = $page;
    		$query_args['orderby'] = 'rating';		
    		$query_args['order'] = 'ASC';			
    		$query_args['include'] = antares_get_members(); 
    		$query_string = http_build_query( $query_args );
    
    	}
    
    	return $query_string;
    
    }
    add_filter( 'bp_ajax_querystring', 'antares_ajax_querystring', 32, 2 );
    
    function antares_get_members() {
        global $wpdb;
    
            $sql = "SELECT 
    					a.ID as id, a.user_login AS name, a.display_name AS displayname, AVG(star) AS rating, COUNT(star) AS reviews
    				FROM 
    					{$wpdb->prefix}users AS a
    				LEFT JOIN 
    					{$wpdb->prefix}bp_activity AS b ON a.ID = b.usercheck
    				WHERE 
    					(b.is_activated is null or b.is_activated=1)
    				GROUP BY 
    					id
    				ORDER BY 
    					rating DESC";
        
    $buff = array();
    
    $result = $wpdb->get_results( $sql , OBJECT );
    
    		foreach ($result as $row) {
    			$buff[]= $row->id ;
    		}
    		
    $query_str= implode (',', $buff);
    return $query_str;
    }
    #258588
    macroccs
    Participant

    I am fairly new to WordPress, so I can’t answer with certainty. As far as I can tell, it’s just the Buddypress emails that aren’t sending.

    Plugins Include:
    BuddyPress Follow Version 1.2.2
    BuddyPress Global Search Version 1.1.5
    BuddyPress Group TinyChat Pro Version 1.4
    BuddyPress Groups Extras Version 3.6.9
    BuddyPress Message Attachment Version 2.1.1
    BuddyPress Reorder Tabs Version 1.0.9
    BuddyPress Security Check Version 2.1.2
    Buddypress Social Version 2.0
    BuddyPress User Blog Version 1.1.1
    Chat by Flyzoo – Group Chat & Live Support Version 2.2.7
    cometchat Version 1.0.0
    Disable Comments Version 1.5.2
    Embedly Version 4.0.12
    Events Manager Version 5.6.6.1
    Inline Google Spreadsheet Viewer Version 0.10.2
    Insert Adsense Version 2.0
    Invite Anyone Version 1.3.11
    Send From Version 2.2
    VideoWhisper Video Presentation Version 4.1.3
    WangGuard Version 1.7.2
    WordPress Reset Version 1.4
    WP Project Manager – Sub Task Version 0.1
    WP Project Manager PRO Version 1.5
    WP Project Manager pro – BuddyPress Integration Version 1.2
    WP Super Cache Version 1.4.8

    grebehead
    Participant

    Hi,

    I’ve installed Buddypress and created extended fields. I’ve found that when I create a new user in the WordPress admin, it copies some of the information from the profile fields into the extended profile fields.

    For example one of my extended fields is ‘Membership type’. When I create a new user with the name ‘Bob’, I find that the ‘Membership type’ is now ‘Bob’ for that record. When I try to overwrite it I find all the fields start overwriting each other every time I click save. For example I change ‘Membership type’ to ‘Individual’ and find that the ‘first name’, ‘nickname’ and ‘display name’ are all now ‘Individual’.

    I’m using BuddyPress version 2.6.2 and WP version 4.6.1

    Can anyone shed some light on what’s going on?

    Many thanks.

    danbp
    Participant

    Hi!

    1) yes – as i already explained

    2) yes

    3) the solution is to patch the file manually. It will be available in a future bbPress update, but i ignore the date… It’s better to patch immediatly, update can be in a long time.

    Here is the patch.
    – In red you see the current code.
    – In green the new one you can use.

    Remove the line in red and replace it by the green one. Note this modification in a safe place, in case the patch won’t be applied at next bbP update. This can happen and is available for absolutly any plugin, theme and even WP when it comes to patch core files.

    You see also the line number so it’s very easy to find it inside the file.
    The concerned file is mentionned in bold, above the diff. code itself.
    FYI the complete path is wp-content/plugins/bbpress/includes/extend/buddypress/activity.php

    I suppose you know how to copy/paste ? 🙂

    danbp
    Participant

    Isn’t possible at the moment.

    My site is getting heavily brigaded by spammers
    Sorry for you, but adding moderation to status wouldn’t avoid spammers signicantly.
    Have you installed WP by following some basic security recommandation ?
    Do you use some anti spam plugins ?
    How many members do you have and to what do you estimate the amount of spammers in regard of them ?
    Have you inactive users in the list ?
    Are you on a MS or single install ?

    Maybe you could also blacklist some words from updates publication.

    #258581
    danbp
    Participant

    You’re refering to a premium add-on for witch only people who buyed the licence have access. You’ve better to ask on their support or at MyCred forum.

    Personally i use Buddypress Social on SWA and Simple Share Buttons Adder for the blogs (multisite install).

    BobSD99
    Participant

    I have an xprofile field for newsletter when a user registers, which stores the field as a serialized entry of the allowed value for that field, which is the name set in the BuddyPress back end, in this case:

    “Subscribe to free newsletter”

    This results in a serialized entry in the wp_bp_xprofile_data table (in my case, for field 307) that looks like this:

    id: 14421
    field_id: 307
    user_id: 15201
    value: a:1:{i:0;s:28:”Subscribe to Free Newsletter”;}

    However, when I use the BuddyPress function to update that data:

    // get permitted value for field 307 - required for xprofile_set_field_data() to work
    $field = xprofile_get_field( 315 );
    $UpdateField =  $field->name;
    xprofile_set_field_data( 307, $current_user->ID, $UpdateField );

    The result is the field is now set to a simple string:

    id: 14421
    field_id: 307
    user_id: 15201
    value: Subscribe to Free Newsletter

    I want to reconcile these entries, so they are the same format, but when I converted the string to a serialized field the update function fails:

    // serializing field $UpdateField
    $newfield = serialize ( $UpdateField );  // result: [s:28:"Subscribe to Free Newsletter";]
    xprofile_set_field_data( 307, $current_user->ID, $newfield );

    This command fails, which I believe is because the field must match the allowed value as set in the back-end for the extended profile. I suspect because the serialized field looks like this:

    s:28:"Subscribe to Free Newsletter";

    But maybe should look like this:

    a:1:{i:0;s:28:"Subscribe to Free Newsletter";}

    So maybe I can convert the datum to a properly serialized array with the correct argument to the serialized function, and then pass it to the xprofile_set_field_data() function and get it to update.

    But why is this behavior happening? This wouldn’t seem to be the expected behavior when I pass a string to the function. I would expect the value I set on registration would be the same format of the value set when I update the field. Am I doing something wrong and how do I reconcile these entries?

    #258558
    Meet Shah
    Participant

    Hi there, I have searched a lot and haven’t got a proper solution for this.

    My site has Blog and BuddyPress as well. On the bottom of each post I have added social icons that will share the post on fb, twitter and GP.

    I am sharing post on facebook through links like, https://www.facebook.com/sharer/sharer.php?u=http%3A//example.com.

    How can I share link of that particular post to my profile through code for BuddyPress?

    So basically I need to create a Share button that shares post from the site to my Activity.

    #258557
    jbboro3
    Participant

    That code is for plain text tinymce in “post form”.. This will render in the post form but not in the comment form (though without rich text editor you can implement it easily anywhere). The problem is only with rich text editor which you can insert images, bold font, italic etc without displaying codes (as in text form editor).. When you are on to threaded forum (multi-level commenting) you will have to figure out three things here.. 1st Post form (the one you posted above), 2nd comment form (replies to the original post) and the replies form (replies to the comments which is threaded in nature)..

    The one I’m talking about is – I could able to implement first two steps i.e, post and comment form in rich text editor format, but still figuring out the last format i.e., replies which is messing up the things.. The thing is that buddypres is implementing both comment and replies in the same ids which needs to be corrected to be able to implement with tinymce and also the AJAX on the replies collapse behavior which doesn’t support with the buddypress right now

    #258552

    In reply to: User dashboard url

    jbboro3
    Participant

    You can’t directly get working url without using little bit of php code (while you’re accessing users profile).. If your content page allows php code, try this: /dashboard”>Dashboard

    else,

    if you are looking for just a profile link of users (any users), then create a page named “profile” and add this code in your functions.php or custom-functions.php :

    function redirect2profile(){
    	include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    	if($_SERVER['REQUEST_URI'] == '/profile/' && is_plugin_active('buddypress/bp-loader.php') && is_user_logged_in()){
    		global $current_user;
    		wp_redirect( get_bloginfo('url') . '/members/'. $current_user->user_login . '/profile/'); 
    		exit();
    	}
     }
    add_action('init', 'redirect2profile');

    Above line will work only if you have set the members directory as “members” in the buddypress settings.. If you named it other, then simply mention that instead of “member” in the /members/ place.

    By doing this you can simply paste url = http://www.mywebsite.com/profile anywhere.. When the users click on the link, it will be directed to their respective profile page..

    But, but: The later tricks will be much slower to access the given link than the former..Choice is yours!

    Good luck.

    #258550
    danbp
    Participant

    Hi!

    1. presuming you dl the translation file (po & mo) ?
    2. what have you renamed ? Normally there is nothing to rename for po/mo file names.
    3. which code did you added to functions.php? Usually there is nothing to add there for translation.

    See here for details: https://codex.buddypress.org/translations/

    Note: Hebrew language file (buddypress_he_IL.mo) is uncomplete (72%), that’s probably why your register page is still in english.
    There is also no PTE for hebrew which makes difficult for users to get the awaiting for validation strings.

    The only solution for you is to download what is currently available in hebrew and to complete this translation yourself or to get in touch with this guy.

    Perhaps you want to contribute to translation in your language? Read here if interested.

    #258549

    In reply to: User dashboard url

    Paul Wong-Gibbs
    Keymaster

    @missmad If you wanted to create a link to go to a specific screen on the logged-in user’s profile, use http://buddypress.dev/members/me/profile/

    Obviously swap in your actual domain. Note the members/me/ bit — that’s the magic part. If that’s found, it redirects to the logged-in user’s profile following whatever comes after it in the URL.

Viewing 25 results - 13,676 through 13,700 (of 94,561 total)
Skip to toolbar