wp_icl_strings is used by WPML, and I think this error might be being caused using https://wordpress.org/plugins/buddypress-multilingual/. You need to contact the author of that plugin on the WordPress.org plugins support forum:
https://wordpress.org/plugins/buddypress-multilingual/
Good luck π
1) https://codex.buddypress.org/getting-started/configure-components/
2) https://codex.buddypress.org/buddypress-components-and-features/extended-profiles/edit-xprofiles-admin-screen/
https://codex.buddypress.org/getting-started/guides/displaying-extended-profile-fields-on-member-profiles/
3) is built in on members directory. Each profile item becames clickable by default, letting users find others having entered the same information.
Example:
User A = City -> New York (NY is clickable)
User B = City -> New York (NY is clickable)
User C = City -> San Francisco (SF is clickable)
When user B click on NY he will see user A as search result
When user C click on SF he will only see himself
4) He use the buddy menu. This menu can be installed by going to dashboard > apparence > menu. If BP menu is not in the left side, under the other menus, open the screen option (top right corner) and check BuddyPress. Now you can set your BP menu like any other WordPress menu.
https://codex.wordpress.org/WordPress_Menu_User_Guide
When you’re new to something, you must read the documentation first. Also before asking on a help forum, you must search if your question wasn’t already asked and answered.
Happy install ! π
Hi, I hope you can help.
1) Somehow the date is not showing up in the activity stream
normally it should be like this http://pmag.djwd.me/activity/
in my installation unfortunately is only usernamexy posted an update shown but not the part 1 year, 3 months ago
in which file I have to look up in order to make it work again!
pls. show me the code how it should normaly be like.
I have also installed in my activity stream this plugin https://wordpress.org/plugins/buddypress-activity-privacy/
2) another question is which is a working plugin to get the LIKE-function in the activity stream. I had a lot of trouble with this plugin http://wordpress.org/support/plugin/buddypress-like as it has used conflicts to other plugins that I use.
3) the last question that I have is how to get in the single activity pages like http://pmag.djwd.me/members/djwd/activity/33/ the SEO friendly metatags – meta title and description fetched from the first 5 words of the post! (actually it is like djwd | Activity Streams | PowerMag | Page 33 )
Thank you very much for your support in advance
@sherry22
Probably the best thing to is ask the plugin author for support on the plugins support forum here: https://wordpress.org/support/plugin/buddypress-wall
I am using WordPress 3.9.2 and Buddypress Version 2.1.1
https://codex.wordpress.org/WordPress_Menu_User_Guide
As part of a wordpress plugin, BP menu use the same technique.
hi @gatera,
It’s only a PHP notice, and harmless in regard of a PHP Warning message. Apparently, your plugin is not completely compatible with BuddyPress or at least called to early or something like that.
You must debug your install.
https://codex.wordpress.org/Debugging_in_WordPress
More about bp_setup_current_user function
https://buddypress.org/support/topic/debug-error-bp_setup_current_user-was-called-incorrectly/?view=all#post-186116
https://buddypress.trac.wordpress.org/ticket/4830
File ref: buddypress/bp-core/bp-core-dependency.php
Documented function: http://oik-plugins.eu/buddypress-a2z/oik_api/bp_setup_current_user/
Thanks @gatera! It might just be reflecting a problem in the other plugin, but I’ve created a bug report for BuddyPress and we’ll look into it sometime to see if it’s our fault or if there’s something we could be doing better. Thanks for letting us know:
https://buddypress.trac.wordpress.org/ticket/5957#ticket
Hi,
Whenever I activate the ‘remove dashboard access’ plugin, I get this error message
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /Applications/MAMP/htdocs/knight/wp-includes/functions.php on line 3370
Which setups? … WordPress is 4.0, BuddyPress is 2.1.1. The site is pokerspirit.net … When I try to enter in my wp-admin when BuddyPress plugin is active there is a message: “Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /users/user/public_html/wp-includes/widgets.php on line 720”. When BuddyPress plugin is deactivated wp-admin works.
I keep everything up to date when WordPress says something needs to be updated. So I don’t know when the last update was made to Canvas. I do not use child-themes. I have not tried the Twentysomething theme. Since the problem was happening in the dashboard itself I thought the theme might not be the issue. I’ll check though just to be sure. Thanks for the suggestion.
After lots of searching I finally got round the problem of BP/WP not taking you to the registration page by adding the following file into wp-content/plugins/
bp-custom.php
<?php
/**
* Disables BuddyPress’ registration process and fallsback to WordPress’ one.
*/
function my_disable_bp_registration() {
remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ );
remove_action( ‘bp_screens’, ‘bp_core_screen_signup’ );
}
add_action( ‘bp_loaded’, ‘my_disable_bp_registration’ );
add_filter( ‘bp_get_signup_page’, “firmasite_redirect_bp_signup_page”);
function firmasite_redirect_bp_signup_page($page ){
return bp_get_root_domain() . ‘/wp-signup.php’;
}
This dispenses with BP’s registration system and falls back to the standard WP registration.
I actually did read the description, and saw no mention whatsoever that WP Better Emails would allow me to modify any of the BuddyPress specific emails. Or does BuddyPress just hook into WordPress’s built-in emailing system for when new users are created?
Thanks,
– Yvan
In my community: community.yourfreedomtrain.com my members can’t use the cropping tool to add their profile picture. It simply doesn’t show up after the photo is uploaded. It worked well for the first few weeks of use but since this morning it hasn’t been.
I am using buddypress 2.1.1
My wordpress version is 4.0
I am using the 2014 theme
Any advice is welcome.
Thanks for the help.
What is redirecting ? BP Redirect to Profile is not updated since over a year and many things have changed since (given to be compatible to 1.7….)
Also it was intended for:
- Redirect all normal users to their profile on login
- If the admin logs in from site front page,redirect him back to front page.
- If the Site Admin logs in from site backend, i.e. using http://yoursite.com/wp-login.php, let him go to the WordPress dashboard
You didn’t answered: what is the login plugin ?
Hi,
I’ve noticed recently that when logged into my WordPress dashboard that the side menus that used to pop up when I put my mouse over an item no longer show up.
For example, when I put my mouse over Posts in the past, I would see options show up such as Options, Add New etc. but with Buddypress enabled these options don’t show up any longer.
Also, Gravatar forms disappear when Buddypress is enabled. Wp Courseware won’t allow me to create new courses when Buddypress is enabled and also many other features in WP Courseware cannot work because the menus are not accessible when Buddypress is enabled.
I discovered that Buddypress was the problem by disabling all plugins. When I did that the side menus in wordpress were accessible again. I then re-enabled one plugin at a time to see which one caused the problem. Once Buddypress was enabled the side menus no longer produced sub-menus when I put my mouse over them.
My website is a paid membership website at http://www.LefkoeTraining.com
If someone can help me with this problem I’d be grateful. I’m also willing to pay a programmer to examine and fix the problem.
I’m not aware of a plugin that can do exactly that? Perhaps some of the guys on here know of one?
To do it manually, you could hook a function to init and work from there. For example:
function my_function() {
if ( ! is_user_logged_in() && bp_is_current_component( 'messages' ) ) {
// Current user is not logged in so don't let them see stuff. In this case, private messages
wp_redirect( home_url() );
exit;
}
$flag = false;
// Get current user info.
$user = wp_get_current_user();
if ( ! in_array( 'student', $user->roles ) ) {
// The current member is not a student.
$flag = true;
}
if ( $flag && bp_is_current_component( 'messages' ) ) {
The currently logged-in member is not a student and is trying to view private messaging. Let's redirect them away.
wp_redirect( home_url() );
exit;
}
}
add_action( 'init', 'my_function' );
From that, you should be able to see how you can achieve what you’re trying to do without the need of a plugin.
Refs:
Template Tag Reference
https://codex.wordpress.org/Function_Reference/wp_redirect
I wrote:
If the question is How to style the HTML of the messages (ok with a french accent, but seriously, is it so ambiguous? π ) On each WordPress plugin page, you have a description. Read it !
Thanks for your response, but the link you gave me doesn’t provide instructions on how to implement the “the_widget()” function. This page does:
https://codex.wordpress.org/Function_Reference/the_widget
“This template tag displays an arbitrary widget outside of a sidebar. It can be used anywhere in templates.”
But how do I reference the “(BuddyPress) Log In” widget using this function, and which additional parameters I’m supposed to pass to it, if any?
– Yvan
Of course it’s possible and explained on this Codex page:
https://codex.wordpress.org/Widgetizing_Themes
But before, check your theme support. Maybe there is something related to mobile device ?
I currently have 5 different widget areas in my WordPress theme:
1) sidebar
2) footer slot #1
3) footer slot #2
4) footer slot #3
5) footer slot #4
However — all 5 of these widget areas completely disappear when viewed on mobile, which means I can’t put the BuddyPress login widget in any of them. So I want to place the widget in the one area that makes the most sense — which is in the top header section (ie: header.php)
So .. is that not programmatically possible? Isn’t there a way that I can accomplish this using WordPress’s the_widget() function?
– Yvan
@tac28
A child theme is something you create that can inherit styles, functions, layout, etc. from the parent theme you use. You have to be using some sort of theme now so you would make a child theme that inherits from a parent theme and you can make your customizations in the child theme. This way your customizations are not overwritten when you update the parent theme. Please review:
https://codex.wordpress.org/Child_Themes
Thanks, I have the file and I amended it.
Is/your-child/buddypress/members/register.php
The WordPress child theme?
hi @funkolector,
It’s only a message, not a bug, who depends of the browser you use, your debug tool severity…. and the load order of some js files (from theme or plugins). And TypeError on BP Trac are rare.
It’s anyway very variable, et puis quoi, is your site crashing or is something NOT working AT ALL once you created such a field type ?
I’m asking because i have such js error message over years with my BP sites… and never had any dramatically issues with js. Maybe weird, but only if you check constantly the debug console. π
Why do you want to use code to add a widget to a theme ?
Go to dashboard > Apparence > Widget and do your stuff from there.
If your theme has widgetized areas, this is how you have to do. BP is only a plugin, not a “site” or a CMS.
Of course, if you build your own theme from scratch, you have to create such areas first in the theme’s functions.php.
https://codex.wordpress.org/WordPress_Widgets
https://codex.wordpress.org/Widgetizing_Themes