Search Results for 'buddypress'
-
AuthorSearch Results
-
May 25, 2017 at 3:21 pm #266131
In 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.
May 15, 2017 at 1:49 pm #265997In reply to: Buddypress 2.8.2 destroys Yoast XML Sitemap
fewclicks
ParticipantI have deactivated all plugins (except of Yoast of course :P) and reactivated them one by one. The Error occurs as long as BuddyPress is activated.
May 15, 2017 at 12:53 pm #265994In reply to: Buddypress 2.8.2 destroys Yoast XML Sitemap
Henry Wright
ModeratorMy guess is there is a php closing tag followed by a newline in one php file.
This is likely the cause. The next step is finding where. How do you know it’s a BuddyPress issue?
May 15, 2017 at 12:53 pm #265995In reply to: Anyone, how do I find true BuddyPress themes?
vanessenstudio
ParticipantI would check out https://themeforest.net/search?term=buddypress
This will show all the premium themes that are made for buddypress.I’ve had some good experience with buddyboss.
May 15, 2017 at 11:03 am #265990In reply to: Adding a tab to profiles
ripulkr
ParticipantBuddyPress themes are basically WordPress themes. Technically all themes “should” be compatible with BuddyPress.
If you’re looking more into template overriding then check the documentation link above.Try this : https://themeforest.net/item/kleo-pro-community-focused-multipurpose-buddypress-theme/6776630, https://themeforest.net/item/wplms-learning-management-system/6780226 , https://themeforest.net/category/wordpress/buddypress
Regarding your question :
Check existing topics in this forums, this has been answered several times.May 15, 2017 at 10:59 am #265989In reply to: Extended profile field’s value meta_key would be?
Henry Wright
ModeratorYou can get the value of an xProfile field in BuddyPress quite easily but you will need to use code. Take a look at this article to get started:
May 14, 2017 at 5:32 am #265975In reply to: Profile Page Layout
metalhead
ParticipantThanks.
Based on that info, I decided I need to add an index.php to my /single/ folder. I created the file, but I’m not sure what to put in it.
Can you give me an example of what I can do? Or link me to a page with further explanation? I tried googling “custom buddypress template,” but I don’t even know if my search query is correct.
I’m ready to hire a dev for this, but how will I explain to them what I need done? Something like this:
“I use Buddypress, and I need a custom template for my member pages. I need you to customize my index.php file located in my /single/ directory, so that it will display specific widgets in 2 or 3 column mode.”
I tried asking a dev about that already, but he doesn’t know what I’m talking about. Is there a better way to describe it?
May 12, 2017 at 1:03 pm #265944In reply to: Company pages – like Linkedin and FaceBook
Henry Wright
ModeratorThis isn’t possible in BuddyPress “out-of-the-box”. You’ll need to find a plugin or introduce some custom code.
May 12, 2017 at 1:02 pm #265943In reply to: Where is /bp-templates/bp-legacy/buddypress/ ?
Henry Wright
ModeratorYou should have them in your plugin folder. Try looking here wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress
May 12, 2017 at 12:58 pm #265942In reply to: Anyone, how do I find true BuddyPress themes?
Henry Wright
ModeratorYou can check if either of these two directories exist inside the theme:
- buddypress
- community
If either of these exist, the content inside is specific to BuddyPress and will likely be custom.
May 12, 2017 at 12:34 pm #265940In reply to: How to hide Buddypress for visitors ?
vanessenstudio
ParticipantWithout code it might be a bit more work but definitely doable.
If you want most of your site blocked off for non members you could use a plugin like BuddyPress members only
For specific blocking of pages, I would use the buddypress settings in combination with Advanced Access Manager
the latter will allow you to be very narrow with you access permission.Good luck 🙂
-
AuthorSearch Results