Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 24,101 through 24,125 (of 94,569 total)
  • Author
    Search Results
  • Alright, I have an update.

    It turns out that BuddyPress Activity Plus was not to blame after all. For some reason, when I use $retval['object'] = 'status'; it only shows activity updates that I’ve just submitted. Once I refresh the page, the stream is empty again.

    So I changed the function you provided to try to get around this, and to be conditional to the home page of my eX-Stream site only:

    		function bpfr_filtering_activity( $retval ) {
    			global $blog_id;
    			
    			// activities to filter on, comma separated
    			if ( $blog_id == 13 && is_front_page() ) {
    				$retval['action'] = 'activity_update';
    			}
    			
    			return $retval;
    			}	
    		add_filter( 'bp_after_has_activities_parse_args', 'bpfr_filtering_activity' );

    Thanks a lot @danbp!

    The function you provided was EXACTLY what I needed. I appreciate the post you provided with additional info as well. Extremely helpful stuff.

    After I added the function I realized that my activity stream was not showing anything. Then, I figured out that the BuddyPress Activity Plus Plugin doesn’t register status updates. So, once I deactivated it, everything was working perfectly.

    Thanks again, you are a huge help!

    shanebp
    Moderator

    > it seems as complicated as re-writing the bp_get_activities

    It’s not even close to being that complicated.

    This examples are re members, but should give you an idea of the general approach to a custom process:

    Members Loop

    BP_User_Query

    shanebp
    Moderator

    If I was doing this, I would write a custom function(s) to gather the activity ids.
    And that function would most likely contain one or more custom db queries.

    If you are unable to write such queries, you may want to consider hiring a developer.

    laxmanvel
    Participant

    Hi Dandp,

    Thanks for your reply.

    OH is it? if i customize template file then will update version overridden.! okay i understand your words.!

    finally get URL value. i want message thread id from URL.

    Just using simple keyword ( bp_get_thread_id(); )
    this function get current URL thread id in Buddypress.

    -Laxmanvel

    #187718
    itisix
    Participant

    Hi,

    I love the activity feature I get when I’m logged as admin. In my CP I just click the icon and get a list of posts, replies and who registers in neat order.

    My users can’t get this, nor can they get decent info from the activity option from the drop down top menu… or can they?

    http://www.itisix.com

    Latests versions of WordPress, BBpress and Buddypress.

    Thanks,

    danbp
    Participant

    Oops !

    i’m customize the buddypress template files in bp-legacy folder in buddypress plugin directory.

    Don’t that, as at next BP update your work will be overridden.

    Message URL’s are built dynamically. So you can’t fetch them diretly from within the template. You need a custom function to do that and use it from your theme’s functions.php.

    Read in file bp-messages/bp-messages-classes.php

    Read this topic for some inspiration.

    #187708
    aces
    Participant

    @elshobokshy

    Using firefox on http://animalsfunnypictures.com/members/sanaa/ I can see entry-content img { which has a width: 510px if i disable it in firefox it becomes the ‘normal’ size.

    This is coming from Marla theme’s style.css on line 1464 – see for yourself…

    #187705
    danbp
    Participant

    have you salt keys in your wp-content.php ?

    http://stackoverflow.com/questions/18771957/wordpress-does-not-properly-display-css-file

    and use the given script to check the db.

    aside, @r-a-y responded on the ticket. Unsurprisingly, like me, he couldn’t replicate the issue

    #187696
    danbp
    Participant

    Which theme do you use ?
    And have you already created a child-theme ?

    Theme Compatibility & Template Files

    Generally such modification can be done by CSS.

    #187695
    Henry Wright
    Moderator

    There might actually be more things you’d need to do. For example, the bp_get_message_thread_avatar() function uses bp_core_fetch_avatar() so you would need to filter that using bp_get_message_thread_avatar etc.

    Unless someone else knows of an easier way, it seems as though it’ll be a big task of going through everything. You’d also need to be comfortable with PHP.

    Alternatively, you could try disabling avatars by adding this to your bp-custom.php file

    define( 'BP_SHOW_AVATARS', false );

    Note: I’ve not tested that, I’m just going on what I see at the beginning of the bp_core_fetch_avatar() function. i.e:

    // If avatars are disabled for the root site, obey that request and bail
    if ( ! buddypress()->avatar->show_avatars )
       return;
    #187693

    In reply to: register.php

    danbp
    Participant

    ok, supposing you did a translation file (even if you use english by default) to test the above solution and assuming it hasn’t work, let’s try the hard way.

    Add this to functions.php, it will force gettext to translate the string.

    function bpfr_force_translation( $translated, $original_text, $domain ) {
    		
    	if ( 'buddypress' !== $domain )  
    	return $translated; 
    	
    	switch ( $original_text ) {
    		
    		case 'Registering for this site is easy, just fill in the fields below and we'll get a new account set up for you in no time.':
    		return 'Join PushkarGuide.com - share your experience, thoughts about this pretty town Pushkar (INDIA).';
    		
    		default:
    		return $translated;
    	}
    }
    add_filter( 'gettext', 'bpfr_force_translation', 10, 3 );

    If it doesn’t work i have no other solution to propose.

    #187692
    Martin Waller
    Participant

    Okay, so searching that GitHub repo there is only one file under the bp-themes/bp-legacy/buddypress folders which mentions bp_core_fetch_avatar() (but lots within the core BuddyPress code. So I just need to replace the reference in that one file and add it to by child theme under a BuddyPress folder and it should work?

    laxmanvel
    Participant

    Hi,
    I’m developing wordpress site with Buddypress. I’m try to add some kind of extending new functionality in my website.
    if URL is,

    http://localhost/wordpress/members/admin/messages/view/15/

    above link is hold message conversion of one to another. how will i get message thread id 15 from URL?
    this thread id is just example.
    i’m customize the buddypress template files in bp-legacy folder in buddypress plugin directory.

    i will just add to some kind of code placed to template file with thread id. i’m stuck in problem with this process kindly solve my problem?

    if any reply will be appreciated.!

    -laxmanvel

    #187690
    Henry Wright
    Moderator

    If your theme doesn’t explicitly use BuddyPress templates then the default templates will be used. For a quick look at the templates check out the GitHub repo.

    I’m guessing your theme doesn’t explicitly use the templates so what you’d have to do is create them yourself. The general idea is to create a folder called buddypress inside your theme and then add the templates you’d like to customise to that folder. So for example, you’d end up with /wp-content/themes/your-theme/buddypress/. Everything goes inside there.

    #187689
    Martin Waller
    Participant

    So I’m checking the theme files and not the BuddyPress files? How would it be referenced in the theme files. Sorry – bit of a beginner with this and appreciate your help 🙂

    #187687
    Henry Wright
    Moderator

    It will do, sort of indirectly, actually. For more info on how it works, check out the Template Hierarchy article.

    #187685
    Martin Waller
    Participant

    Thanks @henrywright…

    I’m not entirely sure that my front-end template actually references bp_core_fetch_avatar() as it is not a BuddyPress theme but rather a regular WordPress theme (Responsive Pro).

    Martin

    #187677
    Martin Waller
    Participant

    Hi @henrywright

    Thanks for the reply. I checked out that plug-in and it just removes the avatar from displaying on the BuddyPress profile – it still actually retains the ‘Mystery Man’ style avatar as opposed to using the one set in WordPress.

    Martin

    #187676
    Henry Wright
    Moderator
    #187675
    Henry Wright
    Moderator

    Hi @multimartin

    I just tried searching the WP plugin repo and came across an old plugin that may be of some help. Take a look at Remove Avatars

    Martin Waller
    Participant

    Hello all,

    I currently have a wordpress multisite installation which I use for a school. We have integrated Google Apps for Education with WordPress and manage avatar pictures through Google Apps. We have a plug-in which pulls the profile pictures from GApps into WordPress.

    I have just installed BuddyPress onto one of our sites and notice that BuddyPress has overridden the WordPress avatars with the ‘Mystery Man’ logo. Is there any way in which you can switch off BuddyPress avatars and use the WordPress ones? I have tried disabling things like Extended Profiles and ‘allow users to upload avatars’ but this has not worked.

    Could anyone possibly help?

    Many thanks,
    Martin

    #187665

    In reply to: register.php

    danbp
    Participant

    there are only two files […] which need to be modified.

    False.

    If you use the old BP-default theme, you only modify a copy of bp-themes/bp-default/registration/register.php placed in your child-theme

    If you use any other theme, you modify only bp-legacy/buddypress/members/register.php
    placed in the child /your-child-theme/buddypress/members/register.php

    The one or the other, but not both. And don’t forget that you should never modify core files, as your work will be lost at the next BP update. That’s why child-theme exist and is so important for customization.

    If this change doesn’t work (but it should), you have to try something different.

    Create a language file containing only the mentionned string.
    Read here.

    Do you already use a language file ? §Is your site in english ? If not indicate the used language.
    And gave your plugin list and theme name. It could be you have somewhere a conflict with ajax who block something on the registration page.

    danbp
    Participant

    Asking for help and guidance is OK. But asking for doing the job at your place is something completely different. How much do you estimate my work ? The one already done and the one you ask for now ? If you need a professionnal, you can post on the Job Board to hire a freeelancer.

    I told you how to accomplish it.
    You use a theme that i even don’t know the name, and which is most probably a Premium theme.
    How to customize it is certainly explained on the theme support. And if it’s Premium, you already payed for this service, so use it and if you don’t know, ask there.

    #187661
    MrMarkG
    Participant

    Understood. I’ve managed to create a blank buddypress.php and I’m putting the various loops on it so they can have their look and feel changed.

    Hopefully I might even have something to show you in a few weeks 😉

    Mark

Viewing 25 results - 24,101 through 24,125 (of 94,569 total)
Skip to toolbar