Hello,
I see this code in buddypress\bp-templates\bp-legacy\buddypress-functions.php
// Maybe enqueue password verify JS (register page or user settings page)
if ( bp_is_register_page() || ( function_exists( 'bp_is_user_settings_general' ) ) ) {
// Locate the Register Page JS file
$asset = $this->locate_asset_in_stack( "password-verify{$min}.js", 'js' );
$dependencies = array_merge( bp_core_get_js_dependencies(), array(
'password-strength-meter',
) );
// Enqueue script
wp_enqueue_script( $asset['handle'] . '-password-verify', $asset['location'], $dependencies, $this->version);
}
I copied it into functions.php of Default BP theme before:
add_action( 'wp_enqueue_scripts', 'bp_dtheme_enqueue_scripts' );
but I see following error: Fatal error: Using $this when not in object context in
How to load both files on Default BP theme?
Hi
We have several problems with buddypress 2.1 and wordpress 4.
We use various plugins like GRAND Flash Album Gallery, Royal Slider or Smooth Slider.
All sliders no longer working since we have updatet budypress to the verison 2.1.
If I disable buddypress now the plugins go again. Do you have any idea on what to do?
@amalsh i had the same problem, and solved it.
If you’re using bp-legacy in your child theme to modify the look of the activity post form,
you must have a file called post-form.php in /yourtheme/buddypress/activity/post-form.php
To make the @mentions panel appear, simply add the class="bp-suggestions" to the textarea at line 30
I am creating the website in buddypress. I have the homepage there and i want to customize that page by code. The link for my website is http://soc.yogeshojha.com/ I have a page called Home and I selected the default page by setting –> reading and then Front page display as homepage. what is the location for that page named “Home”?
Hi @r-a-y,
Unfortunately I wasn’t successful in overwriting a template.
I wanted to make some changes using this tutorial http://premium.wpmudev.org/blog/how-to-create-a-custom-buddypress-members-directory/.
I created buddypress folder in my child theme folder, uploaded members folder with members-loop.php in it and uploaded css folder with buddypress.css. Made changes according to tutorial, then uploaded to server, but nothing changed:( What am I doing wrong?
I have read the article on the “bp_has_activities() queries” (Article Here) and I believe these issues are unrelated. My understanding is the article boils down to “Some plugins may lose functionality if they rely on the depreciated query”, but let me know if I miss read it.
Bugs.
When navigating to the “My Activity” (Personal and Others), or “Site Wide Activity Directory”, the Message, “Sorry, There was not activity found. Please try a different filter.”, displays. If you select a different filter, then go back to “Everything”, All the correct activity displays.
Here are some screen shots of the issue in order of the actions;
http://jibefilms.com/wp-content/uploads/2014/09/1.png
http://jibefilms.com/wp-content/uploads/2014/09/2.png
http://jibefilms.com/wp-content/uploads/2014/09/3.png
To make sure this wasn’t a plugin conflict I disabled all plugins except BuddyPress and activated the default 2014 theme outside its child theme. There are no core modifications to BuddyPress and the only bp-custom.php mods are Avatar dimensions. I have updated BuddyPress and WordPress in sequence with every release. The WordPress is a Multisite Install.
Let me know if there is anything I can do to help diagnose the issue.
Exciting new changes to the BuddyPress great work to all involved!
Thank you for your answer!
So let me get this clear, in order to make changes to any of BuddyPress components, I have to create a buddypress folder in my child theme folder and then upload there any files that I want to change from “wp-content/plugins/buddypress/bp-templates/bp-legacy/”? Correct or no?
@mercime:
It’s resolved now; the child-theme was activated only for the network-level, but not for the root-blog-level. Activating it for the root-blog-level as well, it works:
https://buddypress.org/support/topic/buddypress-2-1-bp-language/page/2/#post-200308
Thank you, @shpitzyl (https://buddypress.org/support/topic/buddypress-2-1-bp-language/page/2/#post-200062).
The code I posted will stop all email activity notifications, though I haven’t tested it 😉
I’m not sure how BuddyPress does all of what it does for these notifications, kind of strange that it is still processing older entries and sending notifications though.
My advice (up until now) has always been don’t import your forums into bbPress with BuddyPress activated for this very reason, though if it starts processing a backlog of notifications for ‘old content’ once activated then this is not ideal behaviour either.
Please, make an effort to read more carefully the answers you receive and avoid asking for the same thing in multiple topics ! 👿
@mercime: functions
1st:
The file name is functions.php
@mercime wrote ‘functions‘!
It was @shpitzyl (https://buddypress.org/support/topic/buddypress-2-1-bp-language/page/2/#post-199810), who wrote ‘function’ (without ‘s’).
‘Please, make an effort to read more carefully’ 😉
2nd:
I guess, different users follow different topics. 🙂
@mercime:
Let’s double-check that you have all the necessary materials:
– theme folder e.g. reddle-child
– style.css file in reddle-child theme folder
– function<strong>s</strong>.php file in reddle-child theme folder
– buddypress.php file in reddle-child theme folder
Should it be ‘function.php’ [singular] or ‘functions.php’ [plural]?
Cfr. https://buddypress.org/support/topic/buddypress-2-1-bp-language/page/2/#post-199810:
‘You need to put this code in function.php in your child theme.’
@danbp / https://buddypress.org/support/topic/creating-a-new-profile-field-type/#post-198965:
‘Maybe nice, but it’s a commonly admited bad idea to let users style your site.’
As I alreday said elsewhere, I would prefer anyway to place the profiles within the subdomain-blogs and not in root-blog.
Then it would be not “style my site” (by my users), but “style their [my users] own site” (by themselves).
‘If you want italics for some field title’
No, what I imagined what not a field title, rather a book or movie title, e.g.:
Favorite movie [= Field title]
Mädchen in Uniform by Leontine Sagan [= user content within that field]
Favorite Book [= Field title]
Tractatus Logico-Philosophicus by Ludwig Wittgenstein [= user content within that field]
@r-a-y Thanks! You are right, I’m not using an object cache. That function isn’t in the WordPress codex, so I missed it. It looks very much like what I wanted, except that I’m a bit worried, because if I follow the Buddypress logic correctly, Buddypress gets the data, puts it into the cache, and then reads it from the cache to give it to the caller. Hope I misread that or something. Anyway I’ll give it a try when I get a chance and let you know. Otherwise I have a workaround, just pull the old version of the function into the plugin I’m using and use that. Just a workaround though.
/plugins/buddypress/bp-languages […] I can see the file in the original plugin folder I downloaded but it looks like it was removed when uploaded.
That folder is an “update-victim” of BuddyPress 2.1:
‘I’m using Buddypress 2.1. Now bp-language folder is lost’
https://buddypress.org/support/topic/buddypress-2-1-bp-language/
‘Same problem. bp-language folder is lost.’
https://buddypress.org/support/topic/buddypress-2-1-bp-language/#post-197888
The ability to favorite is already available though
By the way:
What does ‘favorite’ mean here: To ‘favorite’ the activity? Or to ‘favorite’ the subject (author) of that activity?
What is within BuddyPress the difference between ‘friends’ and ‘favorites’?
As of BuddyPress 1.7, you no longer need to make a child theme of bp-default to make your changes.
Follow this guide:
Theme Compatibility – Customizing
This is an example of customizing the Twenty Twelve theme:
Twenty Twelve Theme
When sending a private message to someone you are given the option to add recipients to the conversation using the Sent-to field. When typing in that field it will provide a dropdown where you could select the user to populate the field with. This dropdown has stopped working.
I have had no updates. Still using Buddypress 2.1 and WordPress 3.9. I tested with all other plugins disabled, I’ve disabled and reenabled buddypress and tried with Theme TwentyThirteen.
Any suggestions?
Can we have create a group link added to buddypress menu? I tried to add this as a link to buddypress but when users log out, they still can see create a group and it doesn’t disappear when users sign out. It doesn’t ask the users to sign in to create a group.
Thanks!
I wish we have both the wall and the likes configured with buddypress out of the box. This would be a great and highly appreciated improvement.
Thanks!
Thanks, I did not noticed that on latest buddypress we can change profile pic (avatar) by default 🙂
I’m looking to do a similar thing and I’m looking in the codex and I noticed that in my Buddypress plugins folder there was no /plugins/buddypress/bp-languages, I am using a multisite install, does this change the process?
I can see the file in the original plugin folder I downloaded but it looks like it was removed when uploaded.
Is there any thing that I can do to change profile pics in Buddypress? Is there any plugin?
I can create a new group and also add fields to it(I can’t see how to display the new group in the rigistration form)
Only the ‘base’-group is currently displayed on the registration page. The other profile fields the user should fill in later (after registration). –
However, I would also prefer to place all field groups already within the registration page:
https://buddypress.org/support/topic/reshaping-the-registration-page/, section 4th.