Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 56,401 through 56,425 (of 69,016 total)
  • Author
    Search Results
  • #68498
    Pedro Miguel
    Participant

    ok, found the solution, I will also submit a ticket on trac

    on bp-core-tempaltetags.php change this:

    function bp_search_form_type_select() {
    // Eventually this won't be needed and a page will be built to integrate all search results.
    $selection_box = '<select name="search-which" id="search-which" style="width: auto">';

    if ( function_exists( 'xprofile_install' ) ) {
    $selection_box .= '<option value="members">' . __( 'Members', 'buddypress' ) . '</option>';
    }

    to this:

    function bp_search_form_type_select() {
    // Eventually this won't be needed and a page will be built to integrate all search results.
    $selection_box = '<select name="search-which" id="search-which" style="width: auto">';
    $selection_box .= '<option value="blog">' . __( 'Blog', 'buddypress' ) . '</option>';

    if ( function_exists( 'xprofile_install' ) ) {
    $selection_box .= '<option value="members">' . __( 'Members', 'buddypress' ) . '</option>';
    }

    and on bp-core.php

    change this:

    if ( !$slug || empty( $slug ) ) {
    switch ( $search_which ) {
    case 'members': default:
    $slug = BP_MEMBERS_SLUG;
    $var = '/?s=';
    break;

    to this:

    if ( !$slug || empty( $slug ) ) {
    switch ( $search_which ) {
    case 'blog': default:
    $slug = '';
    $var = '/?s=';
    break;
    case 'members':
    $slug = BP_MEMBERS_SLUG;
    $var = '/?s=';
    break;

    Paul Wong-Gibbs
    Keymaster

    Ok, this particular problem really sucks. You use bp_core_load_template() in a plugin to load a theme file, using the filter ‘bp_located_template’.

    If you’re modelling your plugin on the default BuddyPress components, or even the skeleton component, you could use the above to load an index page for your directory, and use a “loop” file to display each item within your directory index page.

    However, the whole purposes of the ‘bp_located_template’ filter is that it allows theme authors to override your plugin’s theme file by adding it to their WordPress theme directory. The problem is that you cannot use bp_located_template() to include your loop file (henceforth referred to as a “plugin sub-template”).

    Why? Because bp_core_load_template() just sets up the data for the template to load; nothing happens until the WordPress ‘template_redirect’ action is called, which only happens once on page load (.e. when it loads your index page).

    Quick fix? After calling bp_core_load_template( ‘plugin/sub-template.php’ ), just call bp_core_do_catch_uri().

    Proper fix? Working on it.

    bp_core_load_template is not working when trying to load plugin’s sub-templates from within that plugin’s template file(s)

    calvin_42
    Participant

    Thanks for your answer DJPaul.

    So does it really mean (using buddypress aware recommended code) that we cannot hook all the filters and the functions which are called before bp_init() ? For example “groups_setup_globals” used to add a step during creation groups ?

    #68471
    r-a-y
    Keymaster

    Until the BP.org site is updated, the better place for job advertisements, for now, is:

    http://testbp.org/groups/buddypress-job-board/

    #68469
    Peter Anselmo
    Participant

    This has now been fixed. I wrote a post detailing the 0.3.1 release here:

    https://buddypress.org/forums/topic/group-documents-031-tracking-sorting

    Cheers.

    #68468
    r-a-y
    Keymaster

    @toddfarmer

    A few people have asked for this; this plugin doesn’t work for blog comments.

    I’ll be releasing a separate plugin for that late this week as I don’t want to bundle it with the oEmbed BP plugin.

    #68466
    Andy Peatling
    Keymaster

    I don’t see much point in this, just use the activity stream loop and filter on ‘new_blog_post’. BuddyPress used to have this functionality, but it was not very efficient and the activity stream handles it better.

    #68463
    ecurtain
    Participant

    Jankit, I think I have an idea of what you mean:

    Where members have tabs for their activity stream, friends, groups, etc…there would be a new tab to display their posts.

    This would behave like the normal WP loop, showing posts in all or a particular category, but showing only posts by that user.

    Is that what you have in mind? I’m converting my CMS site to BuddyPress (and deep in writing migration scripts), so I’m interested in this as well. Boone’s suggestion may be the way to go; will look into it.

    modemlooper
    Moderator

    Any other plugins that use javascript? Does this theme use any javascript?

    #68461
    toddfarmer
    Member

    This plugin rocks. It does exactly what I needed — and I’ve been looking for a while! Thanks.

    Question: My blog is about people uploading their videos, then allowing comments that may or may not include video. (Video Comments)

    With Oembed for BuddyPress, the video comments are shown properly in the activity stream, which is really awesome.

    However, in the actual comment on the blog post, all I see is the link to the youtube video, for example. It’s not showing the video as embedded within the comments.

    Is there a way that I can do this?

    I assume I must customize “comments.php” in my theme, but I’m at a loss.

    Thanks much for the help and the great plugin!

    Todd

    tridian
    Participant

    rossagrant, can you clarify where you updated the default address to the absolute url? I went to both the BuddyPress > General settings and the Settings > General in my WP Admin but I’m not sure where to put the absolute url. I must be blind. Thanks for your help!

    #68455
    cce
    Participant

    It looks like there is specific code in wordpress since 2.7 to address this, but it isn’t working for some reason.

    http://lists.automattic.com/pipermail/wpmu-trac/2009-February/002772.html

    This thread is similar:

    https://buddypress.org/forums/topic/404-page-when-trying-to-create-a-group-forum

    #68453
    3sixty
    Participant

    I love this thread. There should be a way to vote on these. I’ll add my “votes” as text here:

    1. Forum plugins – Every key bbpress plugin should be ported to buddypress. rich! has done some amazing work with forum extras and I hope he continues.

    2. Events – was a really nice emerging implementation of that in progress, but I haven’t seen much on it lately; I think it “broke” at one point due to BP version incompatibilities.

    3. Privacy, of course.

    Tosh
    Participant

    Any other ideas?

    #68444
    Tosh
    Participant

    I’d love to, but I’ve never made a plugin before. But it’s something I’m willing to tackle. Would be nice to have an option in the backend so people could change how much points people get.

    I’ll try that admin code snippet when I get home tonight. Thanks!

    #68442
    kriskl
    Participant

    yeah, 100 is not enough though :(

    so it means we’d have to pay,

    #68441
    Joss Winn
    Participant

    On this subject, how about building RSSCloud and PubSubHubub into the Activity Stream RSS feed? There are plugins for WordPress, written by Automattic. I guess they could be modified to work for BuddyPress feeds?

    https://wordpress.org/extend/plugins/pushpress/

    https://wordpress.org/extend/plugins/rsscloud/

    #68435
    modemlooper
    Moderator

    Polldaddy I think allows 100 polls at a time now. I think you get whit label for $$$.

    #68434
    kriskl
    Participant

    by the way,

    there is a plugin WP Polls but but does not work with buddypress

    #68433
    kriskl
    Participant

    @Modemlooper

    thanks! I feel a bit better now haha

    as we also use polls on our site, and before moving to buddypress, I am trying to find solutions for most of our users habits..

    the only problem with Polldaddy is it is paid :(

    and I would like to keep users on our site,.. not going to polldaddy etc.

    so I thought Native Group Polls would be cool to have! :)

    having said that i will try polldaddy

    thanks

    #68432
    David Lewis
    Participant

    I’ll try. I just got a new registration from ANOTHER .info email address. Minutes ago. Ugh :( Unreal.

    I’ve done everything mentioned in this thread and MORE. And no dice. Kind of at my wits end. How the heck are they signing up?! Unless it’s humans signing up. But I assume all SPAMers use bots. Even if it’s not a bot… I don’t know how you’d ever find the signup page with Google. It has a custom slug and I’ve gotten rid of the default BuddyPress text.

    Anyway. Thanks Andrea.

    I wonder if this would work in .htaccess

    deny from .*\\.info.*

    #68429
    Xevo
    Participant

    @ Modemlooper

    That’s what I meant by adding a social touch, then Polls would be usefull again for a social network.

    #68428
    Xevo
    Participant
    function xe_loggedin_user_avatar($type = "", $width = "", $height = "") {
    global $bb_current_user;
    $userID = $bb_current_user->ID;
    $files = "";
    if ($handle = opendir('/var/www/vhosts/tsukai.nl/httpdocs/wp-content/uploads/avatars/' . $userID)) {
    while (false !== ($file = readdir($handle))) {
    if ($file != "." && $file != "..") {
    if($type == "thumb") {
    if(substr($file, -11, 7) == "bpthumb" ) {
    $files .= $file;
    }
    } elseif($type == "full") {
    if(substr($file, -10, 6) == "bpfull" ) {
    $files .= $file;
    }
    }
    }
    }
    closedir($handle);
    }

    echo '<img src="http://tsukai.nl/wp-content/uploads/avatars/' . $userID . '/' . $files . '" width="' . width . '" height="' . $height . '" />';
    }

    This is the solution I came up with, again, if anyone has a better solution, do tell.

    #68427
    modemlooper
    Moderator

    Huh? thats crazy talk. I use polls all the time. And on Facebook my activity streams are always slammed with “I voted for miley cyrus as the best pop star” BS.

    Mashable has 50 million page views a month and does weekly polls. Most major sites do.

    @kriskl I use the polldaddy plugin. Users can’t create polls unless you are on MU and you allow them access to the plugin. The plugin short codes work in BP activity streams and forums.

    #68425
    Xevo
    Participant

    You don’t? What do you want your groups to use polls for?

    Something like what’s the hottest movie right now?

    They could easily make a topic in the group forums for that and they’re not restricted to a couple of answers.

    Polls are also not part of a social network as you can’t see what users voted for what and users can’t give arguments either, so it’s anonymous. If they also added comments and ratings and stuff to the poll, then maybe it could be something for a social network.

Viewing 25 results - 56,401 through 56,425 (of 69,016 total)
Skip to toolbar