Search Results for 'wordpress'
-
AuthorSearch Results
-
July 7, 2009 at 6:31 pm #48752
In reply to: Fatal error when trying to activate
3399066
InactiveThanks for all the fast replys, I will try to install BP via the plugin installer and get back to you all…
Jeff, here are my answers anyway:
1. How (and from where) did you download WPMU? mu.wordpress.org/
2. How did you install it? via FTP
3. Was WPMU functioning properly before trying to install BuddyPress? yes, I installed first, tested and then installed plugins to the plugins directory.
4. Have you checked your server’s error logs for other errors? If there are errors, what are they? No I haven’t, let me check
5. Do you have any other WPMU plugins installed and activated? no I don’t
July 7, 2009 at 3:49 pm #48736In reply to: Fatal error when trying to activate
Jeff Sayre
ParticipantYou are running the single-user version of WordPress–most likely WP 2.8. BuddyPress will not work with single-user WP.
You must run WordPress Multiuser (aka WPMU or WordPress Mu) which can be downloaded from this link: https://mu.wordpress.org/download/
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:53 pm #48726In reply to: filter content for all site (e.g. by country)
21cdb
ParticipantWe need a “global language filter” for all content, depending on what the user set as his preferred language in the wp-admin.
WordPress.com has such an language filter. You can choose “preferred language” and will be redirected to f.i. to de.wordpress.com (only content of people who set up their language and blog-language to german) or es.wordpress.com (only spanish).
Anyone also interested?
@Grosbouff: Maybe we should add this feature request as an official ticket?
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:01 am #48712Burt Adsit
ParticipantTrunk update changes:
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 4:07 pm #48669In reply to: Buddypress Fatal Error
Jeff Sayre
ParticipantI agree with Burt. My three questions and suggestions were going to be this:
- 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.
- 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?
- 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?
July 6, 2009 at 9:59 am #48643In reply to: Buddypress Fatal Error
thebigk
ParticipantI think I’m one step closer now:
I verified, when I log in as a normal user, I don’t see wordpress version in the bottom of admin panel.
So in my current status, I’m NOT getting logged in as an administrator!
Can anyone tell me how do I login as an admin? {PS: I’m not a novice, and have performed admin functions many times. However, I think I’m forcefully being logged in as a non-admin even when I enter admin credentials}
July 6, 2009 at 8:32 am #48635In reply to: Buddypress Fatal Error
thebigk
ParticipantThis is really strange
. I overwrote all the wordpress installation files but still don’t see the ‘plugins’ option in the admin panel. Also, even though the default theme is there, I can only see the default buddypress theme in ‘active’ theme. Other installed themes are not available.
“Buddypres” option is also missing from the left sidebar of admin panel.
July 6, 2009 at 1:18 am #48614In reply to: Embeding videos problem
peterverkooijen
ParticipantYou probably need this plugin. It’s an annoying WPMU issue.
July 6, 2009 at 12:15 am #48608In reply to: Embeding videos problem
Mohit Kumar
Participanti am trying to add video in my blog in wordpress mu+buddypress website.Everything else is fine but i am unable to see video..
here is the link http://buzzlyf.com/buzztv/2009/07/05/kailasa/
July 5, 2009 at 10:26 pm #48603In reply to: Embeding videos problem
r-a-y
KeymasterHi mohitkro5,
It sounds like you’re trying to use WordPress shortcodes in Buddypress fields.
Where are you trying to embed your videos?
BuddyPress doesn’t allow WordPress shortcodes to work in profile fields, wire posts and group forum posts.
bbPress has a few plugins to parse videos.
July 5, 2009 at 8:02 pm #48594In reply to: bbpress 1.0 integrates well now
r-a-y
KeymasterI’m up and running on bbPress 1.0 as well!
Integration appears to work!
FYI, I was on bbPress 1.0 alpha 6 with BP 1.0.2.
Here’s what I did:
-Thanks to Burt and Sam (over at bbPress) for their instructions
1) Backup database
2) Backup bbPress forum plugins and themes
3) Deactivate all bbPress plugins from the bbPress admin area.
4) Comment out only the cookie-related lines in wp-config.php (Do not remove your defined KEYS or SALTS)
5) Manually upgrade bbPress to 1.0 (basically download bbPress 1.0 and overwrite the old bbPress files).
6) Download bbPress Integration plugin into your WPMU plugins folder (/wp-content/plugins)
https://wordpress.org/extend/plugins/bbpress-integration/
7) Log in to WPMU and activate the bbPress Integration plugin.
In WPMU admin area, go to “Settings > bbPress Integration”.Enter in your bbPress URL (eg. http://example.com/forums/) and for WordPress type, select “WordPress MU”.
Hit “Save Changes”.
9) Copy the now-generated “Manual Cookie Settings” to line 2 of your wp-config.php file.
Copy the bbPress define line into your bb-config.php file.
10) Log into your bbPress admin area.
At this point, a bbPress message should pop up asking you to upgrade the database. Do so.
Hopefully, bbPress should have upgraded successfully at this point.
11) Now login into the bbPress admin area, go to “Settings > WordPress Integration”.
Everything should already be set (if you used TheEasyButton’s tutorial for 1.0 alpha 6 that was the case for me!).
Hit “Save Changes”.
12) Reactivate all bbPress plugins.
13) Clear your browser cookies and attempt to login to WPMU and head to your bbPress forums URL. If you’re logged in to bbPress, mission accomplished!
14) If you have BuddyPress group forums enabled, login to your BuddyPress Groups (eg. http://example.com/members/YOURUSERNAME/groups/).
Go into each group’s admin settings area, and uncheck “Enable Discussion Forum” and “Save Changes”. Then re-check “Enable Discussion Forum” again and “Save Changes”.
—
This is what worked for me… can’t say it will work in all cases though!
Step #11 will probably differ for some depending on what they did before.
Now I got to update my custom bbPress theme for all the new changes made since 1.0 alpha 6!
July 5, 2009 at 7:22 pm #48593In reply to: BuddyPress and Shared Hosting
Jeff Sayre
ParticipantSince BuddyPress requires WPMU, this is really a WPMU question. Search their forums.
Here are a few threads to get you started, but do a more thorough search than just relying on the few posts I’ve linked below:
July 5, 2009 at 6:33 pm #48586In reply to: Disable name change in Profile?
Jeff Sayre
ParticipantI tried very hard to get this to work, and I can not get that code to work, even in the default template or even by creating a blank .php with pasting in the code listed above to upload to the mu-plugins directory.
First of all you should not be placing the code in mu_plugins. Either place it in your bp-custom.php file, create your own plugin that resides in /wp-content/plugins/, or put the code in your member theme’s functions.php file.
But, in the BP Profiles section, the users can simply change their login username to anything they want. This will obviously lead to database errors and people changing their usernames to cause conflicts.
Where do you see the option in BuddyPress to change your login username? The only option you have is to change your display name. This is an entirely different piece of datum.
Yes, when a user registers for a new account, if they choose to enter the exact same datum in the username field as the “Full Name” field, then that is their choice. But, this data is stored and used in different ways. The datum from the “Full Name” field gets placed in two different tables: it populates the display_name field in the wp_users table and it is recorded in the wp_bp_xprofile_data table corresponding to the meta field entitled “Full Name” in the wp_bp_xprofile_fields table.
When a user decides to edit their “Full Name” field via BuddyPress, the changes to that piece of datum have no affect on the login username field stored in the user_login field of the wp_user WordPress table.
So, on the same registration page, you have two questions requesting for what their username is going to be. This is quite ridiculous, and so far their is no way to shut that part off. Does anyone have any ideas?
This is not correct. These fields serve different purposes as detailed above. One field is the user_login, the other is the user’s display name.
July 5, 2009 at 6:01 pm #48582In reply to: How to add images.
r-a-y
KeymasterYou can use HTML code in the Text Widget, and probably in the Welcome Widget as well.
Sample code:
<p>This is my message in the widget!</p>
<img src="PATH TO IMAGE" alt="This is my image in the widget" />Remember to upload an image to WordPress first, then grab the link of the image.
July 4, 2009 at 5:41 pm #48530In reply to: bbpress 1.0 integrates well now
Burt Adsit
ParticipantHello.
1) Doesn’t really matter what you were upgrading from. Just install bbpress 1.0.
2) I don’t trust the auto upgrade process so I manually upgrade
3) No buddypress enable plugin is needed. You do have to be running the right version of php though. See:
http://josephscott.org/archives/2009/03/conclusion-of-libxml2-issues-use-php-529-libxml2-273/
http://josephscott.org/archives/2009/03/wordpress-libxml2-episode-iv-a-new-plugin/
4) Don’t know what the issue is there
5) Yes this user switching is needed.
Don’t forget to enable pingbacks and xmlrpc. Also my test group forum didn’t work right away. I disabled the group’s forum component in the group admin page, saved the settings and then re-enabled it. Worked after that.
July 4, 2009 at 5:08 pm #48528In reply to: bbpress 1.0 integrates well now
TheEasyButton
ParticipantI have a couple of questions because I still can’t get my discussion to activate in groups. Integration is fine, but that dang “you must configure forums” warning won’t go away no matter what combination of codes & plugins I use.
1. “Upgrade to bbpress 1.0”
Upgrade from what? I’ve never been able to get an RC version to work so I’m running alpha 6.
2. By upgrade, do you mean install the new version or should I find an upgrade button somewhere? (not seeing one on alpha 6)
3. Buddypress enable plugin (from buddpress>>bp-forums)
Where did you put this? In my-plugins or bb-plugins or nowhere?
4. “Go into bbpress admin and the wordpress integration settings. Fill out the forms properly”
Anytime I EVER EVER (haha) try to change stuff in there, it totally boots me out of all of the bbpress logins. No login name/pw will work.
That’s it for now but I’ll probably be back with more questions.

