Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 73,026 through 73,050 (of 94,578 total)
  • Author
    Search Results
  • #79715
    paulhastings0
    Participant

    @baberjaved Not yet, but I believe someone on the forums was working on something like that. Dig around and you’ll find the post and pictures.

    r-a-y
    Keymaster

    @jillsays – Did you read this:

    You can adjust the default avatar in bbPress by going to the bbPress admin panel (/forum/bb-admin/) and clicking on “Settings > Discussion”.

    jillsays
    Member

    That’s great, @r-a-y! bbPress is now pulling in avatars for people who uploaded images through Buddypress.

    However, it is NOT pulling in images for people who only have a photo at Gravatar… and not one uploaded through Buddypress.

    Any way to tweak that?

    #11900
    edelwater
    Participant

    Is there somewhere a piece of php code that shows me how to create a group via php?

    What I want is that as soon as someone uses in his text “#whatever” that #whatever turns in a link to a new group “whatever”.

    I think that Twitter’s #’s then nicely align with BuddyPress groups. (and nice to use with rss feed groups fillings)

    It will auto extend my groups and that other groups will be auto-filled with twitter rss feeds from #’s. It means that it can really fast become a copy of twitter :) :)

    I can then use track of the #’s used in a specific group to show “related groups”

    To limit this a bit I could set it so that only #’s from some prime groups create new groups and NOT that #’s from #’s create new groups.

    Hmmm… i think i need to write a plugin for it

    (i think that # in twitter = tag page in wordpress = group in buddypress) (unfortunately tag pages in wordpress do not allow conversations unless on specific posts, maybe with some tweaking of the p2 theme it can) (but groups are nicer).

    (a next step is look for related #’s / tags in delicious/stumbleupon etc… to find a nice set of related tags/groups)

    {what Im trying to achieve is replace my related tags code in my private weblog with a buddypress followup see e.g.: http://edward.de.leau.net/about/wordpress for each tag i display the related tags, for some tags I have created a special layout e.g. http://edward.de.leau.net/about/music what is a next step is to add some conversations and buddy press groups would be cool to somehow mix into that posts with a custom sidebar and heading)

    #79710
    Boone Gorges
    Keymaster

    IMHO, murder is a sin. This is a little further down the scale.

    Use a custom language file to get rid of these numbers in parentheses. https://codex.buddypress.org/how-to-guides/customizing-labels-messages-and-urls/ Look for entries like Groups <span>(%d)</span> and replace them with Groups. Eventually it would be nice to get this markup out of the core and into a template file, but in the meantime this will do the trick just fine.

    #79708
    piphut
    Participant

    @slava – if you disable buddypress does your wordpress blog function normally? Is it giving you an error message? If so, what is the error?

    #79706
    Dwenaus
    Participant

    @Anointed, I just sent it. I was out of internet range for a few days there.

    r-a-y
    Keymaster

    @jillsays – Here’s what you need to do:

    In your bbPress theme’s folder (/bb-templates/kakumei-blue), create a functions.php file and add the following:
    http://pastebin.com/PDeF3kjm (updated)

    You can adjust the default avatar in bbPress by going to the bbPress admin panel (/forum/bb-admin/) and clicking on “Settings > Discussion”.

    I’ve tried to “guess” where the BP avatar path is, however if this doesn’t work, you’ll have to adjust the $avatar_folder_dir variable manually (this will definitely apply to WPMU users).

    Give it a shot and report back.

    #79703
    kaneesha
    Participant

    @thelandman

    same here, and batch find makes no sense because brackets are also a major part of the PHP syntax. :(
    to hardcode such design-related elements is imho a sin, a css before or after trick would be much better in such cases.

    @rich! @ etiviti

    i mean the numbers in those brackets in the tabs inside of the item-header like…

    Groups (1) Messages (4) yadda yadda (9)

    #79697
    abcde666
    Participant

    @djpaul

    at Private-Messaging it says “send between username and _”
    the _ means blank

    #79695
    Boone Gorges
    Keymaster

    The tutorial is not very clear on that, no. But you can see that it’s expecting the file to be named that way, since BPLANG is defined as ‘mysite’ and it’s looking for a file called ‘buddypress-‘ . BPLANG . ‘.mo’.

    Glad it works! I should fix up the codex page so that it’s clearer.

    #79694

    In reply to: New to buddypress

    Aditya Singh
    Participant

    queries 1 to 4 fully resolved…
    5 and 6 almost…thanks everyone

    #79692
    Aditya Singh
    Participant

    @r-a-y
    when i am printing $slug_params, i am basically doing the same thing as printing $details_result
    isnt it???
    btw, i had printed that out as well…
    actually i am generating a list in this section (where I am stuck in fetching avatar and other details)….and every other bit is doing exactly what it should…
    again, thanks for being patient here…really appreciate it…

    Boone Gorges
    Keymaster

    Just put out the first rough draft of a plugin to pull arbitrary RSS items into the sitewide activity stream. Please play around with it and let me know if you can make it work: http://teleogistic.net/code/buddypress/bp-external-activity/

    #79691
    Boone Gorges
    Keymaster

    That code looks correct, as long as your .mo file is located at
    wp-content/plugins/buddypress/bp-languages/buddypress-mysite.mo
    Are you sure you’ve named it correctly?

    #79690
    Aditya Singh
    Participant

    @nuprn1
    bp_has_activities and bp_has_groups -> both were working smoothly when I was using the predefined parameters…it is just not working when i am trying to pass this variable…

    #79685
    Aditya Singh
    Participant

    meanwhile, i am looking at the functions you mentioned….if this does not work, i will need them only… :)

    btw, just to bring it your attention: on codex.buddypress.org, the search form is not working…

    also on the page of bp_has_groups(), in the documentation it is written bp_has_site_groups()
    This might be right, but I could not find bp_has_site_groups() functions anywhere in the files in groups folder…so thought i will point these two issues out to you guys…hope its cool…

    #79684
    Aditya Singh
    Participant

    @r-a-y
    thanks mate…its just that I will be using the same thing…but for fetching different data on other areas of my site, so wanted to know bp_has_groups coz it will be needed eventually

    Pasting once more, making a final attempt at resolving this. Please have a look. Appreciate your patience with me.

    http://pastebin.com/tRRzw57E

    Hoodie Mark
    Participant

    My purpose with this file it to change the phrases like “%s posted on the forum topic %s in the group %s:” to my own chosen phrases like “%s posted RE:%s in %s:” in the Activity Stream. I’ve followed these steps: http://codex.buddypress.org/how-to-guides/customizing-labels-messages-and-urls/ to get to my final .mo file and it still does not alter the text in the activity stream.

    i have WordPress MU 2.9.2 and BuddyPress 1.2.4.1
    I’m currently testing on MAMP on OSX. Buddypress is working solid both here and on the live box.

    my .mo file is located in wp-content/plugins/buddypress/bp-languages/buddypress-pgs.mo
    it was created using Poedit
    my bp-custom.php is located in wp-content/plugins/ and contains:

    define( ‘BPLANG’, ‘pgs’ );
    if ( file_exists( BP_PLUGIN_DIR . ‘/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ ) ) {
    load_textdomain( ‘buddypress’, BP_PLUGIN_DIR . ‘/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ );
    }

    Did i miss another step or a switch somewhere? Things aren’t overriding.

    Also if anyone knows of a plugin or better method than this please advise. Thank You.

    #79682

    In reply to: Help: bp-custom.php

    rich! @ etiviti
    Participant

    testing that really quick…
    Fatal error: Call to undefined function is_main_blog() in D:xampplitehtdocsbuddypresswp-contentpluginsbp-custom.php on line 4

    jillsays
    Member

    @r-a-y — any help you could give me would be tremendous. I’ve been at it for days and am about to crack!
    Writing functions is way out of my league, but if you’d be kind enough as to help, there’s beer money in it for you! :)
    Jill

    #79677

    In reply to: Help: bp-custom.php

    Shnooka30
    Participant

    //CUSTOM CODE FOR BUDDYPRESS
    // Remove buddypress widgets from blogs other than the main blog
    function hide_bp_widgets() {
    if (!is_main_blog()) remove_all_actions(‘bp_register_widgets’);
    }
    add_action(‘plugins_loaded’, ‘hide_bp_widgets’, 1); // Has to run before bp_setup_widgets()

    r-a-y
    Keymaster

    @jillsays – As long as you have your users integrated between WP and bbPress, it’s definitely possible.

    I don’t have any code to give you at the moment… but the way I’d go about it is, I’d write a function in bbPress to find your BuddyPress avatar directory, then you could do a check to see if the user_id directory exists… if so, spit out the BP avatar URL in bbPress.

    #79674
    justbishop
    Member

    Are we talking about the .mo file, or the bp-custom.php file I created? I’ve tried both files in wp-content/plugins/buddypress/bp-languages/ as well as wp-content/plugins/ with no result.

    If someone can tell me how to post code here, I’ll post what I have in my bp-custom.php. I tried earlier and it just kept posting blank.

    #11897
    Shnooka30
    Participant

    I’m trying to hide buddypress widgets and never created a bp-custom.php file before.

    Is this correct? I keep getting a white screen when i upload (bp-custom.php) into my plug-ins directory.

    <?php
    //CUSTOM CODE FOR BUDDYPRESS
    // Remove buddypress widgets from blogs other than the main blog
    function hide_bp_widgets() {
    if (!is_main_blog()) remove_all_actions(‘bp_register_widgets’);
    }
    add_action(‘plugins_loaded’, ‘hide_bp_widgets’, 1); // Has to run before bp_setup_widgets()
    ?>

Viewing 25 results - 73,026 through 73,050 (of 94,578 total)
Skip to toolbar