Search Results for 'buddypress'
-
AuthorSearch Results
-
July 7, 2009 at 3:47 pm #48735
In reply to: BuddyPress forums now use pretty permalinks
Andy Peatling
KeymasterI like waking up when things have magically happened.
July 7, 2009 at 3:29 pm #48734In reply to: Group forums not working (again)
TheEasyButton
ParticipantWhen you upgraded bbpress, did you remember to put all of your extra codes back into bb-config? And again, for bbpress, when you upgraded did you overwrite the files or did you remove them all and then upload the new ones? Did you go back into bbpress admin & make sure xml was still enabled? Did you check buddypress forums setup to make sure the info was still there? If you try to create a new group, are discussions enabled?
July 7, 2009 at 3:17 pm #48732In reply to: Wire e-mail notifications
Michael Berra
ParticipantMe too, see here…: https://buddypress.org/forums/topic/group-message-mail-not-sending
This is very bad! Any of the gurus having a solution/answer for this?
July 7, 2009 at 2:20 pm #48729In reply to: Fatal error when trying to activate
Paul Wong-Gibbs
Keymaster1) Is your web root actually /www/www?
2) And is Buddypress installed here? /wp-content/plugins/buddypress/
July 7, 2009 at 1:11 pm #48728In reply to: External Blogs
peterverkooijen
ParticipantHere’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.
July 7, 2009 at 12:58 pm #48727In reply to: BuddyPress forums now use pretty permalinks
Jeff Sayre
ParticipantWhat? 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!
July 7, 2009 at 10:50 am #48725In reply to: Forum Integration: HELPING HINTS
Mindtrotter
ParticipantFunny, 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.
July 7, 2009 at 9:52 am #48722July 7, 2009 at 7:58 am #48720In reply to: BuddyPress forums now use pretty permalinks
Paul Wong-Gibbs
KeymasterNice work Sam!
July 7, 2009 at 7:18 am #48719Tracedef
ParticipantTo 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.
July 7, 2009 at 6:56 am #48718In reply to: BuddyPress forums now use pretty permalinks
Sam Bauers
ParticipantThose 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.
July 7, 2009 at 6:54 am #48717In reply to: BuddyPress forums now use pretty permalinks
Sam Bauers
ParticipantAlso, 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.
July 7, 2009 at 6:01 am #48712Burt Adsit
ParticipantTrunk update changes:
July 7, 2009 at 5:16 am #48711In reply to: BuddyPress Showoff: Post your links
subtomix
ParticipantAfter 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
July 7, 2009 at 4:02 am #48706In reply to: MediaWiki edits -> BP activity streams
Dolugen
ParticipantWow, it’s awesome. I was thinking for days of this very same concept for my buddypress based wiki, here comes the solution
Good work!
July 7, 2009 at 2:23 am #48705TheEasyButton
ParticipantYeah – 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_1120Is 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.
July 6, 2009 at 11:47 pm #48700In reply to: Buddypress Fatal Error
Andy Peatling
KeymasterRenaming this thread, since this was not a BuddyPress bug.
July 6, 2009 at 10:52 pm #48699In reply to: Buddypress Fatal Error
r-a-y
KeymasterI think you’ve banged your head against the table too much, and that’s why you’ve been off your game, TheEasyButton!
July 6, 2009 at 10:48 pm #48698In reply to: Buddypress Fatal Error
TheEasyButton
ParticipantI managed to get that error again. Turns out I forgot to enable buddypress in the plugins. LOL Duh!!! Maybe this mistake will help others.
July 6, 2009 at 7:13 pm #48690In reply to: New version of custom profile filter plugin
Boone Gorges
KeymasterHi 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/
July 6, 2009 at 6:43 pm #48686TheEasyButton
ParticipantUpdate — 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!!
July 6, 2009 at 5:39 pm #48681In reply to: Buddypress Fatal Error
TheEasyButton
ParticipantIf 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.
July 6, 2009 at 5:06 pm #48678In reply to: Buddypress 1.0 looks bad with Firefox 3.5
thebigk
ParticipantThanks folks. I upgraded to latest BP and issue was solved
July 6, 2009 at 5:06 pm #48676In reply to: Buddypress Fatal Error
thebigk
ParticipantHello everyone!
First of all, thank you for your responses. The problem is now solved. However, I don’t know how! I wrote to the web host describing the problem and to the best of my guess, they changed few PHP.INI settings [Don’t know how it got messed?]
The system did not have bbpress. I’ve upgraded buddypress to latest stable and everything seems to be working fine now.
To answer the questions :-
1. Are you running WPMU 2.7.1 or WordPress 2.8? You mention that you were running WPMU before. Did you upgrade to the beta version of WPMU 2.8 from trunk? Or, did you accidentally upgrade to WP 2.8? WPMU 2.8 is not yet in public release.
-> I did not upgrade accidently. In fact, one of the members reported that there was an error. The system was running fine with WPMU 2.7.1 and BP 1.0 (the first stable release) and then suddenly the error popped up.
2. What other plugins besides BP do you have activated? Have you tried removing them all except BP and see if you can get back to the plugins page?
-> I do not have any other plugin than BP.
3. Have you tried removing BP and then seeing if the plugins page returns? If it does, then deactivate all other plugins and reinstall BP. What happens?
-> No, I didn’t try that. I could not deactivate any plugins, because I couldn’t see the plugins in the admin panel!
From the overall experience, it looks like the issue was with me signing in as site-admin but ending up in blog admin panel (anyone knows why this happened?)
July 6, 2009 at 5:04 pm #48674In reply to: Buddypress Fatal Error
TheEasyButton
ParticipantOn that particular install, all I did was remove everything from the bbPress folder except the bp-config. Then I pasted everything from the new version of bbPress in there and it just went crazy. LOL It started off with a wp-header error which I figured out & fixed (can’t remember how) but then this error came up about not being able to open the core signup page so I just started over.
-
AuthorSearch Results