Forum Replies Created
-
In reply to: Privacy component–where is it?
@pjnu-
I’m still updating the Privacy Component for BP 1.2.x. I’m about 80% through, which means a new beta release will be in about 10 days–although that is only an estimate, not a hard promise.
I do not use my blog for status updates on projects. It is used primarily for posting my major thoughts and in-depth articles. If you want to get periodic updates on the Privacy Component, follow me on Twitter. This is were you will hear about the status of this project before anywhere else. I have been consistently tweeting periodic updates on the project–that is when there is anything of note to post.
In reply to: Can't delete user accountYou log into Trac using the same credentials as you do for the BP forums. So, since you can post here, you can post there as well!
In reply to: bp_setup_nav not firingYou can get the BP hook bp-setup-nav to fire (to function as expected), if you set the proper priority within the add_action line of bp-core.php. This, of course, is a core hack and is something that needs to be addressed in trunk itself.
So, on line 2027 of bp-core.php, instead of:
add_action( 'plugins-loaded', 'bp-setup-nav' );You do this:
add_action( 'plugins-loaded', 'bp-setup-nav', 50 );The issue is that there are other functions that need to be fired before this one but since the priorities on a number of plugins-loaded hooks within BP are not set, it causes an issue that results in the bp-setup-nav hook not to be fired.
I’m currently investigating an issue where a number of my custom do_action hooks do not fire when they should. There are also a few additional BP custom hooks that do not fire when they should as well. It may be that this issue is related. Once I figure out the root cause, I will post in Trac. But for now, if you want to use the custom BP hook bp-setup-nav, you can add a very low priority and it will work.
Regarding point “A”, I’ve decided that privacy is overrated, that only those who are losers and morons would dare ask for such an anti-establishment type of tool. If Mark Zuckerberg doesn’t think privacy matters anymore, then who am I to disagree with a social-network god that controls the lives of–ah, I mean graciously provides a gathering place to–a third of a billion people.
Therefore, this morning I deleted all of my source files for the BuddyPress Privacy Component on my private repository and then put on my best suit of magnets and rolled around in my server room. And, just to make sure all that nasty privacy code was expunged from my network, I set my computers on fire while simultaneously striking them with a 20-lb sledgehammer.
If you want privacy, don’t sign up for a social network. If you believe in freely-sharing all the intimate details of your life–which of course you should because this is the way the world is heading–then accept the Facebook neural implant and merrily post away.
In reply to: Several Buddypress sites one login?Would it be very complicated to write a plugin that checks if the entered username exists in the other three databases? And then verify the user’s password by checking in that same database? And then enter that user’s data, including username + pass, into the ‘New Community’ database?
This could be done but the issue would be security as you are grabbing data across domains. I am not a big fan of pushing and pulling your members’ most important data across domains–that data being usernames and passwords. It exposes your site in a potentially dangerous way. Implementing security measures would be essential.
The best option is to allow your users two choices in accessing your suite of sites:
1. A separate account for each site–which means you do not need to do anything different
2. A single sign on (SSO) solution, be it OpenID, FOAF+SSL, or even the Facebook Connnect Plugin
The Web is slowly moving toward SSO as a standard option for users. In my opinion, this is the way to go.
In reply to: I need developersClosing this thread as you have the contact info if you want to contact the OP.
In reply to: Several Buddypress sites one login?I assume that you will have mutliple domains, each with their own BuddyPress install. If that is the case, there is no easy solution available. What you are asking for is a single-sign on (SSO) solution between multiple domains that each have their own BP instance. This is beyond the scope of a single WPMU install with a domain mapper. This is not an easy thing to do by yourself and I’m afraid it will not be possible at this time without some heavy custom coding on your part.
SSO is a hot topic with several technologies and standards trying to work their way into acceptance and use. The best-known of these is currently OpenID.
There is a WordPress plugin that allows you to integrate OpenID sign ons within a WordPress site, but it is out of date. With both Chris Messina and Will Norris having recently been hired by Google, I’m not sure if this plugin will be updated any time soon. I suggest contacting the Diso Project and inquire about the status of their WordPress efforts.
Also, there is talk of implementing the Open Stack in a future version of BuddyPress. But this will not be anytime soon.
Another possibility, which in my opinion is the best solution for facilitating federated identity management across the Web, is FOAF+SSL as a WebID. But that solution is even further off at this stage as it requires individuals to implement their own WebID. OpenID is a 3rd-party identity provider whereas a properly-implemented WebID is a 1st-party solution that each individual owns and controls.
The PHP website is a great resource: http://php.net/manual/en/language.types.array.php
Also, I’d suggest purchasing a book on PHP and reading it from start to finish. Make sure you do all the practice lessons in the book. When you’ve got the basics down, the book will serve as a great resource to have around when you need it.
In reply to: Plugin Devs Please ReadHere’s how I handle it for my BuddyPress Privacy Component. I have a loader file called bp-authz-loader.php. It contains all the necessary plugin metadata at the top of the file. After the metadata, I have this as the first function:
/**
* BPAz_init()
*
* Initialize basic constants and make sure BuddyPress
* is installed and activated. If true, then allow for
* Privacy Component to finish loading.
*
* @since 0.4
*/
function BPAz_init() {
/* Define the component's parent folder name */
define( 'BP_AUTHZ_PLUGIN_NAME', 'bp-authz' );
/* Define component's directory and URL Paths */
define( 'BP_AUTHZ_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . BP_AUTHZ_PLUGIN_NAME );
define( 'BP_AUTHZ_PLUGIN_URL', WP_PLUGIN_URL . '/' . BP_AUTHZ_PLUGIN_NAME );
/* Define the directory where user settings' functions reside */
define( 'BP_AUTHZ_SETTINGS', BP_AUTHZ_PLUGIN_DIR . '/' . 'settings' );
/* BuddyPress is installed and activated, finish initialization and go! */
require_once( BP_AUTHZ_PLUGIN_DIR . '/bp-authz-core.php' );
}
add_action( 'bp_init', 'BPAz_init' );I have two more functions in this file, one to register the plugin upon activation, the other to register it upon deactivation. But that is all. Just these three functions.
If BuddyPress is installed and activated, BPAz_init() will fire, resulting in the rest of my component being activated when bp-authz-core.php is loaded. I’ve tested it and it works as expected without causing BP to crash. In other words, if BP is not activated but my plugin is activated, nothing happens. This is what you want.
In reply to: internal server error after activating bpGlad to hear you’re in business! Sometimes switching hosts is all that is needed.
I’m setting this thread to resolved.
You’re welcome! I’m setting this thread to resolved.
In reply to: Can BP be assigned to a single blog in WPMU?Paul-
Just in case you are still interested, here is the link I thought I had provided. I guess I forgot to paste it into my post. Oops.
https://buddypress.org/forums/topic/run-buddypress-from-sub-blog-or-blog-id-2#post-28746
If you’re satisfied that your issue is resolved, then all that is need is for you to set the light above to green!
In reply to: Where is my forum?In reply to: Syntax for search_terms in bp_has_site_membersWhich version of BuddyPress are you running? The current version of BP does not have that function. Instead, it is bp_has_members().
Having you been developing under an older version and then you upgraded? Codebase changes are to be expected. The first thing to do when previously working code fails is to check the logs, they will often indicate the issue. Then, if you need to sleuth some more, check the core functions to see if something has changed–the function name, function parameters, or both.
In reply to: Can BP be assigned to a single blog in WPMU?See this thread and also the thread link in the last post.
In reply to: Where is my forum?Forums are group based. So, if you have not created a group, do so, then the forum tab should appear. Also, you must make sure that the “Enable discussion forums” check box is enabled in each group for forum to appear. This is done by a group admin by clicking “Admin > Group Settings”.
Which version of WordPress and BuddyPress are you running?
To post a new topic to a thread using the Group Forums Directory, you must be a member of that group and the group must be public. So, you will not have the option of selecting groups that are private or those of which you are not a member.
BuddyPress.org uses bbPress, the same forum software that comes with the BuddyPress download. However, the forums on BP.org are site-wide forums (using an external install method) and are skinned to look like the rest of the site. They are not group-based forums as you get with a standard install of BuddyPress.
To learn more about external bbPress installs, read this:
https://buddypress.org/forums/topic/create-a-site-forum#post-36466
In reply to: Is WPMU preferred over WP for BP?…I want all member blogs on a single site…
If you want to offer your members their own blog, then you will need to use WPMU. The fact that each of your members has their own blog does not mean they have their own site. All the blogs are located on and served from your site.
If you only want to have one blog but offer a social networking layer on top of that using BuddyPress, then single-version (solo-blog) WordPress is all that you need. But, with both WPMU and WP, BuddyPress will allow you to create a social network. As Andy says, the only difference is whether you want to offer your members the option to create their own blogs on your site.
In reply to: internal server error after activating bpI would not paste a link to your log files.
Just paste the most recent errors, as in the errors that were logged with the most recent attempt at activation. Look at the time stamp. Please don’t include the entire log, messages older than the most recent attempt, nor any duplicate error messages. One of each should be sufficient.
In fact, when debugging an issue like this, it is usually a good idea to clear out the error logs, start with a blank slate. Then, when you have the next issue, you know that any errors in the log are highly relevant.
In reply to: internal server error after activating bpOkay, is WordPress working fine before installing and activating BuddyPress?
Also, which version of WordPress and which version of BuddyPress are you using?
You need to look at your error logs to find out more details–both PHP and Apache logs. Your host should be able to give you access.
Finally, you can try adding this to the top of your .htaccess file:
### Set PHP directives ###
php_value memory_limit 96MYou may need to decrease that if your hosting company has not allocated that much memory for your account. You can try 60 then 30, for instance.
In reply to: internal server error after activating bpHow are you installing BuddyPress. Are you using the plugins search form in WP admin and automatically installing it from there? Are you manually installing it yourself? Or, are you using a service, an install script, that some Web hosting firms provide?
Also, can you confirm for me that WordPress works fine before you installing BuddyPress.
In reply to: internal server error after activating bpOkay, let’s try something else. Back up one step by deactivating BuddyPress once again. Next, make sure that you are using the default WordPress theme. We are trying to make sure that WordPress is working by itself without issue. I assume it is, since you have to activate BP from the Admin panel. But, let’s do this anyway.
Once again, before doing anything, make sure you have backed up your Data and have offsite copies of any non-default themes and your plugins. It is just a standard precaution that makes it much simpler to restore your environment if anything goes wrong.
Next, you’ll want to remove all your plugins from the “plugins” directory. Of course, you first have to be absolutely sure that you have deactivated them all before doing this. You should copy your existing, deactivated plugins into a temporary folder. That way, you can add them back into your empty “plugins” directory after everything is back up and running.
Now, you should have WordPress with the default theme and zero plugins in the “plugins” directory. Make sure that the plugins folder is still there. It should just be empty.
Does WordPress work without issue in this bare-bones setup?
If so, now you reupload the BuddyPress plugin into the empty “plugins” directory. Then, activate it. What happens?
In reply to: internal server error after activating bp@kanefulton-
Worrying about HD space is not relevant at this stage. Although the HD space is an issue once things are working, I was under the impression that you could not even get WP with BP working, that you kept receiving a Error 500. If this is the case, the allocated HD space is a moot point at this time.
Are you still having Error 500 issues? If so, that is where we need to be focusing the attention, unless you are planning on switching to a different host. Please read the threads that I linked to above. Is your site running under PHP 4 or PHP 5? Also, as @hnla states, there can be other issues with PHP memory limits.
Finally, I am a little concerned that you have manually edited your .htaccess file. If you’ve deactivated and uninstalled all plugins, then the . htaccess file that comes with WP should work fine. Is WordPress working fine by itself once you’ve distilled your WP install down to the lowest common denominator as I detailed in my first post above?
Let’s get WP working first and worry about BP later.
In reply to: Server Sizing Anyone?Here’s an old thread with an initial stab at your question:
https://buddypress.org/forums/topic/dos-and-donts-of-server-setups