Perhaps the closing php tag after endwhile. Remove ?>
<?php endwhile;
// User filtering.
$user_id = bp_displayed_user_id()
? bp_displayed_user_id()
: false;
Note that you’re hacking a core file and that customization will be lost at next bp update.
Never do that.
That said i doubt that your like button will work on BP activities. That button is made for wordpress, not BP.
Try better this plugin which is more appropriate imho.
https://wordpress.org/plugins/buddypress-like/
Hope everybody is doing well.
Im having trouble using a plugin. The plugin is by likebtn.com and allows me to sort activity by most liked content. However it requires modifying a bit of code and im having quite the difficult time. I have tried pasting this line of code into a few different files. Currently im trying to paste it into ‘public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php’. When i try to include it into the PHP file the activity page breaks and a syntax error appears saying there was an unexpected ‘<‘ at the top of the new code. Here is where i pasted the code and the instructions provided by likebtn.com
function bp_has_activities( $args = '' ) {
global $activities_template;
// Get BuddyPress.
$bp = buddypress();
/*
* Smart Defaults.
*/
//Filtering by Likes.Custom Code.
<?php query_posts($query_string . '&meta_key=Likes&orderby=meta_value&meta_type=numeric&order=DESC'); ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
// User filtering.
$user_id = bp_displayed_user_id()
? bp_displayed_user_id()
: false;
https://likebtn.com/en/wordpress-like-button-plugin#sort_posts_by_likes
I am aware that there are numerous threads about impoting/exporting CSVs. I wasn’t able to find a good plugin for importing xProfile data specifically.
Thanks to Ruby @rubyji I was able to find this plugin
that exports the user’s xProfile data . . .
But wasn’t able to crack the issue of properly importing. I would like to avoid phpMyAdmin and SQL as it seemed a bit complex. Some day I’d love to learn it but not for this project.
Thank you in advance for any direction or plugin guidance.
-Graham
I’m not aware of any plugin that offers a feature to remove the activation URL. You would instead have to delete the user/signup record entirely.
https://wordpress.org/plugins/unconfirmed/ might help.
@djpaul – Thanks for getting back to me with these additional steps. I have tested this now with removing the plugin iThemes Security and Welcome Pack. I also set a default WordPress theme.
Unfortunately it did not resolve the issue as the user still get’s directed back to the home screen after the submit the register page.
Any other ideas?
Why is there a plugin available for install in the subscriber dashboard’s wordpress news?
What happens if the subscriber clicks on install?
How can I get that out of the dashboard?
Can I remove the WordPress News? That’s unnecessary and irrelevant to my content.
Thanks.
Bill
keywestdiet.com
I have been racking my brains out trying everything I know of to fix the issue I am having. First off let me say that I have been over a 1000 sites using wordpress so I am well aware of all the tricks to troubleshoot. Not saying i know everything because if I did I would not be here. 😉
Now I have WordPress 4.5.2 (tried upgrading to 4.6 as well at some point on a cloned server)
Running 4.5.2 of wordpress, Avada 4.0.3., BuddyPress 2.6.2
I can add a cover image to the profile and to the groups but it does not appear. There is a button to click to delete the cover for profile and groups and when I click the Delete cover button the screen displays a message that the image was removed. When I upload cover images I can see a rectangular grey background where the image should be yet the image does not show. I then inspect the area where the image should be and I find style that shows the url for the image that should be showing. I take that url and paste it into a browser and I get a 404 message. I then check through cpanel file manager and ftp and see that the images is sitting exactly where the url points to. I tried changing the permissions as well to 777 on everything such as the image and all the sub-directories leading up to the image. Still no display of the covers. Strangely though, if I click on the link in my buddypress navigation called “Media” I see the cover image only on that page/link. No other buddypress nav item, when clicked, shows the cover image for the user. The “Media” link in the buddypress is part of the rtmedia plugin. Of course I disabled that plugin to see if that was causing the cover image not to show but it was not the cause.
At some point disabled every single plugin ever installed except of course the core buddypress plugin. The cover image never displays for either profile or groups.
I then changed the theme from Avada to anyone of the default “Twenty” themes and the same issue, no covers showing.
When I first discovered the issue I was running 4.5.2 of WordPress and Avada 4.0.2. I cloned the entire site and put it onto a new subdomain just to test upgrading the WordPress and Avada. Same issue with no cover images displaying.
I have never been able to display the cover image with this site. It is a development site waiting to go live once I get the issue with the covers showing.
Please don’t double post on this forum.
You activated BuddyPress Custom Profile Menu plugin and got a fatal error. Remove it or rename his folder via FTP, so you can access your dashboard again.
Then contact the plugin author.
Since 2.6, BP use a new navigation API. Maybe the plugin isn’t updated for that or there is another conflict with your theme.
You have to debug.
And read also here please.
I’m using photos for cover images for BuddyPress groups. The images don’t appear in the media library, so I’m not sure how to set the attribution for the photos. I would be grateful for help with this.
I’m setting up a new BuddyPress site using the Boss theme on WordPress 4.6
Hi @dnicu26
I can’t immediately see why that should be stopping the emails. Can you remove the snippet and test again, see if the emails resume sending?
Are you talking about the plain text email that you get from WordPress that says something like a “new user registered on your site”? I assume this has always worked in the past — how many such emails have you received? 10s? 100s?
Can you also please check your spam folders in your email?
Finally, are you using Multisite or regular WordPress?
You may want to look at creating member types. Then you could add the meta as a div class and style them via css:
Member Types
https://gist.github.com/imath/3a5c5ade44eae997fdfd
If you don’t have the ability to code or hire someone that does you may want to try some of the member type plugins out there:
BuddyPress Member Types
https://wordpress.org/plugins/bp-member-type-generator/
Hey @idichoo,
It’s awesome you’d like to help with BuddyPress translation! Happy to help you get started with translating on http://translate.wordpress.org. I’m Petya on wp Slack.
If you’d like to get started on your own, this is the best page: https://make.wordpress.org/polyglots/handbook/about/get-involved/first-steps/
BuddyPress could use a Project Translation Editor for Chinese as well, so if you’d like to become one, you can post a request on https://make.wordpress.org/polyglots and we’ll put you in touch with the Chinese General Translation Editors so they can add you as a project maintainer.
P.S. If you’d like to help the team with something quick, you can give us a hand with translating the WordPress 4.6 release video to Chinese! http://www.amara.org/en/videos/HD0Z715enyuZ/id/1429554/
If you want to replace the activity post with recipes instead (eliminating the default ‘activity’) you could change the label of activity to “recipes” using this guide from the codex:
Change “Activity” component’s name and slug to something else.
If you want to keep the activity updates, and add a separate form for recipes, you will probably need to explore Custom Post Types. You’ll need to register a post type called Recipes.
These might help:
https://codex.wordpress.org/Function_Reference/register_post_type
http://www.wpbeginner.com/wp-tutorials/how-to-create-custom-post-types-in-wordpress/
Then add it to the activity stream as a registered activity:
Post Types Activities
Users would need to use the dashboard to create a recipe update in this model, unless you created a front end recipe posting system using something like Gravity Forms:
https://gravitywiz.com/use-gravity-forms-to-create-user-submitted-posts/
There is now a plugin that allows you to easily add a new tab to the user profile page: https://wordpress.org/plugins/buddypress-custom-profile-menu/
Full disclosure: I am the plugin author 🙂
Forget it, it’s not possible or at least complicated See here why.
If you’re a coder, you could evtl. try this solution.
Hi-
Sorry for the slow reply, but here’s an update.
Since I posted the above, we’ve upgraded to WordPress 4.6. Also tried to upgrade BuddyPress again with the same result.
We’ve run this with the debug settings activated in the wp-config.php file but have received no error messages. Nor either in the wp-content/debug.php file, nor in the server’s php_log.
Thinking incompatibility issue with other obsolete plugins…testing now…will report…
Thanks!
I recently decided to completely restart my site, so I uninstalled wordpress and re-installed it. I installed buddypress and enabled the activity component. The page buddypress rendered is blank. It just says ‘Activity’ on-top. No activity is listed, even when activity is posted. I am trying to find the ‘Site-wide activity’ functions.
Buddypress only renders two pages when I install it. “Activity” and “Members”. I am running only the lastest version of buddypress and wordpress.
Anybody know what the issue could be :/ I searched long and hard before posting.
I’ve created a theme for WordPress + BuddyPress (almost ready) and will be hosting on Github soon for people to download.
Is there anyone here who would be interested to use this?
Initially I thought there was a need for a free BuddyPress theme but so far the amount of interest has been quite minimal.
Anyway, check it out http://buddycore.com/ you can register and you could help shape the first release of the theme if you are interested.
Thanks http://buddycore.com/register
I should add that you can upload your own logo and change the colours in this theme to match your community.
Not out of the box.
By default, a wp site is managed by roles.
Site admin, editors and so on…
https://codex.wordpress.org/Roles_and_Capabilities
Members management, including registering new user directly on admin dashboard (outside of the normal registering process) is only allowed for site admins and editors.
Another solution could be to use some conditionnal fields with help of a plugin. But before giving more information for that, please give more details about what you plan exactly and the context of the site.
For example, why must the teacher register his students ? Sounds a bit strange to me.
I’m unable to reproduce this issue on a single install.
– registered using alex@test.com as username and alex as name (BP’s name field)
– on his profile, aside the header avatar i see @alextest-com
Any member links works as expected.
Tested also on MS. Trying to register alex@test.com brings the following error msg:
Usernames can only contain lowercase letters (a-z) and numbers.
Is correct too and expected for usernames on a MS install. (see #17904)
Do you use custom code, login or social plugin related to login ?
What is your theme ?
Have you tested with a Twenty theme and all plugins deactivated ?
Most probably, you have to search about buddypress on the plugin repo:
https://wordpress.org/plugins/search.php?q=buddypress
No theme has a child theme. It’s to you to create one. That’s necessary if you whant to add custom style without loosing it at next update.
Sorry i don’t read chinese, but you’ll probably find some guidance on chinese WP codex
https://codex.wordpress.org/zh-cn:Main_Page
I have an issue that only exists on BuddyPress on WPEngine:
When sub-comments are made in a BuddyPress group – and if the page is refresh, clicking delete on that subcomment gives me a 404 page, and reply does not work on subcomments either.
I made a screencast video demonstrating it: https://youtu.be/zkoGfzkN66w
The important things are:
* It needs to be a group subcomment – not just a comment.
* It needs to be a fresh reload of the page – just added the subcomment and deleting it without refreshing wont produce the issue.
The page I used in this video demo is: http://apoliticalcopy.wpengine.com/groups/test-group/
Unticking the Auto-refresh checkbox in buddypress options seems to make both work again, however when I select to delete a subcomment and there are multiple subcomments to it, it will either delete all subcomments, or all subcomments below on the same main comment.
Neither of these are solutions, and WPEngine say, that I should get in touch with you guys.
Please help.
Latest WordPress, Latest BuddyPress.
(P.S. It works on all simpler hosts like bluehost, pagely, hetzner, but client wants WPEngine)