Read this:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/faq-how-to-code-snippets-and-solutions/?topic_page=2&num=15#post-44366
This is more of a workaround though.
Also, just wondering… what version of BP are you running? Did you try BP 1.2.4.1? If not, try upgrading to see if this issue is fixed in the new version.
@piphut – Try adding the following in wp-config.php:
define( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE', true );
It’s possible that “admin” is still used as your “user_nicename”.
Ah, you’re doing it from the BP frontend. No, there is no standard image uploader for BP, or even for WP as far as I know. (Sadly.)
Here are some examples of plugins that allow file uploads. Each takes a different tack. Maybe you can decide what you want to do based on them.
– https://wordpress.org/extend/plugins/buddypress-group-documents/
– https://wordpress.org/extend/plugins/forum-attachments-for-buddypress/
– https://wordpress.org/extend/plugins/buddypress-group-wiki/
What I want is in the admin panel, when I add a shop to my database in my plugin, I add companyname, street, zipcode, etc. This all works, and it’s based on BuddyPress Skeleton Component 1.4.
Now, I want to add an image. Is there a standard image uploader?
Anonymous User 96400Inactive
Yep, it’s a good idea to relocate it, but the path was still wrong. The constant BP_PLUGIN_DIR points to the BP folder. Then you have the wp-content folder, so right there’s the problem. You could use this:
load_textdomain( ‘buddypress’, WP_PLUGIN_DIR . ‘/bp-languages/bp-family-’ . BPLANG . ‘.mo’ );
This assumes that you have your folder structure like this:
wp-content/plugins/bp-languages
@Kalman Labovitz: The plugin causes a fatal error and could not be activited.
I’ll send an email to the author.
@pcwriter: Your simple soluttion is easy and handy for custom pages indeed. But how to use it to protect the forums for example? 
@Kunkel will there be score keeping on the site or just to play?
I saw the plugin “Secure Invites for WordPress MU” by @MrWiblog and was wondering if there something similar that is available or will work for the regular wordpress (non MU). I didn’t see a forum tab in that plugin page to ask so here I am.
I really suck at figuring out errors. Any help or direction is appreciated!
I’m running the 3.0 beta (multisite enabled) with the latest Buddypress and eShop. I haven’t fully tested for eShop functionality yet, but the first stumbling block I’m running into is the following error on my blog directory page:
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/*****/public_html/wp-content/themes/bp-child/blogs/blogs-loop.php:3) in /home/soirifqo/public_html/wp-content/plugins/eshop/eshop.php on line 876
It doesn’t seem to be affecting function at all (search and everything there is working just fine), but it just looks ugly. Is there a line somewhere that I need to delete?
ETA: seems to be throwing the same error on all pages that include a search box and/or pulldown menu for filtering. And I checked the eshop.php file. It only goes up to line 475
Disabling eShop seems to fix all issues, but I REALLY need that plugin!
Hi all,
I am milling around with using Buddypress (which is a great by the way) my question is this:
Basically I am looking at creating a site but it will have two different levels of users
E.G
User One – is a company showcasing products etc
User Two – is an end user
Both would have different user permissions, for example User one would be able to post information, and User 2 would be able to read, follow and contact User one if they are interested in product or service.
Apologies if there is a plugin to do this I just cant find one.
All the best
Ben
please thats what i am looking for for weeks now arcade games can boom my website traffic
I think that your file location is the problem. If you have your file in wp-content, it should read
load_textdomain( 'buddypress', '/wp-content/bp-languages/bp-family-' . BPLANG . '.mo' );
@ninanoki – There are three strategies for doing what you want to do.
1) Load WP/BP in the background when you, for instance, save a mediawiki edit. You can do that by including wp-load.php. Then you can use the BP activity API, as @nuprn1 suggests above. The downside is that you’ve got a lot of overhead, loading both MW and WP at the same time.
2) Write directly to the WP database with a MW extension. I wrote this http://www.mediawiki.org/wiki/Extension:BuddyPressActivity a while back and it is out of date and doesn’t work right now, but you could hack it to work. Downside: it’s fugly
3) You could pull edits in via RSS. I have a working version of such a plugin on my localhost right now, but I have to clean it up before releasing it. It’ll let the admin put in any RSS feed (like MW Recent Changes) and have the updates be posted as activity items. If you’re sharing a user database, it’ll even key the user_id correctly. I might get a chance to work this up in the next day or two, and I’ll post it on these forums when I do.
Thank you for your interest in helping me.
Yes, here is my code:
define( ‘BPLANG’, ‘myrelative’ );
if ( file_exists( ‘/wp-content/bp-languages/bp-family-‘ . BPLANG . ‘.mo’ ) ) {
load_textdomain( ‘buddypress’, BP_PLUGIN_DIR . ‘/wp-content/bp-languages/bp-family-‘ . BPLANG . ‘.mo’ );
}
And, yes, I do have the folder and files under the bp-languages folder directly off wp-content rather than under buddypress in order to preserve the modifications.
I just can’t tell if the file is even being loaded and whether there is a problem with it.
Got this when I activated the Group Documents Plug in –
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /web/sites/wordpressmu4/wp-content/plugins/buddypress-group-documents/include/classes.php on line 4
Being a newbie – I see that is something on line 4 of classes.php.
Though what do I need to change.
Any help would be appreciated.
Matthew
me too, also error.
This plugin is most want , but the author seem not develop any more….
How can I tell if there is a problem with the loading of a language file I have created?
I used POEdit to modify the buddypress.pot file and saved the changed file as bp-family-myrelative.pot and POEdit created a bp-family-myrelative.mo when I saved the file.
I am using Windows server 2008 and do not know about a msgfmt application that I can run. Is it in a special folder? Is that a unix only app?
Bottom-line is that the language changes I made (to change group text to family text) is not reflected in any of the buddypress/wpmu menus or text. I have restarted the server apps several times and do not see any changes taking affect.
Any ideas?
I’m creating a new plugin, and I want to use image upload. In the admin panel, I can add shops and products to my database. Now, I want to upload an image (or more) for my shops. Is is possible to use the default WordPress / BuddyPress Image Upload?
I am having the problem that sending a private message points to “/members/_myuserid_/messages/compose//” which in turn responds with a Forbidden-Error page. My User ID is not “admin” though I do have site admin privileges.
This does not seem to be the bug describred in the ticket at https://trac.buddypress.org/ticket/1820
Regards,
Oliver
so you need to create a record outside the scope of BuddyPress? (if you can can bring in the global bp – then you just need a wrapper around function bp_activity_add )
Just have a look at the class BP_Activity_Activity and the save() function
@Anointed
There’s this to start with. It only displays members’ avatars (via usernames), but I guess with some code fiddling, you could get it to display just about anything you like: https://buddypress.org/community/groups/buddypress-featured-members-widget/home/
@Hans
I’ve installed s2member on my site specifically because it CAN restrict access to both paid memberships AND free accounts. You can restrict access to posts, pages, tags, categories, single pages and uri’s. You can also have lots of fun with advanced conditionals and display different content to different membership levels, including the free level. For more info, check out this readme: http://www.primothemes.com/readme/914/
Here’s my membership options page to give you an idea of how I’ve set it up with free/paid plans: http://rspace.org/membership/