-
Henry replied to the topic Including jQuery causes some BuddyPress functionality to stop working in the forum How-to & Troubleshooting 11 years, 1 month ago
@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 ); -
Henry replied to the topic Including jQuery causes some BuddyPress functionality to stop working in the forum How-to & Troubleshooting 11 years, 1 month ago
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 🙂
-
Henry started the topic Including jQuery causes some BuddyPress functionality to stop working in the forum How-to & Troubleshooting 11 years, 1 month ago
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…[Read more]
-
Henry replied to the topic Activation email – second time round causes error in the forum How-to & Troubleshooting 11 years, 1 month ago
The activation form is there mainly to give website admininstrators the ability to activate users accounts manually. So, removing the form won’t cause any problems.
One issue with the text you’ve added to the page – keep in mind any logged out website visitor viewing the activation page will see that text – so “your account has…[Read more]
-
Henry replied to the topic New User Activation in the forum Creating & Extending 11 years, 1 month ago
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…[Read more]
-
Henry replied to the topic [Resolved] Show posts written by user on profile in the forum Creating & Extending 11 years, 1 month ago
@hughshields have you thought about a CSS solution?
#posts-personal-li {
display: none;
}#edit-personal-li {
display: none;
} -
Henry replied to the topic [Resolved] Show posts written by user on profile in the forum Creating & Extending 11 years, 1 month ago
@fitnessblogger when @azchipka says adjust the path in the plugin to achieve /author/username I assume that means just getting rid of /posts/? I’m not familiar with the plugin. @azchipka should be able to help with specifics.
If you just want to show posts on a BP profile then my code should…[Read more]
-
Henry replied to the topic [Resolved] Show posts written by user on profile in the forum Creating & Extending 11 years, 1 month ago
@hughshields If you’re just getting started with PHP and prefer a plugin, try BuddyBlog – http://buddydev.com/plugins/buddyblog/ and Simple Front End Post http://buddydev.com/plugins/bp-simple-front-end-post/
You can let your members blog directly from their BuddyPress profile. A list of posts on profile comes as standard too.
-
Henry replied to the topic Upload Avatar on register page. in the forum How-to & Troubleshooting 11 years, 1 month ago
This could be something in your theme conflicting with the jCrop script.
-
Henry replied to the topic New member not being added to members area in the forum Installing BuddyPress 11 years, 1 month ago
Has that person activated their account? Until they have, you’ll see them in the admin area only.
-
Henry replied to the topic [Resolved] Show posts written by user on profile in the forum Creating & Extending 11 years, 1 month ago
@fitnessblogger you’d add it to the members/single/profile.php file
Make sure you include the opening and closing PHP tags or it won’t work
<?php and ?>
-
Henry replied to the topic Avatar not cropping properly in the forum How-to & Troubleshooting 11 years, 1 month ago
Try deactivating all of your plugins
I can see you’re running lots! I reckon there is some sort of conflict happening which is causing problems with jCrop (the cropping function BP uses to crop avatars).
Also try reverting to the default theme.
The best way to tackle this problem is to narrow it down. Gona be tedious but this will likely…[Read more]
-
Henry replied to the topic [Resolved] Show posts written by user on profile in the forum Creating & Extending 11 years, 1 month ago
The way I would show posts on a BuddyPress profile would be like this:
[Read more]
$args = array( 'author' => bp_displayed_user_id(),
'post_type' => 'post'
);
query_posts( $args );
if ( have_posts() ) : while ( have_posts() ) : the_post();
// do something amazing
endwhile; else:
// no posts found so do something less… -
Henry replied to the topic Avatar not cropping properly in the forum How-to & Troubleshooting 11 years, 1 month ago
Which theme are you using? Also, do you know if you’re including jQuery more than once?
-
Henry replied to the topic Avatar not cropping properly in the forum How-to & Troubleshooting 11 years, 1 month ago
Have you modified the change-avatar template in any way?
-
Henry replied to the topic Enable BuddyPress to WordPress profile syncing in the forum How-to & Troubleshooting 11 years, 1 month ago
Spent the last 30 minutes doing some digging and found an old thread with a detailed explanation from Boone:
https://buddypress.org/support/topic/please-help-me-understand-a-wordpressbp-feature/#post-97470As far as I can tell, two functions perform the ‘syncing’ of data
xprofile_sync_wp_profile()
Syncs Xprofile data (nickname, first name and…[Read more]
-
Henry replied to the topic Enable BuddyPress to WordPress profile syncing in the forum How-to & Troubleshooting 11 years, 1 month ago
@hnla – not quite sure I follow…?
-
Henry replied to the topic BP template hierarchy Codex article in the forum How-to & Troubleshooting 11 years, 1 month ago
Will keep that in mind, thanks @bphelp
-
Henry replied to the topic BP template hierarchy Codex article in the forum How-to & Troubleshooting 11 years, 1 month ago
@bphelp thanks, I was going to do that but wanted to make sure it was a typo before updating. Didn’t want to dive in and change something that could have been right already 🙂
-
Henry replied to the topic BP template hierarchy Codex article in the forum How-to & Troubleshooting 11 years, 1 month ago
I thought that is what could have happened 🙂
- Load More
@henrywright-1
Active 9 years, 10 months ago