Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 87,951 through 87,975 (of 94,559 total)
  • Author
    Search Results
  • #5716
    Florian
    Participant

    I am using BuddyPress 1.0.2 on WPMU 2.7.1 with bbPress 1.0.

    After some initial troubles (see http://buddypress.org/forums/topic/group-forums-not-working ) I had been able to use group forums. I didn’t came around to actually using them until now… and now they are broke again. :) When I activate a group forum, no corresponding forum is created. When I try to post something, I get a non-helpful message telling me that there was a problem and not telling what the problem was.

    oci-bp-sayhello.php replies with a convenient “Hello from bbPress!” so I guess XMLRPC communication is working.

    Since I had been focusing on other parts of the site for a few weeks I do not know when exactly the group forums broke. It is probably noteworthy that I updated to bbPress 1.0 final and buddypress 1.0.2 just yesterday.

    I already tried turning off every plugin except the buddypress helper in bbpress. With no effect.

    I also use bpGroups, but the problem exists with or without bpGroups activated.

    I did not change the password of the admin user that is used for the forum integration since it last worked. Just to be sure I set a new password and updated it in buddypress and bpGroupd – without effect.

    Any suggestions what to check next?

    By the way, I think it would be really helpful to extend the error message with a a little more information. :)

    #48728

    In reply to: External Blogs

    peterverkooijen
    Participant

    Here’s the code I use in the current version of my site – Kunal17 asked about it:

    // Include the SimplePie library
    require_once 'simplepie.inc';
    require_once 'shorten.php';

    // Because we're using multiple feeds, let's just set the headers here.
    header('Content-type:text/html; charset=utf-8');

    // These are the feeds we want to use
    mysql_connect(localhost,$db_username,$db_password);
    @mysql_select_db($db_name) or die( "Unable to select database");

    $query = "SELECT id, email, firstname, surname, rssfeed FROM members WHERE rssfeed != ''";
    $result = mysql_query($query);

    $feeds = array();
    $id_array = array();
    $first = array();
    $user = array();

    $userinfo = array();

    while ($cur_feed = mysql_fetch_assoc($result))
    {
    $feeds[] = $cur_feed['rssfeed'];
    $userinfo[$cur_feed['rssfeed']] = $cur_feed;
    }

    // This array will hold the items we'll be grabbing.
    $first_items = array();

    // Let's go through the array, feed by feed, and store the items we want.
    $ix = 0;

    foreach ($feeds as $url)
    {
    $user_id = $id_array[$ix];
    $firstname = $first[$ix];
    $surname = $sur[$ix];
    $email = $user[$ix];
    $ix++;

    // Use the long syntax
    $feed = new SimplePie();
    $feed->set_feed_url($url);
    $feed->init();

    // How many items per feed should we try to grab?
    $items_per_feed = 1;

    // As long as we're not trying to grab more items than the feed has, go through them one by one and add them to the array.
    for ($x = 0; $x < $feed->get_item_quantity($items_per_feed); $x++)
    {
    $first_items[] = $feed->get_item($x);
    }

    // We're done with this feed, so let's release some memory.
    unset($feed);
    }

    // We need to sort the items by date with a user-defined sorting function. Since usort() won't accept "SimplePie::sort_items", we need to wrap it in a new function.
    function sort_items($a, $b)
    {
    return SimplePie::sort_items($a, $b);
    }

    // Now we can sort $first_items with our custom sorting function.
    usort($first_items, "sort_items");

    $counter=0;
    foreach($first_items as $item)
    {
    $feed = $item->get_feed();
    $info = $userinfo[$item->feed->feed_url];

    $counter++;
    if($counter >= 7)
    break;

    if ($img_size = @getimagesize('members/img/avatars/'.$info['id'].'.jpg'))
    $avatar_field = '<img src="members/img/avatars/'.$info['id'].'.jpg" alt="" />';
    else
    $avatar_field = '<img src="members/img/avatars/nopicture.png" alt="" />';

    $picture = '<div id="feedpicture"><a href="members/member.php?id='.$info['id'].'" title="'.$info['firstname'].'\'s Member Page">'.$avatar_field.'</a></div>';

    // Begin the (X)HTML page.
    ?>

    <h3><?php echo $picture; ?><a href="<?php echo $item->get_permalink(); ?>" target="_blank"><?php echo html_entity_decode($item->get_title(), ENT_QUOTES, 'UTF-8'); ?></a></h3>

    <!-- get_content() prefers full content over summaries -->
    <? echo trim(substr((str_replace("\n", ' ', str_replace("\r", ' ', strip_tags($item->get_description())))),0,300)); ?>
    ... <i>more</i></a><br />

    <p class="info"><a href="members/member.php?id=<?php echo $info['id']; ?>" title="<?php echo $info['firstname'].'\'s Member Page'; ?>"><?php echo $info['firstname'].' '.$info['surname']; ?></a> | <a href="<?php echo $feed->get_permalink(); ?>" target="_blank"><?php echo $feed->get_title(); ?></a> | <?php echo $item->get_date('M j, Y | g:i a'); ?></p>
    <br />

    <?php
    }
    ?>

    It shows the latest blog posts from members on a page, if they have an RSS feed in the database. It uses SimplePie. The code above is customized from regular SimplePie feed code. Member management in my current site is based on PunBB, not WordPress.

    I’d have no clue how to modify this code for Buddypress. Can’t figure out member management in Buddypress for starters, with x-profile vs wpmu and similar data stored in different places. It all looks kinda messy and inconsistent to me.

    Doubtful you should take this as starting point. I’ll wait for the integrated solution.

    #48727
    Jeff Sayre
    Participant

    What? Just when I had figured out how to decode the old permalink structure you go and make it better.

    This is a very welcome improvement!

    #48725
    Mindtrotter
    Participant

    Funny, I have followed the steps in the integration – and I could not make the Forums appear in Buddypress Groups. I tried a lot but the only solution to my problem (and perhaps NOTME31’s problem also) is just to go to DASHBOARD > Buddypress > Component Setup > and “disable” Buddypress BBForums option, save it and then “enable” it again.

    Voila! It worked! No need to use the BBPress Integration plugin nor modify WP-CONFIG and BB-CONFIG.

    I am using the latest release of Buddypress, and BBpress rel 1. “Bechet”. My site is at http://www.animejoints.com, although I cared not to go into “deep integration” this time. I am already happy with the BBPress Forum sharing same login as with the Buddypress and Forums are working.

    HINT: Simply follow the steps outlined on the first post of this thread.

    bbPress Side (First):

    1) you have bbpress installed and a new user created on the “bbPress” side which you granted “administrator” rights by the keymaster

    2) you copy the “buddypress-enable.php” plugin out of the bp-forums folders and copy it into your /my-plugins/ folder (create if it doesn’t exist) so it is /my-plugins/buddypress-enable.php ****People ask about /bb-plugins/ versus /my-plugins/ and put it in /my-plugins/

    3) Enable the plugin through your bbPress administration side for plugins

    4) Edit “settings” to enable xmlrpc and pingbacks (both)

    5) edit your bb-config.php and just before the closing php call at the bottom of the page put:

    $bb->bb_xmlrpc_allow_user_switching = true;

    buddypress Side (Second):

    6) Go into your main blog dashboard as the “site-admin” and go to the “bbPress Forums” page. Put in the URL of your forum like http://yoursite.com/forums/ and make sure you have the ending slash on that one.

    7) Put in the user that you created in step 1 with the bbPress “administration” rights and their password. I never changed the password, just used the random one it sent me, but it is up to you. I usually save it a couple of times to ensure it was entered due to a refreshing bug at time of writing this.

    Before you go to your Group Admin Setting to enable Forum, go to BuddyPress> Component Setup > and disable – save – enable BBPress Forums.

    gpo1
    Participant

    @Tracedef, Are you starting the plugin or what?

    #48720
    Paul Wong-Gibbs
    Keymaster

    Nice work Sam!

    Tracedef
    Participant

    To clarify, this is something we’re going to be using for paying clients, not the public at large, so that should take some of the issues raised above out of the equation.

    Also, this is going to enable us to take away the 4 separate passwords / logins our paying customers need to use currently down to 2 for things like the forums, their website, billing, support, etc…. that is the main reason we’re implementing this…. otherwise we wouldn’t waste our time building something unless it was totally necessary….

    I’m not concerned about whether or not it is a trend as RPX has been getting serious traction and even some big box retailers have started using it, so unless it crashes and burns, I’m not worried. If it gets us by for a year or two, I would be happy with that too. :)

    #48718
    Sam Bauers
    Participant

    Those experiencing difficulty with posting should find their problems are now gone.

    This generally only happened to people who had registered elsewhere (like bbPress.org or WordPress.org) and were trying to post on these forums for the first time.

    #48717
    Sam Bauers
    Participant

    Also, you will now notice that you can add tags at the same time as replying.

    For those of you who have the authority to delete tags, that now works again too.

    #5714
    Sam Bauers
    Participant

    You might notice that the BuddyPress forums now use “pretty” permalinks for the URLs of topics and forums.

    Your old links with standard querystrings will still work, so don’t worry about altering old posts.

    If you notice anything has gone really wrong, please let us know.

    Burt Adsit
    Participant
    #48711
    subtomix
    Participant

    After months of development, the Duzzn Link-List Sharing site is now open to the public. The system is finally in place, but desperately needs more user content. Come check it out – opinions and posts are welcome – http://duzzn.com

    #5712
    thebigk
    Participant

    Friends,

    One of the most important tasks that we all regularly perform is backup our buddypress setup. So far, I’ve been backing up the database only. But recently I realized I should also backup user files [avatars & photos] too.

    What are the various techniques you all use to backup buddypress?

    #5711
    Dolugen
    Participant

    The groups list below the avatar on my (or any member’s) profile page doesn’t have the correct link to the group themselves. Is it a bug? They only point to http://buddypress.org/groups/

    #48706
    Dolugen
    Participant

    Wow, it’s awesome. I was thinking for days of this very same concept for my buddypress based wiki, here comes the solution :) Good work!

    TheEasyButton
    Participant

    Yeah – I’m back… meh……

    Has anyone installed bbpress 1.0 from scratch and got group discussions to work? After another 20 or 30 installs, I’ve decided that there’s gotta be something in alpha 6 that buddypress is looking for. Something that bbpress 1 doesn’t have. I say this because I can get all of this stuff to work together but ONLY if I upgrade from alpha 6. I don’t dare try the RC versions.

    When doing the upgrade, the database is updated & gives the following info

    Beginning upgrade…
    >>> Modifying database: monday3 (localhost)
    >>>>>> Table: bb_term_taxonomy
    >>>>>>>>> Adding index: taxonomy
    >>>>>>>>>>>> Done
    Making plugin directory at C:\wamp\www\monday3\forums/my-plugins/: bb_upgrade_1110
    Making theme directory at C:\wamp\www\monday3\forums/my-templates/: bb_upgrade_1120

    Is it something in that update that does it or is there a specific file that’s left over from alpha 6 that has data that buddypress needs? It seems like if I delete the forum files & then upload the new version’s files, it still doesn’t work. But if I just rename the bb-config file & do an overwrite, the upgrade works fine.

    #48700

    In reply to: Buddypress Fatal Error

    Andy Peatling
    Keymaster

    Renaming this thread, since this was not a BuddyPress bug.

    #48699

    In reply to: Buddypress Fatal Error

    r-a-y
    Keymaster

    I think you’ve banged your head against the table too much, and that’s why you’ve been off your game, TheEasyButton!

    #48698

    In reply to: Buddypress Fatal Error

    TheEasyButton
    Participant

    I managed to get that error again. Turns out I forgot to enable buddypress in the plugins. LOL Duh!!! Maybe this mistake will help others. =D

    malbatron
    Participant

    Using Buddypress 1.0.2 on WPMU 2.7.1.

    I am using and editing the default BP home theme and member theme. However, I am having a hec of a time trying to get the header for both to match up. I was able to customize the header of my home theme to what I want, but can’t get it to look the same on the member side.

    I feel like I’m missing something very simple and am hoping somebody can point me in the right direction. I really have tried to figure it out, including searching this board and google for answers — I’ve been at it for a couple of days and am finally posting to this forum for help.

    Help?

    #5708
    Boone Gorges
    Keymaster

    I’m working on a project, the CUNY Academic Commons, where we’ve worked out single sign-on for WPMu and MediaWiki. On top of this shared user authentication, I wrote a MediaWiki extension that takes MediaWiki page edits (limited to one update per 24 hours for a given author/page combination) and feeds them into the BP activity streams.

    It’s a very cool addition for our project – makes the action going on in the wiki much more visible, both in the sitewide feeds and on individual profile pages.

    The extension can be found here if you’re interested.

    #48690
    Boone Gorges
    Keymaster

    Hi r-a-y,

    Glad the filter is useful to you!

    I think the answer to your question is yes, John Smith’s profile would come up in that kind of scenario. The links that are created in BP profiles are merely full-text searches on all BP profiles (this is the link behavior out of the box, and my filters do not change this). Even if the name “Smith” in John’s profile doesn’t link to http://[your-buddypress-url]/members/?s=Smith, that search URL will still be live and accessible from the regular BP search box.

    I haven’t looked into the details, but it should be possible to build a plugin that limits search in different ways. You might, for instance, search all profile fields except those that have been tagged as non-searchable (last name, for example). Another strategy: you might only return a hit on (for example) “Smith” if the result appears between anchor tags; in this way, non-linked profile fields would automatically be excluded. The first kind of solution is probably the better one, and I imagine it will be quite easy once field-specific profile search comes along in BP 1.3 https://buddypress.org/about/roadmap/

    TheEasyButton
    Participant

    Update — Used localhost.localdomain when installing wpmu. I’m now running BuddyPress 1.0 & bbPress 1.0 Integration is perfect & group discussion is enabled.

    As stated in my first post, whenever I go to BuddyPress 1.0.2, everything goes all stupid with group discussion. Automatic upgrade won’t work for me so am I just suppose to overwrite the buddypress folder with the new version? Thanks for all of your help!!

    #48681

    In reply to: Buddypress Fatal Error

    TheEasyButton
    Participant

    If you made no changes & a call to your webhost fixed it, I’d say they did some changes to the server that made everything go crazy. Then when you called & they realized what happened, they fixed it.

    But…. YAY!! lol So glad to see you’re back up and running correctly.

    #48678
    thebigk
    Participant

    Thanks folks. I upgraded to latest BP and issue was solved :)

Viewing 25 results - 87,951 through 87,975 (of 94,559 total)
Skip to toolbar