Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 9,376 through 9,400 (of 69,123 total)
  • Author
    Search Results
  • #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

    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).

    #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.

    #258547
    bigkahunaburger
    Participant

    Hi @jbboro3

    I had replies working before, but now has the same issues as the main activity editor:

    https://buddypress.org/support/topic/add-tinymce-to-activity-post-reply-form/

    #258546
    karmatiger
    Participant

    where did you place the function? When I put it in bp-custom.php the cover image still crashes when I upload copies of the css files to buddypress/css to my Kleo child theme

    #258545
    jbboro3
    Participant

    I could able to implement rich text editor in the comment section by adding/modifying some js files but for the replies and threaded comments it’s a huge task.. To be honest, buddypress are not meant to be work as smooth in threaded comments (at least as of now). I will update If I can successfully implement tinymce in both comments and replies section. Cheers!

    #258544
    jbboro3
    Participant

    Hi, @djpaul thanks for the response.

    The condition is that: Yes, widgets shows up everywhere (including BP profiles and group pages) but they are perfectly working as an error or 404 not found page.. If I edit ‘404 page not found’ or error page (such as background color and as such), they all get reflected in the buddypress pages, and vice-versa.

    I even tried with dynamic widgets and display widgets plugin to see if that can identify the exact problem, but they are not helping either.. I tried with custom db query to identify the basic problem but they are not helping either..

    function custom_error_pages()
    {
    global $wp_query;

    if(isset($_REQUEST[‘status’]) && $_REQUEST[‘status’] == 403)
    {
    $wp_query->is_404 = FALSE;
    $wp_query->is_page = TRUE;
    $wp_query->is_singular = TRUE;
    $wp_query->is_single = FALSE;
    $wp_query->is_home = FALSE;
    $wp_query->is_archive = FALSE;
    $wp_query->is_category = FALSE;
    add_filter(‘wp_title’,’custom_error_title’,65000,2);
    add_filter(‘body_class’,’custom_error_class’);
    status_header(403);
    get_template_part(‘403’);
    exit;
    }

    if(isset($_REQUEST[‘status’]) && $_REQUEST[‘status’] == 401)
    {
    $wp_query->is_404 = FALSE;
    $wp_query->is_page = TRUE;
    $wp_query->is_singular = TRUE;
    $wp_query->is_single = FALSE;
    $wp_query->is_home = FALSE;
    $wp_query->is_archive = FALSE;
    $wp_query->is_category = FALSE;
    add_filter(‘wp_title’,’custom_error_title’,65000,2);
    add_filter(‘body_class’,’custom_error_class’);
    status_header(401);
    get_template_part(‘401’);
    exit;
    }
    }

    function custom_error_title($title=”,$sep=”)
    {
    if(isset($_REQUEST[‘status’]) && $_REQUEST[‘status’] == 403)
    return “Forbidden “.$sep.” “.get_bloginfo(‘name’);

    if(isset($_REQUEST[‘status’]) && $_REQUEST[‘status’] == 401)
    return “Unauthorized “.$sep.” “.get_bloginfo(‘name’);
    }

    function custom_error_class($classes)
    {
    if(isset($_REQUEST[‘status’]) && $_REQUEST[‘status’] == 403)
    {
    $classes[]=”error403″;
    return $classes;
    }

    if(isset($_REQUEST[‘status’]) && $_REQUEST[‘status’] == 401)
    {
    $classes[]=”error401”;
    return $classes;
    }
    }

    add_action(‘wp’,’custom_error_pages’);

    I can’t really trace back the exact problem.. I’m not so well versed with the buddypress thing, maybe those are making me harder to identify the problem..

    Seems Like I may have to seek for new installation but that’s very discouraging..

    #258540
    shanebp
    Moderator

    Are you referring to the Delete button on an activity item?

    If so, create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\activity\entry.php
    And then remove this line:
    <?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?>

    danbp
    Participant

    I don’t know, sorry ! And i’m even unsure if it is not a WP bug (what i suspect) or a little BP or bbP issue.
    I asked twice for this on BuddyPress Slack, without answer at this time.
    Suggest you open a bug ticket for this on Trac and add a link to this topic.
    You can loggin there by using the same credentials as on this forum.

    ico33
    Participant

    @danbp

    I have another wordpress blog, without bbpress and buddypress. I tried to install there buddypress and bbpress, and try.

    WELL: the problem is absolutely the same. On another different blog. How is this possible?

    ico33
    Participant

    Deleted the 2 plugins: bbpress and buddypress. Then re-installed both. Did another test: a new topic, then deleted. Still present in activity. The problem remains. Damn!

    At this point a question: is there a way to exclude bbpress from buddypress activity? Not through code, i’m not expert. Maybe a function, a plugin, or something to say to activity: not look at bbpress.

    #258523
    danbp
    Participant

    Hi !
    not the absolute solution, but at least a starting point. Here’s a tutorial by BuddyDev which explains how you can do that.

    #258522
    danbp
    Participant

    Hi !
    Try this plugin, it does exactly what you need. In BP options, leave Replace BP 2.4 functionality unchecked and you’re done.
    https://wordpress.org/plugins/buddypress-cover-photo/

    #258521
    danbp
    Participant

    Hi !

    unable to recreate this issue on a standart install and 2016 activated.

    This button comes only up on Group Directory: All Groups | My Groups | Create Group and not when you’re inside an existing group (where you see Send invites).

    There is another button for this on the WP Toolbar > Usermenu > Groups > Create Group
    And both are displayed correctly on Twenty Sixteen.

    Within buddypress.css default file, there is no specific rule for it.
    In case of, button’s ID on BuddyMenu is #group-create-nav

    For now,
    – is group creation allowed for all users (see in BP options) ?
    – do you see the button in the usermenu (top right corner) and does it work ?

    No idea what’s your issue, but i don’t believe it is BuddyPress. Maybe a plugin or a JS issue. Difficult to say more without a live URL. ๐Ÿ˜‰

    #258517
    claudiosinopoli
    Participant

    Hi there,
    I recently installed WordPress 4.6.1 and BuddyPress 2.6.2
    I’m using a child theme of the Enfold theme by kriesi.at and everything runs nice but the “Create Group” button inside the Groups page is missing so I can see only “Memberships” and “Invitations”.
    It works though with the theme Twenty-Fourteen and Twenty-Fifteen but not with the Twenty-Sixteen.
    I was googling this and most of the people says that’s an issue related with fact that the_title(); tag in the themeโ€™s page.php is placed “outside the WordPress loop”.
    Unfortunately nobody has a solution.
    Can you please tell me how to fix this issue? Some php lines in the child’s functions.php or something like that?
    Thanks a lot.

    #258509
    Scott Hartley
    Participant

    I can say this I have seen some sites with several thousand views a day do just fine on shared hosting. Since this site though will have a few concurrent users (logged in with BuddyPress) you will want the server side caching with varnish.

    I think you should be just fine a simple managed hosting for this site go with the HostGator host \0 you will save some money and time

    #258505
    r-a-y
    Keymaster

    Your issue might be related to this:
    https://buddypress.trac.wordpress.org/ticket/6448

    #258502
    buddywhatshisname
    Participant

    Thanks for the reply r-a-y, and good to know about the issue tracker. I posted incorrectly today — I’ve tested the problem has resolved itself — yay for you guys!

    Here’s my steps, for the record:

    
    Post a BuddyPress comment in the activity stream page /community/activity/ into My Profile
    You should see your new entry on the activity page like this:
    Blah Your Name posted an update right now
    Test post for deletion
    
    Comment [0]   Favorite   Delete
    On that same page, click that Delete button immediately below your post (url=/community/activity/delete/2001/?_wpnonce=blah) to delete that comment.
    
    #258500

    In reply to: Post was removed

    r-a-y
    Keymaster
Viewing 25 results - 9,376 through 9,400 (of 69,123 total)
Skip to toolbar