@cambridge15 wp_dequeue_script( 'jquery' ); goes into your theme’s functions.php file but you need a bit more for it to work:
function my_dequeue_jquery() {
wp_dequeue_script( 'jquery' );
}
add_action( 'wp_footer', 'my_dequeue_jquery', 11 );
This is more than likely due to the function which is (for instance) clipping your images needs an older version of jquery.
When you placed the bootstrap (v3?) and included the jquery in the statement then it over-rides that which is included in the image crop function.
try including versions jquery, and you might want to also include googles jquery and then test.
ie.
include path/jquery.1.1.min etc
Please let me know if this was the issue.
Specifically add this one first, and then lets see if your problem quits:
(‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js’);
@henrywright-1 where did you use that? I think i’m having some of the same issues. Thanks for any help!!!
Hey @hugo
1. Lol! I’m lazy and a really bad designer!
2. You just answered my question with this! jQuery is enqueued but I seem to need the latest version. Not sure including jQuery twice done me any favours. Just used wp_dequeue_script( 'jquery' ); which solved my problem.
Thanks Hugo 🙂
Question is why on earth are you using bootstrap!
Second question is isn’t jquery enqueued anyway!
@kvschwartz
For option a) , put this:
define( 'BP_DEFAULT_COMPONENT', 'profile' );
in your bp-custom.php file.
I need to include jQuery so that Bootstrap’s JavaScript functions work. I can do this easily in the <head> section of header.php like so:
<script src="//code.jquery.com/jquery.js"></script>
The problem is, when I do this some functionality in BuddyPress stops working. A good example is the cropping feature when a member is attempting to change their avatar.
Hoping someone can suggest how to resolve this problem?
Hi there,
I would like to possibly use BuddyPress for a high school alumni association community.
We do not want to allow the general public into the community.
Is it possible to allow members of a certain FaceBook group to be able to login with their FaceBook logins, and grant them immediate privileges and force all other users to register and require approval for those other users?
Basically, we have a Facebook group running that people have to ask for access to, and we’d like them to be able to access the BuddyPress community without having each one of them have to create a new account.. any ideas for how to pull this off??
Thanks.
Thank you again for your posts and advice. It is very much appreciated.
I read more documentation and re-read your posts, and I have taken two steps so far, however I have hit a wall with what to do next.
Here is what I did:
1) Created a child theme following all instructions from the official WordPress Codex (https://codex.wordpress.org/Child_Themes), loaded the style.css file to my child theme’s directory, and successfully activated my child theme.
2) Made a copy of the parent theme’s “page.php” file and renamed it “buddypress.php” and placed it in my child theme’s directory.
For the next step, are you suggesting I only need to make some edits to the “buddypress.php” file until I achieve my desired results? I noticed in mercime’s post assisting the user in making the BP pages all have full width for my theme, that mercime recommended taking a copy of the “header.php” file and renaming it to “header-buddypress.php” as well as creating a new blank “sidebar-buddypress.php” file, and adding some code to each file. Do you think I would need to do something similar for my situation for having the right sidebar appear (versus having the pages be full width as mercime figured out?) Or would I only need to modify the one “buddypress.php” file to achieve my results?
Thank you again!
Hi all,
I am using BuddyPress User Account Types Lite to create different user account types.
I have a pet adoption site called http://adoptapet.ie. It allows Rescues/Pounds/Vets to upload the pets they have for rehoming. I created three user account types, Rescues, Pounds and Vets for this.
I have added all my various users to those account types, however, when I click into any of them, the URI always reverts to the default account type of Rescues. So, if I click on a Pound called Ashton Dog Pound for example, the URI will state adoptapet.ie/rescues/ashtondogpound as opposed to adoptapet.ie/pounds/ashtondogpound.
Does anyone know how to go about fixing this?
Cheers
Damien
Hello – I have my buddypress user bar and activity stream deactivated – is there a plugin or widget i can use to incorporate notifications? I’ve tried the ones that pop up first in google and for one reason or another, cannot use any of them.
Any help?
If you are referring to what the users see and not the admin like in your screenshot you can just target with CSS no need to use a function.
The CSS is:
#buddypress .standard-form .field_2 div.checkbox label
field_2 could be different depending on where you placed the checkboxes in the admin.
with this plugin i can display in the user buddypress profile a list with a link of all products published by author (not a posts!) … ty 😉
@karthiksanthanam error caused by BuddyPress Virtual Gifts widget plugin. Please contact plugin author about the error.
A partial solution is in the pipeline, although it hasn’t been added to core yet
https://buddypress.trac.wordpress.org/ticket/5042
If the user “second clicks” and they are logged in, they’ll be redirected away from the activation page. If they’re not logged in then they’ll see the activation key form thingy. Whilst not a full solution, it’s an improvement.
I have the same question as Ben.
I know we shouldn’t modify core files. I know there are .po and .mo files for translations. But creating an entire .mo file for only one ( 1 ) more translation is overkill ( since poedit doesn’t let you just “add” an entry to an existing .po file ). ( http://stackoverflow.com/questions/7680021/how-to-add-a-new-string-to-a-po-file-w-a-po-editor )
I have a third-party theme, and I’ve copied the buddypress folder in it. In members/ there is an “activate.php” file where I changed some text.
But the “Check Your Email To Activate Your Account!” is not in activate.php, nor register.php, nor anywhere else.
So, the question is simple: where is located the string “Check Your Email To Activate Your Account!” ?
( Let me guess something else: there is no translation in the official translation files for this specific string, maybe, because it just isn’t in the registration php files ? )
I think that’s what Ben wanted too.
This is probably a very silly question, but. How do I edit the text above the registration form. The bit that reads: “Registering for this site is easy, just fill in the fields below and we’ll get a new account set up for you in no time.”
I have tried editing both of these files (which contain the text) but it didn’t work:
- wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\register.php
- wp-content\plugins\buddypress\bp-themes\bp-default\registration\register.php
My general wordpress theme is a boilerplate, not sure if that makes a difference – very new to BuddyPress.
Thanks for any help.
Hi @corytrevor
Thanks you for the advice, very much appreciated.
I will try your suggested solution this evening.
Many thanks for your kind help.
Is it possible to get the search bar on the Buddypress Default Theme to find posts from all sites on a multisite network? An example of this is http://premium.wpmudev.org/project/global-site-search/
Thank you
Mark M
Hi,
I have modify the @azchipka ‘s plugin.
It’s work !!!
<?php
/*
Plugin Name: TCH BP Posts On Profile
Plugin URI: http://azchipka.thechipkahouse.com/services/technology/development/wordpress-plugins
Description: Adds a tab to Buddy Press User Profile displaying the posts they have published.
Version: 0.1
Author: Avery Z Chipka
Author URI: http://azchipka.thechipkahouse.com
License: GPLv2 or later
*/
// Make sure we don't expose any info if called directly
if ( !function_exists( 'add_action' ) ) {
echo '404';
exit;
}
define('TCH_PostsOnProfilesVersion', '0.1');
define('TCH_PostsOnProfilesVersion_PLUGIN_URL', plugin_dir_url( __FILE__ ));
function my_setup_nav() {
global $bp;
bp_core_new_nav_item( array(
'name' => __( 'Outils', 'buddypress' ),
'slug' => 'mes-outils',
'position' => 75,
'screen_function' => 'mes_outils_lien',
'show_for_displayed_user' => true,
'default_subnav_slug' => 'mes-outils',
'item_css_id' => 'mes-outils'
) );
}
add_action( 'bp_setup_nav', 'my_setup_nav', 1000 );
function mes_outils_titre() {
echo 'Mes outils';
}
function mes_outils_contenu() {
locate_template( array( 'members/single/outils/loop-outils.php' ), true ) ?>
<?php echo "TEST"; ?>
<?php
}
function mes_outils_lien () {
add_action( 'bp_template_title', 'mes_outils_titre' );
add_action( 'bp_template_content', 'mes_outils_contenu' );
bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
}
?>
Hello,
I try to change the sidebar on the default registration page.
Currently, the sidebar of this page it’s the same of page.php, but I want to put another.
I’ve try to make a page template based on page.php but with another sidebar , the problem is the registration field of buddypress does’nt appears.
Can you help me ?
Thank’s