Search Results for 'buddypress'
-
AuthorSearch Results
-
May 30, 2017 at 11:27 pm #266207
shirleyddsn
ParticipantUPDATE: I found this topic -> Editing BuddyPress Core Files Within Child theme That suggested that I should have a
buddypressfolder inside my child theme directory, and that all my copied files should go in THERE! I made the change, but I still can’t update any of the actual files. I tried my PIZZA HUT test again, but this time nothing flashed on the screen. So I guess that’s not it?BTW – I’m just going to keep posting updates as I go so that when someone shows up, they’ll have current information on what I’ve tried. Maybe save some time that way.
May 30, 2017 at 10:49 pm #266206shirleyddsn
ParticipantSide Note:
I dont know if I can/should ask this here, or if it should be a different post, but I’m trying to make changes to the buddypress templates in my child theme, and it seems that I’m not allowed (?!) to make changes to the actual templates?For example, I was trying to make changes to cover-image-header.php just to see if I can. I wanted to add “Last Active:” just before the function that lists when the member was last active. Just to see if I could. When I refreshed the page, I thought I saw for a brief second that it did in fact say “Last Active:”, before it disappeared and just showed the original content again. To make sure it was actually my code and not a glitch, I repeated the process but replaced LAST ACTIVE with PIZZA HUT. Just to make sure it was actually me. Refresh -> Pizza Hut flashed. Yup, it was me. But why wont the code stick? Could it be my child theme document tree isn’t right? Or do I need to add some code somewhere so that changes in my child folder override files in the original buddypress folders?
When I copied my files over, I group selected the folders in
plugins/buddypress/bp-templates/bp-legacy/buddypressand copied them all over tothemes/my-theme/buddypress. Am I missing a folder or something?Also: I figured out the concept behind
add_actiontacking on instructions to ado_actionfunction. But where do theDO_ACTIONfunctions live? And am I able to modify those? I would like to add some font-awesome icons to the front of my profile menu links the way we have here, but I can’t find the code that spits out the information.May 30, 2017 at 6:27 am #266179In reply to: Are there news about how to change FRIEND slug?
giuseppecuttone
ParticipantHi @henrywright
thanks for your reply.
Ok, at this time we need define it constantly…
But maybe, it will be great know from buddypress developer if there is in thear BUDDYPRESS WORK PLAN a task for to make a FRIEND PAGE (just like GROUP PAGE, or MEMBERS PAGE).
I do not know if you are a buddypress developer, or if you are in contact with them.
Do you know if there is a public docuemnt with BUDDYPRESS WORK PLAN?
Thanks for your support.May 28, 2017 at 2:51 pm #266170nikitagrimm
ParticipantOk there, I finally figured out the problem. It turns out that the
is_email()function built into WordPress is extremely slow and takes around 6 seconds to compute. Since Buddypress used the function quite leisurely, the amount of time it took to send emails ended up being quite long.Unfortunately a simple filter wasn’t enough, as WordPress was still processing the old function. I have removed the function and the problem is therefore “fixed”. Actually “applying a bandaid” is the more appropriate term here.
I’m going to report a bug to WordPress asap now. Thanks for your attempts at helping me though! However, if you do have an idea why the function is so slow I would be very glad to hear it!
May 28, 2017 at 12:26 pm #266169In reply to: BuddyPress Features?
Henry Wright
ModeratorWith reference to point 2, bbPress works very well with BuddyPress. It’s actually a sister project so you can be sure of compatibility.
May 27, 2017 at 4:31 pm #266156Mauricio
ParticipantI have moved to Https, but I don’t have problem with old content, NEW content image are shown as http in buddypress.
The solution I found was to use a plugin: SSL Insecure Content Fixer. I don’t know what it does but solved, the strange thing is that I’m actually using https for WordPress site.
Secure provided by cloudflare
May 27, 2017 at 4:16 pm #266155r-a-y
KeymasterThe problem is BuddyPress initially records the activity item from whatever protocol that the site is running in.
So let’s say I’m posting at
http://example.com, BuddyPress would record any uploaded content usinghttp.It sounds like you have moved to
https, so these older activity items would still usehttp. I would probably recommend forcing your site to always resolve tohttps, then future activity items should always usehttps.As for older content, you would need to filter the activity content and replace older
httpinstances withhttps.May 27, 2017 at 4:06 pm #266152In reply to: Fatal error: Class ‘BP_XProfile_Data_Template’ not f
r-a-y
KeymasterDownload and unzip a fresh version of BuddyPress to
wp-content/plugins/buddypressto ensure that you have all files and not a corrupted install.If you are using a caching plugin, you would also have to purge your cache. You shouldn’t cache the registration or activation pages anyway.
May 27, 2017 at 3:59 pm #266150r-a-y
KeymasterI’ve noticed similar things myself.
Can you see if the following helps?
Add this code-snippet to wp-content/plugins/bp-custom.php file?
remove_filter( 'bp_email_get_property', 'bp_core_deprecated_email_filters', 20, 4 );remove_action( 'bp_send_email_success', 'bp_core_deprecated_email_actions', 20, 2 );May 26, 2017 at 10:43 pm #266146In reply to: Some Unique Slugs
Henry Wright
ModeratorI believe there’s some slugs still hard coded. Take “change-cover-image” for example, here’s where it’s specified in the code base:
You’ll notice it isn’t filterable or override-able.
May 25, 2017 at 3:21 pm #266131In reply to: get member type broken
_natty_
Participantthanks a lot but this was already tested with no result!
or better, same result! same id! on the context! i try to give a full vision of my site conf:on bp-custom on buddypress folder ive this:
function using_mt_register_member_types() { bp_register_member_type( 'Problem solver', array( 'labels' => array( 'name' => 'Problem solvers', 'singular_name' => 'Problem solver', ), ) ); bp_register_member_type( 'Entrepreneur/policy maker', array( 'labels' => array( 'name' => 'Entrepreneur/policy makers', 'singular_name' => 'Entrepreneur/policy maker', ), ) ); } add_action( 'bp_init', 'using_mt_register_member_types' );then in my plugins ive active “Member Type Field for Buddypress XProfile”
and in mine xprofile field ive one setted to select the user type during registration by users. it show my option described above!then on the same bp_custom file for building a “conditional menu” ive this snippet of code:
function add_break_in_tabs() { if ( !function_exists( 'bp_get_member_type' ) ) { require_once ABSPATH . PLUGINDIR . 'buddypress/bp-members/bp-members-functions.php'; } $user_id=bp_displayed_user_id(); $user_id2=get_current_user_id(); $tipo=bp_get_member_type(); echo $user_id.$user_id2;---->SAME RESULT SHOWED! echo $tipo;--->NOTHING TO SHOW var_dump($tipo);---> BOOOL FALSE ....On the user’s list i can set type for each user.
On registration i can see and select the type.
On Xfield definition ive no option to select but the option showed in the registration form are correct!thanks a again to any contributor
May 24, 2017 at 11:30 am #266113In reply to: How buddypress manages WPML urls
Slava Abakumov
ModeratorI believe you should check WPML plugin docs.
https://wpml.org/documentation/related-projects/buddypress-multilingual/ (note the links of required things at the bottom of that page)
This search page can be related as well: https://wpml.org/?s=buddypress
May 23, 2017 at 5:11 pm #266105In reply to: Where is /bp-templates/bp-legacy/buddypress/ ?
lordmatt
ParticipantAh, yes. I’ve found it. It contains 166 files. None of which make it readily apparent (for someone who is not familiar with the internals of BuddyPress) what part they play in the overall process. Is there any documentation for this glut of files?
For example, if I want to make a new layout for a profile, which files do I need to change?
Do I need to keep the directory structure inside the legacy folder exact or is it somewhat forgiving?
All I want to do is customise my site and make it look nice and after six weeks all I have is a growing list of reasons why I wish I never started. Not that any of that is necessarily your fault or problem – I’m just feeling increasingly depressed with the whole project. I’ve written more than one custom CMS from scratch and I know this should not be as hard as I am finding it.
Anyway, enough of my waffle. Please point me at the documentation.
May 23, 2017 at 10:38 am #266097In reply to: BuddyPress Newsletter relaunched
Slava Abakumov
Moderator#BuddyPress Newsletter #32 – lots of interesting plugins. Yeah, a bunch of them.
May 20, 2017 at 4:55 pm #266073May 20, 2017 at 1:59 am #266066In reply to: redirect to members
metalhead
ParticipantSorry if you already tried this, but let me suggest:
Rename the Buddypress folder – it will disable the Buddypress plugin.
If Buddypress is causing the problem, this should at least let you get back into your dashboard.
Assuming this is the case, then you will be able to delete Buddypress the proper way, via “Plugins.”
May 20, 2017 at 1:26 am #266063In reply to: How can I change the image path?
metalhead
ParticipantRead this conversation in its entirety.
The plugin author was kind enough to guide me through the process of making that work. If you follow those instructions, your users will be able to upload their profile photo during registration.
Although this method works, it causes a slight problem: The users won’t be able to update their photo in the future, because the default Buddypress “Change avatar” function refers to a different file, or location, than the xprofile custom fields type location.
If you find a way to fix that problem, please let me know.
May 20, 2017 at 1:12 am #266062In reply to: Private BuddyPress Site
metalhead
ParticipantThere is a plugin called BP Simple Private that allows you to restrict access to all Buddypress pages to logged in users only. Then, if people try to visit Buddypress pages after you install the plugin, they will get redirected to the home page.
But if I’m understanding you wrong – and you want to have a separate site just for your buddypress groups, then I will recommend setting up WordPress Multisite.
And if I’m understanding you right – which bells and whistles do you want to disable? I’ve disabled a few things with CSS & PHP hacks – but like what do you want to see gone?
May 17, 2017 at 12:28 pm #266038In reply to: Hide nav bar on profile
threwthenevr
ParticipantFound the solution to that last post
#Profile-cover-inner. Will only take out the actual pic.This will get ride of the Avatar and profile cover container,
Added to style.css.buddypress div#item-header { display: none !important }But I think I’ll add a toggle the container to switch it on or off. I will need to research how to do that.
May 17, 2017 at 11:27 am #266037In reply to: BuddyPress Newsletter relaunched
Slava Abakumov
ModeratorBuddyPress Newsletter #31 – tips and tricks, bbPress, new theme and other things!
May 16, 2017 at 10:14 pm #266029In reply to: REST API design
shanebp
ModeratorDesigning endpoints is perhaps the major issue for this API and the subject of much discussion.
I would encourage you to use the Issues tab on the repo:
https://github.com/buddypress/BP-RESTThere is also a BuddyPress Slack channel. From the repo readme:
Weekly BP REST API dev chat are held on Wednesdays at 22:00 UTC in WordPress Slack channel #buddypressMay 16, 2017 at 8:09 pm #266025In reply to: Hide nav bar on profile
Henry Wright
ModeratorThe easiest way to do this is to edit the home.php file. You’ll need to comment out
bp_get_displayed_user_nav()and the related markup.Ref: your-child-theme/buddypress/members/single/home.php
May 16, 2017 at 10:08 am #266018In reply to: Photo media file compression
alancr
ParticipantHi, i was thinking of using the plugin bb media for the users to upload numerous photos to their profiles. As i think with buddypress and bb press the profile only allows one main photo.
Ultimately I would like the users to have a main photo and then their own private photo gallery which other users can see all their profile and gallery photosMay 15, 2017 at 9:57 pm #266011In reply to: Group header file problems
David Cavins
KeymasterI think I finally understand what is going wrong here. If you pass a bad group object to
bp_group_has_moderators()or don’t pass a group object and the global$groups_template->groupisn’t set, this error can occur.If you’ve had this problem, can you please respond telling me what theme you’re using? Furthermore, look in your theme where
bp_group_has_moderators()is called, and tell me if it’s being called with a$groupargument (likebp_group_has_moderators( $group_object )) or without an argument (likebp_group_has_moderators()).Do you also see an entry in your error log like the following or not?
Trying to get property of non-object in /Users/dcavins/Sites/develop.git.wordpress.org/src/wp-content/plugins/buddypress/src/bp-groups/bp-groups-template.php on line 2576Thanks for your help,
-David
May 15, 2017 at 7:13 pm #266007In reply to: Notification to all users at bottom of the page
@mercime
Participant@vanessenstudio Given the screenshot, I can only guess that your theme’s stylesheet is missing lines 601 through 614 which are necessary to move the notice to the top of the page.
-
AuthorSearch Results