Forum Replies Created
-
In reply to: Upgrade confusion.
I downloaded the zip file in March 2009. It’s 1.0 by the look of it.
Actually, you are using a pre-release version of 1.0. In fact, you are using the first release candidate (RC1). Before version 1.0 was officially released, there was even an RC2. So, you are five versions behind. There have been significant changes in the BP codebase since then.
As DJPaul states, do a backup of your Database (DB). Your MySQL DB files are stored in a different place than where you have WPMU and BuddyPress installed.
Also as Paul states, you will need to switch from /mu-plugins/ to /plugins. This is not an option.
Here are some detailed instructions. I would read these just so you know how things have changed since RC1.
https://codex.buddypress.org/getting-started/installing-buddypress/upgrading-from-rc-1/
https://buddypress.org/forums/topic/how-to-upgrade-from-rc2-to-10
https://codex.buddypress.org/getting-started/upgrading-from-10x/
In reply to: BuddyPress and Shared HostingDavid-
As you say:
I know this is all very hypothetical and hard to judge…
So, given that as a premise, this is just my opinion. It seems to me that your current setup should be fine for what you’ve described. The physical memory seems low for a dedicated server, but you more than likely have sufficient virtual memory allocated to help alleviate some of that inadequacy.
The server’s physical HD space is not an issue since I assume that you have unlimited storage space with your dedicated hosting account. After all, hard drive space should be cheap.
When WPMU sites get to 1000 active users or so (or fewer very active users), many people find that they need a dedicate VPS or even dedicate server to handle just that single site. But, as I’ve said above, it depends on too many variables to accurately provide a detailed set of guidelines. One site may have little issues with several thousand users whereas another has issues at 500 users.
In reply to: Upgrade confusion.Which version of BuddyPress are you running? Where did you find those instructions?
I don’t think BP has been installed in /mu-plugins/, and has been referenced that way in the readme.txt file, for over four months. I just looked back at 1.0.1, 1.0.2, and 1.0.3 and all three of those versions have in their readme.txt file what I excerpted above.
Always read the readme.txt file that comes with the installation package.
Here’s the readme.txt file from v1.0.1: https://trac.buddypress.org/browser/trunk/readme.txt?rev=1621
Here’s the one from v1.0.3: https://trac.buddypress.org/browser/tags/1.0.3/readme.txt?rev=1614
Here’s the installation directions located in the BuddyPress codex.
In reply to: BuddyPress and Shared HostingThere is more overhead with WPMU, but the biggest issue is whether a site allows its members the option to create blogs and how many active blogs the site has. So, running single-version WP could help reduce the load in theory.
But, BuddyPress can also be a bandwidth, memory, and harddrive-space intensive plugin suite. It all depends on a site’s user activity and what additional BP-dependent plugins a site installs and activates.
For instance, if a site uses a media plugin that allows users to upload photos, mp3, and video files, then a low-powered hosting account could get swamped even if it is “just” running single-version WP.
In reply to: Upgrade confusion.Which readme.txt file are you referring to?
The one that comes with BuddyPress states this in the “Installation” section:
--- Plugins: ---
1. Upload everything into the "/wp-content/plugins/buddypress/" directory of
your installation.
2. Activate BuddyPress in the "Plugins" admin panel using the "Activate Site Wide"
or "Activate" link (both work).In reply to: Member part doesn't existIn the first picture you linked to, it shows that you have “BuddyPress Default Member Theme (1.0.1)” installed. This is an older theme that is not compatible with version 1.0.2 or 1.0.3.
You must install the theme files that come with the version of BuddyPress that you are using.
Read the “Installation” section of the readme.txt file that comes with BuddyPress.
In reply to: Member part doesn't existWhich version of WPMU are you running?
Which version of BuddyPress?
In reply to: Member part doesn't existLog into WPMU as the Site Administrator.
Go to “BuddyPress > General Settings > Select theme to use for BuddyPress generated pages”. Select the default BP member theme.
Then hit the “Save Settings” button.
In reply to: Example / Skeleton Admin options paneI have had issues with the call to add_submenu_page working when placed within the bp-example-admin.php file. Instead, I place my …add_admin_menu() within the main file, bp-example.php.
function bp_example_add_admin_menu() {
global $wpdb, $bp;
if ( !is_site_admin() )
return false;
add_submenu_page( 'bp-core.php', __("Example Settings", 'bp-example'),
__("Example Settings", 'bp-example'), 1, __FILE__, "bp_example_admin_settings" );
}
add_action( 'admin_menu', 'bp_example_add_admin_menu' );In reply to: Example / Skeleton Admin options paneIt depends on what your plugin does, but in general, I would assume that BuddyPress plugins that have options a site admin can set would be listed as a submenu under the BuddyPress menu grouping.
In add_submenu_page( ), just make sure to set the first parameter to ‘bp-core.php’ if you want it to appear under the “BuddyPress” menu grouping. If you want the menu to instead appear under the “Site Admin” menu grouping, you would then set the first parameter to ‘wpmu-admin.php’.
In reply to: Example / Skeleton Admin options panerequire ( WP_PLUGIN_DIR . '/bp-example/bp-example-admin.php' );Checking WP_PLUGIN_DIR returns a full path that looks like it’s the key of all the problem. If I use just
require ( 'bp-example/bp-example-admin.php' );the require looks to work
Make sure your component is in /wp-content/plugins/ and not /plugins/buddypress/. If you do that, then using WP_PLUGIN_DIR will lead to the correct pathing.
In reply to: BuddyPress and Shared Hostinghatiro-
The reason that the specific question of the OP is a WPMU issue is that he was asking whether a shared hosting account will be sufficient to run BP. Since BuddyPress is a WPMU plugin, what matters, then, is whether WPMU can successfully run on a shard hosting account.
I provided several links for him to begin his education.
In short, of course you can install WPMU + BP + bbP on many shared hosting accounts. But, whether that will provide a desirable user experience or support more than a few 10s to 100s of active users depends on too many variables to be discussed here. The underlying functionality of WPMU is paramount to the overall site functionality. If your site’s access to server resources is too limited, you will have issues quickly.
Perhaps once BuddyPress supports single-user WordPress, the options for hobbyists, as you call them, will be better.
In reply to: replacing wordpress with mu and buddypressInformation on upgrading single-user WP to WPMU can be found on the WPMU forums.
As far as this question:
I have a good many members and would like to know how to add them as a community member or does this automatically do this on install?
BuddyPress does not do any importing of your existing members. There is a plugin that can help though: https://wordpress.org/extend/plugins/user-import-for-buddypress-all-fields/
I am not sure if that plugin is yet compatible with 1.0.3.
In reply to: New user not showing under adminWhere in WPMU’s backend is this “missing” user not showing up?
Is it in the “Users” submenu?
If so, does the user show up under the “Site Admin > Users” submenu?
If so, that means that the “missing” user has their own blog. The “Users” submenu only shows those users that are subscribed to your blog–in this case, the site’s main blog. The other menu option shows all registered users on the site.
In reply to: skeleton component for buddypressThe skeleton component is not a plugin. It is a template of files from which you can create your own, custom plugin.
So, you do need to not only have PHP-coding skills, but also a sufficient understanding of the inner workings of BuddyPress.
In reply to: Member part doesn't existWhere do you have your home and members themes installed? Are you using the default themes or a custom theme? Have you selected the themes to use in WPMU’s backend?
In reply to: Custom 404 page??Were did you place your custom 404.php file?
Both the bphome and bpmember themes have their own 404.php file. Depending on where you are when you try entering a non-existent url, either the home or member 404.php file will fire–if it exists.
In reply to: skeleton component for buddypressThe Skeleton Component is just that–a generic, bare-bones plugin template that you can use to create your own, custom BuddyPress plugin.
But the only things that this plugin do is to put in profil EXAMPLE..
Did you read the in-line documentation? At the top of bp-example.php it reads:
--- SKELETON COMPONENT V1.2.2 ---
Contributors: apeatling, jeffsayre
This is a bare-bones component that should provide a good starting block to
building your own custom BuddyPress component.
It includes some of the functions that will make it easy to get your component
registering activity stream items, posting notifications, setting up widgets, adding
AJAX functionality and also structuring your component in a standardized way.
It is by no means the letter of the law. You can go about writing your component in
any style you like, that's one of the best (and worst!) features of a PHP based platform.
I would recommend reading some of the comments littered throughout, as they will
provide insight into how things tick within BuddyPress.
You should replace all references to the word 'example' with something more suitable
for your component.
IMPORTANT: DO NOT configure your component so that it has to run in the
/plugins/buddypress/ directory. If you do this, whenever the user auto-upgrades
BuddyPress - your custom component will be deleted automatically. Design
your component to run in the /wp-content/plugins/ directoryIn reply to: Recommended database sizeI know it’s a tad tricky to answer but there must be a rule of thumb somewhere?
There is no rule of thumb that I know of. There are too many variables to say with certainty that a WPMU + BP install needs “X MB” of DB space. It depends on the number of users, the activity level of each user, the overall site activity, whether you give them each a blog (or more), and what plugins you have installed and activated.
But, I suspect that having a DB size limit of 150 MB is a stretch just on a low-trafficked WPMU site. Add in BuddyPress and 100 active users, and you’ll quickly shoot through that limit.
As an example, on one of my WPMU + BP test platforms, I have 5 users and only two MU blogs with very few test blog posts. Since it is a test install only used by myself, it has very little activity thus very little data written to the DB.
The DB size of that simple setup is 1.8 MB. Imagine an active site with many blogs and 100 users. Your host’s DB limit of 150 MB would be quickly reached.
In reply to: Buddypress Member themeIn reply to: WordPressMU on multi-DB do people use?You need to ask that question on the Premium WPMU site. It is a 3rd-party project not supported by Automattic.
If you want a free multiple database engine, you can use HyperDB. This site runs on HyperDB. WordPress.com runs a highly-modified version of HyperDB.
Here are a series of articles written by Trent Adams, one of the BuddyPress moderators, that detail how to configure HyperDB:
In reply to: change urlr-a-y
I think he means where within the wp-config file should he place new slug definitions.
As Andy’s article states:
paste the lines you need for those slugs … into your wp-config.php file somewhere before the “Stop Editing!†line.
In reply to: change urlYou must have missed my second post in this thread where I answered:
You have to add whichever custom slug definition you want to use into your wp-config.php file.
In reply to: change urlJust remember, when you make changes to the core code, like it appears you have, those changes will be lost the next time you upgrade BuddyPress.
That is why you should use the wp-config.php file for customizing your slugs.
In reply to: Media file repository for users and groupsThere is some discussion about turning Manoj’s photo album plugin into an overall media manager. I’m not sure if he is actively considering this idea or not. You could contact him and find out.
https://buddypress.org/forums/topic/bp-photo-what-a-great-plugin#post-16549