Search Results for 'buddypress'
-
AuthorSearch Results
-
November 18, 2017 at 7:16 pm #269034
In reply to: Need to Export Profile Fields
Boone Gorges
KeymasterHi @barkins – BP doesn’t have a built-in tool for this (though it should – see https://buddypress.trac.wordpress.org/ticket/7393, https://buddypress.trac.wordpress.org/ticket/408). If you know that user IDs will remain the same between the local WP install and the live install, then you can do a simple database export/import, something like:
$ mysqldump -u db_user -p db_name wp_bp_xprofile_groups wp_bp_xprofile_fields wp_bp_xprofile_data > ~/xprofile-export.sql$ mysql -u db_user -p db_name < ~/xprofile-export.sqlIf the user names will not be the same, you’ll need to write a script to handle this, but the details will depend on how you plan to identify users (email address, etc).
November 18, 2017 at 10:26 am #269028naomibuch
ParticipantHello,
I am new to Buddypress and this is my first post, I am new to web development also, and my PhP coding is not all that great, my years as a software developer was strictly in a windows environment (vb.net and sql)
I developed my own website and I am using Buddypress as part of my social media for users to connect with each other.
I have spent endless hours researching a fix, and I have not been able to find anything php file that I can edit in File Manager to edit or remove the line of code.
When a user updates an Activity, it updates in three places:
1. The Activity Stream (which is what I want)
2. The Member’s Profile where the Activity tab was (now removed, which is what I want)
3. Under the Member’s profile cover, with that pesky “view link” (which I DO NOT want to show)And the “view link” is a bit buggy also, sometimes when a user clicks on it, it throws a 404 error, sometimes it opens up a blank page, and sometimes it opens up the recent activity that they posted in the Activity Stream.
Also in the members directory I have a button to send the user a private message whether or not they are friends.
When I click on a user name from the member’s directory, it take me to the compose a message like it is suppose to do, and the user name appears , but it does not save the user name in the send to box, do you have a fix for this also?
Thank you very much, a fix to these problems are greatly appreciated.
Naomi
November 17, 2017 at 10:47 pm #269017In reply to: Groups not displaying properly
writingbox
Participant2 weeks later, I’m still stuck with the same displaying problem. On the template creator’s forum, I asked the same question, and got this answer:
Any particular reason you’re using a top margin here?
body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content, body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions {
clear: none;
margin-left: 0;
margin-top: 225px;
max-width: 50%;
}It seems it’s a good clue to fix my problem, but here’s the thing: since I’m a newbie with CSS, I have no idea where to find these lines and modify them. I suppose I have to change “225px” to “0” — how/where can I edit this line?
Thank you very much for your help, much much appreciated!
November 17, 2017 at 7:30 pm #269012In reply to: Buddy Bar / Admin Bar only showing for admin
Boone Gorges
KeymasterBuddyPress generally shows the admin bar to all users, whether logged in or not. If it’s not showing, it’s probably due to a plugin or theme issue.
I’ve just downloaded the Point theme and I don’t see anything in the theme that would cause the admin bar to be disabled.
Perhaps you’re running another plugin that disables it? If you’re able to search your codebase, look for the string
show_admin_bar.November 17, 2017 at 7:25 pm #269011Boone Gorges
KeymasterHi @ankitjoshi11 – Check out the file buddypress/bp-friends/bp-friends-functions.php. The functions you’ll need are:
friends_add_friend( $initiator_userid, $friend_userid );which accepts a third
$force_acceptparameter which makes it unnecessary for user B to manually accept. If you want to handle acceptance separately, look atfriends_accept_friendship( $friendship_id );You can get the
$friendship_idfor two users withfriends_get_friendship_id( $user_a, $user_b );Good luck with your project!
November 17, 2017 at 1:38 pm #269001In reply to: BuddyPress email problem
shanebp
ModeratorYou can prevent auto-links in the profile areas.
You need to create a file called bp-custom.php and then add this function to it:
function remove_xprofile_links() { remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 ); } add_action( 'bp_init', 'remove_xprofile_links' );November 17, 2017 at 1:30 pm #269000In reply to: Can’t read forum posts
shanebp
ModeratorThese are the BuddyPress forums.
The bbPress forums are on another site.November 16, 2017 at 11:41 pm #268992In reply to: BuddyPress REST API development speed
Boone Gorges
KeymasterHi @wackao – Thanks for the post. I agree that the REST API could be a big driver for future adoption. (And I obviously agree that BuddyPress is a superior product to its competitors!) That being said, the BP team is a group of volunteers. The folks who build BP are professional and serious, but they work on projects that interest them, according to their availability. I personally would love to spend more time on the REST API, and hope to in the upcoming months, but if I can’t, it’s not an indication of lack of seriousness.
Anyway, the good news is that “the BP devs” is basically whoever decides to show up. If you have ideas for how the REST API could work – and better still, if you want to start contributing code via pull requests – you are very much encouraged to do so. More hands make for lighter work!
November 15, 2017 at 8:46 am #268971In reply to: Where’s the bbpress-Forum?
Nikelaos
ParticipantThank you for the link!
And – I’ve run a test and this brings up, that the mechanism described in https://codex.buddypress.org/translations/ seem to work not correctly. The .mo-file in the language/buddypress/-folder is only used if there’s no .mo-file in the language/plugin/-folder.
Greets!
November 15, 2017 at 8:32 am #268970In reply to: Cover Photo Issues
Nikelaos
ParticipantYes, I can upload an avatar image without problems (but I can remember, that’s I’ve has had a problem with this and the cover-image was loaded without problems) and I don’t use anything like Amazon S3 or CDN. In <wp-uploaddir, which is set in WP-config>buddypress/members/<userid>/cover-image I can find 5a057ea758c30-bp-cover-image.png, which is the image that I want to be the cover.
Thanks for your reply!
November 14, 2017 at 8:09 pm #268963In reply to: BP API Access
Boone Gorges
KeymasterHi @barkins – Unfortunately, BuddyPress doesn’t yet have a full set of CRUD endpoints for BP objects. The team is working on it, and we hope to start rolling out endpoints in the near future. BP-REST is the repo to follow for that.
BP will work fine with the default WP REST API, if all you want to do is access a list of users. However, WP’s user endpoint won’t include any BP data, and you won’t be able to modify/add user data via this endpoint. That said, if your needs are fairly narrow, you can definitely write your own custom endpoint for fetching/updating BP profile data – it’s likely to be much simpler than what’d be required in BP itself, if your needs are pretty specific. Here’s some docs: https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/
November 14, 2017 at 7:19 pm #268959In reply to: change profile fields to something else
Boone Gorges
KeymasterThe easiest way to customize things like this is by creating a child theme and overriding the template – in this case,
members/register.php. See https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/#child-themes for some information on getting started with child themes.November 14, 2017 at 6:58 pm #268956In reply to: Problem in mobile appearance with the toolbar line
Boone Gorges
KeymasterVery odd – it appears that this too is caused by your theme, as BuddyPress itself just inherits the mobile styling of the toolbar from WordPress (and the WP toolbar looks fine, as shown by your Dashboard screenshot). Try reaching out to the theme author to see whether they’re able to identify the problem.
November 14, 2017 at 2:46 pm #268953In reply to: user description in member list (fixed)
shanebp
ModeratorCreate a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.phpAnd place your code wherever you want in the overload.
bp_displayed_user_id()is incorrect in the context of the members loop.
Instead:$user_meta = get_userdata(bp_get_member_user_id()); echo($user_meta->description);Or instead of an overload, use this hook:
do_action( 'bp_directory_members_item' );November 14, 2017 at 12:58 am #268946modsterl
ParticipantI received a message from the theme owner:
Our theme automatically blocks access to /wp-admin section for regular visitors. This is for many reasons, users are supposed to manage their accounts from front-end using My Account page. If Buddpress plugin doesn’t have this possibility than you won’t be able to use it I’m afraid
————–
Now the question is whether buddypress is possible?
November 13, 2017 at 11:41 pm #268943In reply to: Add “back to forums” link to Member Profile pages
shanebp
ModeratorYou could edit a template.
If you are using profile cover images, editbuddypress\members\single\cover-image-header.php
Otherwise, editbuddypress\members\single\member-header.phpBut you can use a function instead.
Both the templates mentioned above have two action hooks:do_action( 'bp_member_header_actions' ); do_action( 'bp_profile_header_meta' );Choose the one that will place your button where you want it and write a function that adds the button.
November 13, 2017 at 9:50 pm #268940TreeTrail
ParticipantThankfully, yes I have resolved it …at least for my situation. It appears that this began, when BuddyPress updated to most recent, v2.9.2. I asked SeventhQueen for help and they advised to check for any template overrides in my child theme folder. So, yes I do have a modified “register.php” BuddyPress file. I downloaded a backup of the file and also renamed the current one as “_old”. Then I carefully copied out my modifications. Then I imported the whole updated “register.php” and re-did the custom modifications. Hope this helps.
November 13, 2017 at 5:42 pm #268937In reply to: BP API Access
barkins
ParticipantI did just find this plugin: JSON API User WordPress Plugin, https://www.parorrey.com/solutions/json-api-user/
Has anyone used it with BuddyPress? If so, how well did it work?
November 13, 2017 at 11:34 am #268934Peter Hardy-vanDoorn
ParticipantAdd this to your wp-config.php file before the line that says /* That’s all, stop editing! Happy blogging. */ or your bp-config.php file.
define( 'BP_ENABLE_ROOT_PROFILES', true );That comes from this page: https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/
Sometimes the person who knows the answer simply doesn’t see the post 😉
November 9, 2017 at 11:17 am #268904In reply to: Click on member go to profile
autox420
ParticipantFound a solution.
functions.php
if( !defined( 'BP_DEFAULT_COMPONENT' ) ){ define( 'BP_DEFAULT_COMPONENT', 'profile' ); } function bp_remove_profile_tab_activity(){ bp_core_remove_nav_item( buddypress()->activity->id ); } add_action( 'bp_setup_nav', 'bp_remove_profile_tab_activity', 999 );November 9, 2017 at 5:47 am #268901Collins Agbonghama
ParticipantWe’ve used BuddyPress internally at my company and for client’s over the years and it has worked fine.
If you want a Good UI/UX, get a premium buddypress theme. Check the folk at BuddyBoss.P.S Made WordPress Email Opt-in and User Registration & Profile plugins.
November 9, 2017 at 5:36 am #268900Collins Agbonghama
ParticipantWe’ve used BuddyPress internally at my company and for client’s over the years and it has worked fine.
If you want a Good UI/UX, get a premium buddypress theme. Check the folk at BuddyBoss.
P.S Made WordPress Email Opt-in and User Registration & Profile plugins.
November 8, 2017 at 2:52 pm #268893In reply to: Profile buttons not working (fixed)
louisarthur
ParticipantThank you very much @boonebgorges !
Finally found the faulty plugin: Paid Memberships Pro – BuddyPress Add On
Just have to check that my Buddypress is still correctly locked down without it !November 8, 2017 at 1:59 pm #268891In reply to: Profile buttons not working (fixed)
Boone Gorges
Keymaster@louisarthur – Thanks for sending me credentials. I’ve logged into your site to have a look.
As you note in your email, there’s no
hrefattribute on these links. It’s not clear to me how this would be the case, but I can give you a starting point for looking into it yourself. Briefly, the buttons will be built without anhrefif the button constructing function passes an emptylink_hrefparameter to theBP_Buttonclass. The functions used in the two cases are different:Message public: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-activity/bp-activity-template.php?marks=3090#L3079
Message privé: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-messages/bp-messages-template.php?marks=1362#L1360
The logic in each case is different, but since neither is showing up, I’m guessing that one of two things is happening:
1. One of the conditional checks shared between them is failing for some reason:
bp_is_my_profile(),is_user_logged_in().2. Something on your installation – perhaps your theme but probably a plugin (since you said Twenty Seventeen was exhibiting the problem as well) – is filtering both ‘bp_get_send_private_message_link’ and ‘bp_get_send_public_message_link’, and then incorrect returning empty strings.
To test idea #2, you might try – if you can – searching through your codebase for those filter names.
November 8, 2017 at 9:27 am #268888In reply to: Lightbox plugins not working on profile avatars?
Carsten Lund
ParticipantHi Boone, thank you very much for clarifying about avatars.
Here are the lightboxes I have tried so far:jQuery Colorbox
WP Colorbox
WP Lightbox 2
ARI Fancy Lightbox
Responsive Lightbox
Simple Lightbox
Wp Lightbox Bank Standard EditionGenerally, an option for choosing avatar sizes in BuddyPress would be much appreciated!
Regards
Carsten -
AuthorSearch Results