Hi thank you for your info
With the combination of both danbp and Henryrights sugestion rtMedia and buddypress-portfolio I’m getting somewhere but still not sure how I make hese portfolios come up in the members area of their profiles. Can past the shortcode but it’s a link to a page rather than embeded? Is there an easy way of sorting this?
Any clues much appresciated
all the best
Hi all!
I have BuddyPress installed with ‘Anyone Can Register’ selected in WordPress General Settings but wp-signup.php is resulting in a Redirect Loop and ‘User registration is currently not allowed’ is all that appears on the BuddyPress login page I’ve assigned in BuddyPress settings. This means that no-one can register on the site!
Any suggestions? Thanks in advance!
Agree with @shanebp!
Iām trying to isolate an apparent quirk in BuddyPress having to do with an embedded user avatar image (via shortcode) not linking properly to the user profile…
To my knowledge, BP doesn’t supply shortcodes? I suspect if you search your theme for something like add_shortcode( 'shortcode-name-here' and look in the hook’s code, therein you’ll find the problem.
Ref: https://codex.wordpress.org/Function_Reference/add_shortcode
BuddyPress uses the bbPress plugin for forums.
So you’re better off asking the question on https://bbpress.org/forums/
What you want may be possible, to start, see:
Allowing inline images uploads in posts?
https://wordpress.org/plugins/gd-bbpress-attachments/
I think to avoid conflict you can add
add_theme_support( 'buddypress' );
in your child theme function.php file.
For more info visit the following link.
BP Theme Authors: make sure your theme registers 'buddypress' support
Hope this would help others in the community.
Hi @becks-star
bp_profile_after_header isn’t a function. It’s an action hook. You would usually write a function of your own and ‘hook’ it to bp_profile_after_header.
For example:
function my_callback() {
// Do something amazing...
}
add_action( 'bp_profile_after_header', 'my_callback' );
You can read more about hooks here: https://codex.wordpress.org/Plugin_API/Hooks
Hi
i created a bp-custom.php and regrouped the menu items fine. But now i am trying to add a link to go to /site/members. It list all the members. When i add it though it goes under the profile I am viewing. I am redirecting to a wordpress page if that helps.
example with it added
http://website.com/log-in/members/username/members/
i want it to go just here
http://website.com/log-in/members/
I would love to learn how to just put a url and no slug but whatever works.
Here is the function
function mb_bp_profile_menu_posts() {
global $bp;
bp_core_new_nav_item(
array(
'name' => 'Members',
'slug' => 'members',
'position' => 60,
)
);
}
Hi Guys
I have a small buddypress user-base around 500 users, I am getting allot of issues with users misplacing or forgetting usernames and passwords. (welcome emails get sent containing both)
I have the “forgot password” link which is great but for some reason users keep trying to login with an email addresses (which is not the correct)
Does anyone know a plugin or function that will allow me to have a link for “forgot username” like the forgot password. which is pretty common on big sites.
I have searched here and google and all I get is forgotten admin usernames for wordpress.
Hi @packjazz,
One of the main uses of cookies within BuddyPress is in template message display. In this case, cookies are used to store generated error or success messages and display them after the page has been reloaded.
If you try searching the BP code base for setcookie, you should find how else BP utilises cookies.
Note: WordPress probably utilises cookies too.
Wanted to mention here for the benefit of future searchers (or Michael if you’re still looking for a solution!) that we had the same need and built a plugin which does exactly what is described above.
The plugin is called the NS Cloner and is available for free in the wordpress.org plugins repository. It adds a network admin page where you can select a source site and then create a perfect duplicate complete with all content, plugin settings, etc.
Ok the count seems to be only a cosmetic change for the member directory.
See an original picture of this here.
A bit strange to use this trick as it exist and can be alered with css, but authors are sometimes strange….
What is the theme you use ? Maybe it contains some other “strange” things ? š
People who are Teachers need to have the Editor WordPress role to upload media.
Seems not to be possible for the moment. If you read the ticket, Boone says:
It’s a nice thought, though I’m not sure if it’d be possible to make this work without refactoring the entire activity query class. Moving to Future Release for discussion.
Feel free to disccuss this on #4988 or try to create a patch.
Hey @danbp Thanks for the response. I looked into that thread and that led me to this:
bp_has_activities to accept multi scope
This is an enhancement marked for future review… 14 months ago :\ – Looks like the only way to do it is to write a new class/function.
Is there anyone out there that has written something that includes multiple scopes? Is it possible?
@spikespiegel,
please read here and provide more details and if possible give a site URL.
All of your topics are so far related to some weird settings of your wordpress/buddypress installation. So it is somehow complicated to help you if you don’t resolve this first.
There is no shame to read the WP codex by the beginning: get started and to follow each step.
Hi @simpleone,
you can actually only hide xprofile fields. Hiding field groups is not possible, due to a bug.
But it is corrected for 2.1 and you’ll find a patch on the trac.
You can already apply the patch to 2.0.2 bp-xprofile-classes.php and the above snippet will work. Add it to bp-custom.php or theme’s functions.php
To hide an xprofile group, use bp_parse_args like this:
function bpfr_make_profile_tab_members_only( $retval ) {
// hide to non members
if( !is_user_logged_in() ) {
// exlude groups, separated by comma
$retval['exclude_groups'] = '4,5';
// exclude fields, separated by comma
$retval['exclude_fields'] = '1,39';
}
return $retval;
}
add_filter( 'bp_after_has_profile_parse_args', 'bpfr_make_profile_tab_members_only' );
Ok here I found this:
“Added new “hide_spam” parameter to the entire Activity template loop stack; defaults to true, except if specific activity items have been requested (for backpat reasons).”
I found “hide_spam” in 3 files in buddypress but it’s already set to false? How can I disable this option?
Is it here in bp-activity-template.php:
// If a user is a spammer, their activity items will have been automatically marked as spam. Skip these.
if ( $comment->is_spam )
continue;
$user_ids[] = $comment->user_id;
or here
@type string|bool $spam Spam status. ‘ham_only’, ‘spam_only’, or false
* to show all activity regardless of spam status. Default: ‘ham_only’.
When I turn on the debug mode in WP this is what shows up:
Notice: bbp_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 2.3.) in public_html/wp-includes/functions.php on line 3245
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 public_html/wp-includes/functions.php on line 3245
Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.) in public_html/wp-includes/functions.php on line 3245
In phperrorlog I get this error:
WordPress database error Unknown column ‘spam’ in ‘where clause’ for query SELECT ID FROM lb_users WHERE ID=1 AND spam != 1 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/Cinematix/bbpress.php’), get_sidebar, locate_template, load_template, require_once(‘/themes/Cinematix/sidebar.php’), dynamic_sidebar, call_user_func_array, WP_Widget->display_callback
@onogbebor
You really need to be more clear in what you hope to achieve. If you have WordPress installed and have also installed and activated BuddyPress then there is already a connection with MySQL and the BP tables are already created.
Goggle ‘wordpress membership plugin’.
There are several plugins that will allow you to set membership levels and assign members to them.
Hello All,
In one of my buddypress project require new custom field (“correction”) which will works exactly same as commenting system for activity stream. As per requirement,
Logged in user can either post comments or corrections (“new custom field”).
I searched a lot on web but i didn’t found any related to that. Actually i am new to wordpress and buddypress.
is there any specific code snippet or idea which helps me to implement above requirement?
I used,
Wordpress Version: 3.9.2
Buddypress Version: 2.0.2
Any kind of help will be great appreciate. Please reply if you need more details.
Thanks