Search Results for 'buddypress'
-
AuthorSearch Results
-
May 15, 2017 at 1:49 pm #265997
In 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 🙂
May 12, 2017 at 3:11 am #265938In reply to: required Username twice at Registration
manm0untain
ParticipantExtended Buddypress profile fields demands an additional name / username field. This is the case whether you are using Buddypress Usernames Only plugin or not.
This is only relevant if you require extended profile fields. If you don’t, then go into Buddypress settings and turn off extended profiles. That will remove the requirement for a second name on the registration / profile area.
If you want to use extended profile fields on BP, but you don’t want the second username / name field uglying up your registration flow, you can do the following.
You have to be careful with this, because if you hack it, remove the second required name / username field, or any of a dozen other solutions I’ve found – the registration will break down. You will get 500 errors, missing confirmation emails etc.
The solution I used for this is as follows.
1. Assuming you just want to use a singular Username for your site – install the Buddypress Usernames Only plugin. It says the plugin is old but it is still working as of WP version 4.7.4 (for me at least). This deals with the display / access of various username / name / fullname / nickname issues throughout the WP / Buddypress install.
2. Next you’ll need to hide the extra name / username field on the registration area, and the BP profile area. Stick this CSS into your theme custom CSS under Appearance > Customize:
#profile-edit-form .field_1 { display: none;} #signup_form .field_1 { display: none;}(I have seen a 3rd line of CSS on other solutions – #register-page p { display: none;} – all this did for me was to hide the confirmation message after the user registers. You probably want that so I’d leave that line out).
3. The fields should now be hidden, but the system still requires that information to process properly. So next create a file in notepad and save it as name_remove.js
In that file put the following javascript:
document.getElementById("signup_username").onchange = function() {myFunction()}; function myFunction() { var x = document.getElementById("signup_username"); document.getElementById("field_1") .value = x.value }Save that file and upload it to your theme folder (same folder as functions.php etc). This javascript automatically populates the hidden field with the username, so the system does not complain or fall over.
4. Finally you need WordPress to pick this javascript file up. You can do that with a function, using file enqueing. Copy and paste this function into your themes functions.php file Appearance > Editor
function wpb_adding_scripts() { wp_register_script('name_field_remove', get_stylesheet_directory_uri() . '/name_remove.js', array('jquery'),'1.1', true); wp_enqueue_script('name_field_remove'); } add_action( 'wp_enqueue_scripts', 'wpb_adding_scripts' );You have to be careful about the path. If it’s not working at this point, you can view the page source of your register page, and search for “name_remove.js” – look at the path on that script line. If the path is wrong, tweak it in the function above (you might need to change the get_stylesheet_directory_uri() part, or the path part after it. You can check if the path is correct by clicking the link to the .js file in the page source. If the path is wrong, you will get a 404 error. If the path is right, you should see the script code contained in the js file. Fiddle around with the path until it’s correct.
At that point, you have hidden the fields with CSS, and populated the second hidden username / name field automatically with javascript. Test your registration / confirmation email etc to make sure everything is working. But you should be good to go.
Hope that helps someone. Thanks to the folks I cobbled this solution together from.
May 11, 2017 at 9:10 pm #265937Jay
Participant@6logics – Thanks! This is exactly what I needed to effect the use of BuddyPress email templates with Postman SMTP.
It’s a shame the core code has to be modified, but until some sort of filter can be provided (eg, “bp_email_force_use_of_templates”), this seems to be our only recourse. Perhaps something along the lines of:
$must_use_wpmail = apply_filters( 'bp_email_use_wp_mail', $wp_html_emails || ! $is_default_wpmail ); if ( $must_use_wpmail ) { $to = $email->get( 'to' ); $use_template = $wp_html_emails && return wp_mail( array_shift( $to )->get_address(), $email->get( 'subject', 'replace-tokens' ), apply_filters( 'bp_email_force_use_of_templates', false ) ? $email->get_template( 'add-content' ) : $email->get( 'content_plaintext', 'replace-tokens' ) ); }May 11, 2017 at 3:56 am #265927Topic: Sidebars and pages
in forum How-to & Troubleshootinglordmatt
ParticipantI have BuddyPress installed on a network and I am using the customizr theme. I have set the “members” page to no sidebar. This works for the members list but for some reason /members/someuser still has the sidebar.
What do I need to do to get that sidebar to vanish?
May 10, 2017 at 2:52 am #265918In reply to: Removing content filter on registration page
Henry Wright
ModeratorCause using hooks is more sustainable and less likely to have conflicts in the future?
Possibly but the template hierarchy is integral to BuddyPress and use is encouraged. If you find a water-tight alternative way of doing it then by all means use that approach instead.
May 9, 2017 at 10:17 pm #265906In reply to: Removing content filter on registration page
Henry Wright
ModeratorWhy are you unhooking the reg form from the content? I think the BuddyPress template hierarchy can help you here.
You can just nuke the reg form from your-child-theme/buddypress/members/register.php and then add your custom form.
May 9, 2017 at 12:09 am #265895In reply to: WordPress Register Pages
Henry Wright
ModeratorI want it to show the welcome page, which I have associated with the Buddypress register page….
Can you describe what the welcome page is and how you’ve associated it with the reg page?
May 8, 2017 at 9:04 pm #265891In reply to: WordPress Register Pages
chief1971
ParticipantYeah I logged out and tried to login as a new user. When I type the website address it shows the registration question page, however I want it to show the welcome page, which I have associated with the Buddypress register page…..
May 8, 2017 at 6:47 pm #265889In reply to: Profile Page Layout
r-a-y
KeymasterYou’ll want to look at our template hierarchy codex page:
https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/#single-member-pagesThen, you could customize the layout of your member profile pages by adding a sidebar or whatever only on member profile pages.
May 6, 2017 at 12:10 pm #265857In reply to: Upload avatar after activation
threwthenevr
ParticipantThank you for the reply.
Unfortunatly thats not what i was trying to do.
Here’s what iv done so far.I created an empty file in /kleo-child/buddypress/members/single and named index-action-change-avatar.php
in /kleo-child/buddypress/members/single/index-action-change-avatar.php i’ve copied/pasted the content of the bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php template.
added get_header(); before the pasted content and get_sidebar(); & get_footer(); after it.
I then copied the code fron change-avatar.php and pasted it to my newly created page(Avatar Upoload).
it works but it has some template issue.

not sure how to fix that yet but im still searchng, the actual upload and crop part im sure to have issues to sort out there as well.May 6, 2017 at 1:48 am #265854In reply to: Can’t upload profile pic with ipad or iphone
r-a-y
KeymasterHere’s
avatar.cssthat’s been patched up:
https://pastebin.com/raw/X6Nc0QdsIf your site doesn’t use RTL, then you just need
avatar.css.Please replace
/buddypress/bp-core/css/avatar.csswith this file and retry in iOS. Remember to purge your browser cache.May 5, 2017 at 9:02 pm #265846In reply to: Upload avatar after activation
Henry Wright
ModeratorI did a quick search and found Buddypress Upload Avatar Ajax. Not sure if it helps?
May 4, 2017 at 10:17 am #265819cliffsuss
Participantokay, got it,
1. From (in my case) your host’s homepage, find the CP file manager.
2. in the manager, at the top, where there is a search bar, search for – wp-config.php.
3. Read and remember where file is located. Next, go to it, and press edit.
4. Once inside, there will be lots of text, look for ………DB_COLLATE’,”);
5. paste the following code right after that, on the next line
/**
* Change BuddyPress default Members landing tab.
*/
define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );6. Save and its done!:)
May 4, 2017 at 6:53 am #265817cliffsuss
ParticipantHello, There is this link:
for how to Change Default Members Profile Landing TabBut it is quite brief, and I am not very good at this, can someone just, very simply, guide me on how to do this step by step? Especailly the part on creating config.php or bp-custom.php on the plugin folder.
Any help would be so much appreciated!
Kind Regards
Cliff
May 3, 2017 at 11:45 pm #265808In reply to: Questions about a new community project
Nahum
ParticipantPlus this https://wordpress.org/plugins/buddypress-simple-events/ maybe? In the pro version, users can mark if they will attend(“register on it”).
May 3, 2017 at 8:50 pm #265802In reply to: Questions about a new community project
Henry Wright
Moderator1- need to create a website where users login
BuddyPress can do this but the rest of your requirements will either need to be custom coded or you’ll need to find a plugin because BuddyPress doesn’t have that functionality out-of-the-box.
-
AuthorSearch Results