**Edit — #5 (told ya I’d be back) Did you put the “allow user switching” code at the bottom of the bb-config?
Thanks
July 4, 2009 at 3:51 pm #48524Jason Pelker
ParticipantThe Post Haste WP plugin: https://wordpress.org/extend/plugins/posthaste/ could replicate some of the functionality of P2, and it has the advantage of theme portability.
It took me weeks to find it, but I think it’s pretty great, especially for buddypress themes.
July 4, 2009 at 3:45 pm #48523In reply to: buddypress + p2 theme
Jason Pelker
ParticipantI recommend the Post Haste WP plugin: https://wordpress.org/extend/plugins/posthaste/ to replicate some of the functionality of P2, but having the advantage of theme portability.
It took me weeks to find it, but I think it’s pretty great.
July 4, 2009 at 8:48 am #48511r-a-y
KeymasterCool! I made a post on the WordPress plugin forums about an hour ago asking about 1.0.2 compatibility for this plugin!
Looking forward to the update, Giovanni!
July 3, 2009 at 10:31 pm #48491In reply to: bbPress 1.0 released!
gen-superman
ParticipantI got the discussion forums for bp press working fine after updating to bbpress v1.0:
Instead of fully installing fresh the bbpress v1.0, I decided to take a different route and just updated the bbpress directory from bbpress v-1.0-rc-3 to v1.0.
That went very smoothly. I followed the update instructions that are listed on the bbpress website for the old 0.9.0.2. Those update instructions still work, but the bbpress v1.0 seems to update much more smoothly then that.
The Steps I followed for upgrading(Keep in mind I have WPMU):
– Make sure WordPress is updated to fullest version, mine is currently WPMU 2.7.1
– Make sure you already have the following plugins installed, updated and configured:
a) BuddyPress 1.0.2
b) bbPress Integration 1.0
– Now follow the directions listed on the bbpress website, which is the old upgrade/update procedures for bbpress 0.9.0.2.
(Although my current version was bbpress v-1.0-rc-3)
– Make sure that you have the following:
a) I had to create a separate bbpress keymaster account for it to work, so I have the admin account for my wordpress mu and a separate keymaster account for my bbpress. That was the only realistically way of getting this to work for me, it kept erroring on me if I didn’t.
b) While in your keymaster bbpress account make sure that you have the plugin BuddyPress Support Plugin installed (You might check for an update version.)
c) Now begin the documentation upgrade/update stuff. You don’t have to turn off the plugins as I didn’t and it worked fine.
d) You will want to follow the instructions and remove the directories through FTP in your bbpress that need removed.
Here is it word for word from the bbpress website:
To upgrade bbPress from a previous version takes just a few minutes.
These instructions cover upgrading to version 0.9.0.2
First, you should always back up your files and your database in case something goes wrong.
Second, deactivate all plugins.
Third, keep the following files and directories.
1. Rename your existing config.php file to config.old.php (and keep it)
2. my-plugins/ (if you have it)
3. my-templates/ (if you have it)
and delete everything else.
Fourth, upload the newest version of bbPress to your server.
Fifth, visit your bbPress site and run the installer which appears. On step one of the installer, enter the database details for the same database you had been using for the previous version. The installer will either create a new config file or show you the contents to paste into a file manually. Then complete the rest of the installation process.
Sixth, log in and visit your bbPress admin panels. If you see an upgrade link instead of the normal screens, click it. If you don’t see an upgrade link (it would have been really obvious), continue to the next step.
Seventh, visit the new “Settings†area of the admin and edit any details or settings in the “General†section. Also reactivate your plugins one by one (some may need to be upgraded as well).
Eighth, sit back and relax; you’re done!
e) Now, just upload your new bbpress v1.0 files to the directory. Go, to the url of your installed bbpress and insert the bbpress sql database information that you created.
f) At this point it will politely yell at you once you click next, informing you that the database is already created and that a bbpress is already installed.
g) Now, keep in mind that your bb-config.php file is brand new now. So, you will need to copy your old “KEYS” from the bb-config.old.php back to the new bb-config.php. Otherwise the discussion group forums check box won’t appear in the buddypress group creations.
* @since 1.0
*/
define( 'BB_AUTH_KEY', '###########################' );
define( 'BB_SECURE_AUTH_KEY', '##################################' );
define( 'BB_LOGGED_IN_KEY', '#####################################' );
define( 'BB_NONCE_KEY', '###########################################' );
define( 'WP_AUTH_COOKIE_VERSION', 1 ); // Because it is wordpress mu v2.7.1
/**#@-*/h) Make sure that you in your new bbpress v1.0 on your website, that you login with the keymaster account that you created, as the bbpress keymaster has the access to the bbpres plugins sections. In the settings section, check the wordpress integration settings. Make sure all the keys are correct, next you will want to click on the box at the bottom that reads :
Show advanced database settings
If your bbPress and WordPress site do not share the same database, then you will need to add advanced settings.
Make sure you input your wordpress mu 2.7.1 sql database configuration settings into those fields. Otherwise, all of this will be for nothing and it would integrate and the users wont show up correctly. BTW, user database host is typically ‘localhost’.
Now click Save changes at the bottom of that page.
i) Back at the wordpress mu portion of your site, you will want to login back in with your admin account. Then go to your buddypress settings and click on forums Setup. You will want your bbpress username and passwords field to match your wordpress admin account only in this section. I couldn’t get the keymaster account to work with this part.
j) Now go to the groups section of the buddy press, you should see the “Group Forums discussion enable” box now there.
k) Lastly, don’t forget to check your wp-config.php settings, to make sure that the keys are properly set up there too.
For example:
* @since 2.6.0
*/
define('AUTH_KEY', '###################################');
define('SECURE_AUTH_KEY', '######################################');
define('LOGGED_IN_KEY', '#######################################');
define('NONCE_KEY', '##########################################');
define('AUTH_SALT', '##########################################');
define('LOGGED_IN_SALT', '############################################');
define('SECURE_AUTH_SALT', '#######################################');
define( 'COOKIE_DOMAIN', '.yourwebsiteurl.com' );
define( 'SITECOOKIEPATH', '/' );
define( 'COOKIEPATH', '/' );
define( 'COOKIEHASH', '##############################' );
/**#@-*/Hope that helps.
July 3, 2009 at 9:07 pm #48484In reply to: User documentation is missing
chouxpastry2002
ParticipantDear Jeff,
Many thanks for guiding me in the way.But i am lacking in buddypress with only 2 functions. Users and Group file uploads. And integrated forums.
If there exist these facilities i would not have switched to elgg at this moment as a big fan of wordpress and eventually buddypress as well.
Regards,
Sam.
July 3, 2009 at 7:25 pm #48479In reply to: Activation link show me errors
Paul Wong-Gibbs
KeymasterWelcome Pack v1.22 just pushed to the WordPress plugin svn. Expect to see it up in an hour or so. #buddypress
-
AuthorSearch Results