Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 51,901 through 51,925 (of 69,016 total)
  • Author
    Search Results
  • #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

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

    jillsays
    Member

    @r-a-y,
    is it possible to show buddypress avatars on bbpress WITHOUT deep integration? i have a high traffic site, and i’m already low on memory!

    #79672
    Boone Gorges
    Keymaster

    Make sure you’ve got the path to the .mo file correct. The tutorial assumes that you’re keeping it at wp-content/plugins/buddypress/bp-languages. Is that where you’ve got it?

    Can you post the code that you’re using in your bp-custom.php file?

    #79671
    Mark
    Participant

    HI, I’m using your Buddypress links plugin which I think is great but the only issue I have is that the ”Links” Link which is automatically added to the nav bar for my site also adds it to my subdomains which would be fine if it pointed the link on the subdomains to http://www.site/links like it does on the main domain. Instead on the subdomains it points to http://www.subdomain.site/links which displays a page not found error. -I’m using wordpress mu 2.9.2, the latest buddypress install and Buddypress links Version 0.4.1. Any thoughts on how to fix it or is the versions I’m running not compatible? I tried activating the pluin both site wide and not site wide and it happens in both cases. I appreciate any feedback.

    Thanks
    Mark

    #79668
    justbishop
    Member

    Thanks ;)

    Moved it, but nothing changed :(

    ETA: I edited and converted the original buddypress.pot file to the .mo file and then uploaded that, if that makes any difference. So, not there’s buddypress.pot and buddypress.mo in my wp-content/plugins/buddypress/bp-languages folder, when originally there was only the .pot file. Is that wrong?

    #79666
    Aditya Singh
    Participant

    Thanks for the reply @r-a-y
    I wasn’t expecting one so soon … :)
    I tried that…but it did not work….My understanding is that this text-box would not allow me to paste code….so Here is the link….
    http://pastie.org/private/8mymveqb0x5l04cvlm6aqa

    I am trying to just fetch the avatar, name of group based on slugs….as u can see, i echoed the $slug_params to see if that bit was working fine…it is… Help appreciated…

    #79665
    rich! @ etiviti
    Participant

    bp_group_avatar accepts the following args

    $defaults = array(
    ‘type’ => ‘full’,
    ‘width’ => false,
    ‘height’ => false,
    ‘class’ => ‘avatar’,
    ‘id’ => false,
    ‘alt’ => __( ‘Group avatar’, ‘buddypress’ )
    );

    pcwriter
    Participant

    @Hans

    Nope, that didn’t work quite right. But this DOES:
    http://pastebin.com/pMH5dQLd

    Notes on highlights:
    – Lines 1 to 3 have been added to include a message to non-logged-in users.
    – is_user_logged_in conditional added to line 5 AND php endif added at the end (nested “if” statements… great stuff!)

    Have fun! :-)

    #79656
    paulhastings0
    Participant

    It shouln’t go in wp-content/plugins/buddypress. Just put it in wp-content/plugins/

    ;)

    #79653
    justbishop
    Member

    I did the same using Poedit. Uploaded the .mo to the same place the original buddypress.pot was.

    I couldn’t find a bp-custom.php file anywhere in my install, so I created one and c&p’d the code the tutorial linked above told me to. Do I need to put something in place of “mysite”, and if so, what? Should there be anything else in bp-custom.php? I uploaded it to wp-content/plugins/buddypress, should it go elsewhere?

    pcwriter
    Participant

    @Hans

    You would need to create a forums-loop.php file in your child theme. Try this: http://pastebin.com/mpizkJXq
    Notes on highlights:
    – Lines 1 to 3 have been added to include a message to non-logged-in users.
    – The is_user_logged_in conditional has been moved from line 10 and added to the initial “if” statement on line 5 (actually lines 6 & 1 in forums-loop.php).

    This should work but unfortunately, I can’t test it on my site ‘cuz my server is down. Oh well… it looks like I’m going to have to dust off my xbox ;-)
    Let us know how it goes.

    EDIT: 5 min after posting this, my server’s back up again. Lemme test my own theory…

    #79651

    In reply to: SEO for Buddypress

    eyaldrori
    Participant

    Thanks

    #79650
    tridian
    Participant

    Hello Paul, just installed the plugin and it’s a great addition to BP so first off, thanks very much for the hard work on this and all the other BP work that you do. I’m running WP 2.9.2 and BP 1.2.4 and have a quick question for you. My new users are receiving the welcome message that I have configured but the subject and from user information is displayed in the body of the email along w/ the welcome message. I was expecting the email to be from the specific user I chose and the subject of the email to be from the “…with this subject” field but it was not. The email is from: <noreply @www.mywebsite.com and the subject of my email is: [Name of Blog] New message from Member User Name. Is this how it is supposed to be working? If so, I apologize for this message. Thanks very much for your time.

    #79645
    rich! @ etiviti
    Participant

    possible – you’ll need to code it in though as it is only setup to sift over activity content. Have a look at the bp_activity_at_message_notification functions on the basics.

    *edit – though main blog comments hit the activity stream filter – thus triggering @me mentions.

    #79641
    Anton
    Participant

    @r-a-y

    Thanks for the reply Ray, I had but I have disable them all a couple of days ago.

    On the modified default theme I had to edit “groupssingleforumtopic.php”

    I added and if statement with is_user_logged_in() just above div post-topic-reply and now it’s displaying correctly but I’m sure that’s not the way to do it.

    #79636
    rich! @ etiviti
    Participant

    filed a ticket
    https://trac.buddypress.org/ticket/2409

    fat finger? – returning the logged in user instead of the displayed user

    function bp_displayed_user_link() {
    echo bp_get_loggedin_user_link();
    }
    function bp_user_link() { bp_displayed_user_link(); }

    where both should be point to:

    function bp_get_displayed_user_link() {
    global $bp;

    return apply_filters( ‘bp_get_displayed_user_link’, $bp->displayed_user->domain );
    }

    #79634
    r-a-y
    Keymaster

    @owrede – Ping! Please read from here on. See if this resolves your issue.

    [EDIT]
    Just reading your issue again… doesn’t seem like this is a related issue.
    Does your problem occur when using the default BP theme? You might want to start a separate thread in order to avoid confusion.

    #79633
    piphut
    Participant

    @r-a-y I changed it in the DB.

    #79632
    piphut
    Participant

    @r-a-y I think I just created a new administrator account and then deleted the old admin account but honestly it has been awhile so I could be wrong.

Viewing 25 results - 51,901 through 51,925 (of 69,016 total)
Skip to toolbar