Forum Replies Created
-
In reply to: To BP_ENABLE_USERNAME_COMPATIBILITY_MODE or Not To
I’ve noticed some weird things with $user_nicename particularly on some single WP installs. For some, the user_nicename had spaces which broke member profiles.
So I’ve had to stick to the compatibility define in some cases.
Via the commented code in WP:
'user_nicename' - A string that contains a nicer looking name for the user. The default is the user's username.Silly question, but did you upload the theme and activate it on the blog?
In reply to: Question about Forums vs. GroupsForum as default tab in Groups:
http://is.gd/cl9YdIn reply to: Localization problem.Just updated the instructions.
The updated instructions are much easier as you don’t need to download translation files for WordPress.
—
Re: your other question – You’ll need to download your WordPress language file and add them to /wp-includes/languages/
In reply to: Localization problem.1) Download your BP language files from:
https://i18n.svn.buddypress.org/Make sure you grab the release that is specific to your BP version
And add them to /wp-content/bp-languages/
2) Add this to your /wp-content/plugins/bp-custom.php file:
define( 'BPLANG', 'YOURLOCALE' );
if ( file_exists( WP_CONTENT_DIR . '/bp-languages/buddypress-' . BPLANG . '.mo' ) ) {
load_textdomain( 'buddypress', WP_CONTENT_DIR . '/bp-languages/buddypress-' . BPLANG . '.mo' );
}
—
Just tested it, works for me.That error only exists on the xprofile management screen.
Perhaps you’re doing something wrong when setting up your profile fields under “Buddypress > Profile Field Setup”?
In reply to: Question about Forums vs. GroupsThe difference is the activity stream does not offer a title for your discussion, forums do and are logically organized accordingly.
You can try disabling the site wide activity stream by not setting the activity stream as front page to see if that will encourage group discussion.
FWIW, the default BP theme has received some criticism regarding usability.
In reply to: Make admin bar take its own space and stay staticTry this snippet in your theme’s stylesheet:
#wp-admin-bar {position:absolute !important;}If you’re customizing the default BP theme, you’ll want to build a child theme so your changes will stay intact when you upgrade BP:
https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/In reply to: No “must login message” or redirectIn reply to: Activity Stream Not ShowingClosing topic. If you looked in the forums, you would have found a similar thread:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/wordpress-3-0-buddypress-1-2-4-1-and-activity-stream-as-front-page-possible-fix/In reply to: custom plugin : hook bp_setup_globals is not firedYou might want to refer to this for now:
https://buddypress.org/community/groups/creating-extending/forum/topic/how-to-use-bp_init-and-bp_setup_globals-at-the-same-time/Why? Because of this:
https://trac.buddypress.org/ticket/2325In reply to: Display page under my slug /mapYou might be missing a template action in your component.
This is how groups does it:
function groups_directory_groups_setup() {
global $bp;if ( $bp->current_component == $bp->groups->slug && empty( $bp->current_action ) && empty( $bp->current_item ) ) {
$bp->is_directory = true;do_action( 'groups_directory_groups_setup' );
bp_core_load_template( apply_filters( 'groups_template_directory_groups', 'groups/index' ) );
}
}
add_action( 'wp', 'groups_directory_groups_setup', 2 );Also this might apply to you:
https://buddypress.org/community/groups/creating-extending/forum/topic/custom-plugin-hook-bp_setup_globals-is-not-fired/Depending on the context you’re using this in, this might not work correctly but try:
bp_get_group_id()or:
global $bp;
$bp->groups->current_group->id;Updated patch commited by JJJ:
https://trac.buddypress.org/changeset/3066In reply to: WordPress 3.0 – Run Buddypress on Secondary BlogThis is working for me on my testbox.
Though I did upgrade from WPMU 2.9.2 mind you.
[EDIT]
Here’s another post you might want to look at:
https://buddypress.org/community/groups/installing-buddypress/forum/topic/blank-site-after-installing-buddypress-in-wordpress-3/In reply to: bbpress activity not coming though@arturo84 – Use BuddyPress’ own insert activity function – bp_activity_add() available in /bp-activity.php as either a bbPress plugin or a code snippet in your bbPress theme’s functions.php.
You’ll need to hook into the right actions in bbPress. You’ll probably want to hook it to when a new topic is created and when a new reply is made. I don’t have these actions at the top of my head, but this should give you enough to go on.
[EDIT]
Something I forgot to mention is if you’re using your bbPress install in conjunction with BP’s group forums, you’ll probably also want to omit posts that belong in the group forum’s category ID, which in most cases is category ID #1. Why? Because you might get duplicate forum post entries in the activity stream.In reply to: Activity stream as front page in BP 1.2.4, WP 3.0 b2@raywaldo – This is an old thread.
You might be interested in a proposed fix for this issue here.
Closing thread.
You’re looking for the BP Template Pack plugin:
https://wordpress.org/extend/plugins/bp-template-pack/Follow the instructions on the settings page.
In reply to: SLUG settingsActivity items are cached, so when you change your members slug, these items are not changed.
You’ll have to add a RewriteRule in your .htaccess file.
Something like this will work:
RedirectMatch 301 ^/members/(.*)$ http://www.example.com/uyeler/$1In reply to: users complaining@takeo – Re: autocomplete – I just coded something that “fixes” this.
Re: usability – Users easily outnumber developers a multitude of times over. Andy is the only employed person working on the project. It’s so easy to ask for something. A reminder that this is an open-source project where people help out when they can. Many people have spent countless hours developing solutions and helping others. Apart from the occasional, obligatory “thanks”, it’s mostly a thankless and ungratifying task, but we do it because we want to help!
If you use a plugin or if you’ve received help on these forums, you are encouraged to donate.
Or contribute something back to the community in the form of bug reports, themes and support.
In reply to: users complaining@paulhastings0 –
https://trac.buddypress.org/ticket/1419I closed this myself after the “Disable activity stream commenting on blog and forum posts” setting was created in the BP admin area.
Feel free to reopen it.
In reply to: embed wordpress groupCreate a WordPress page and apply a page template first.
https://codex.wordpress.org/Pages#Creating_Your_Own_Page_TemplatesDo not use a PHP plugin like ExecPHP unless you really have to.
In reply to: embed wordpress groupYou’re passing the parameters wrong.
if ( bp_has_activities( 'object=groups&primary_id=2') ) : bp_the_activity();In reply to: embed wordpress groupYou can either create a shortcode plugin that uses the BP activities loop, or create a PHP page template with the activities loop with the group parameters passed into it:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/In reply to: SMF Forum importerCool! This will definitely help those coming from SMF.
Thanks for contributing, normen.