No they wouldn’t as you are working in a child theme.. aren’t you! if not you should be.
I’m not sure but scanning your post possibly suggests smething amiss in your understanding of BP, as modemlooper points out hiding fields is easy and along with the privacy controls on BP profile fields you can ensure that they are set to both required and only editable by admins so not sure why you need your custom form, but may have overlooked the reason.
You certainly don’t have to set up a localisation file if changing the odd heading in BuddyPress is all you need to do.
That said – The benefits of having a localisation file in place are huge (i can name some if you like..?) and it isn’t difficult to set one up if you follow the tutorial on that page.
Going back to your method of editing your theme’s files – try making the exact same change in file:
plugins/buddypress/bt-themes/bp-default/members/index.php
If that change works then you haven’t set up your child theme properly.
If I were to make changes to the edit.php file, would they potentially get overwritten when upgrading?
The easiest way to inherit ‘some’ of the CSS from the default theme is to copy what you need and paste it into your theme’s style.css.
Then add this to your functions.php file
if ( !function_exists( 'bp_dtheme_enqueue_styles' ) ) :
function bp_dtheme_enqueue_styles() {}
endif;
This will tell BuddyPress not to queue up the default stylesheet.
Instead of editing the text strings in the core or you theme’s files, you can use a language translation file. It makes life much easier:
https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/
Has someone found a solution to this issue? I also want to deny access to non-logged in users to group and members pages.
I tried private_community_for_bp but I did not understand how to customize code since I want to leave generic users to vist 3 pages that do not belong to bp installation since, like site homepage
Hi,
I am running WordPress 3.5.1 with BuddyPress 1.7.2, using WordPress default theme TwentyTwelve with the BuddyPress Template Pack plugin amongst a few other plugins installed.
I’ve been getting on ok with customising it all but have been struggling for literally a couple of hours trying to remove the word ‘Directory’ from the auto-generated title ‘Members Directory’. Logically I thought it was the line of code (line 21):
<h3><?php _e( ‘Members Directory’, ‘buddypress’ ); ?></h3>
found within /wp-content/themes/twentytwelve/members/index.php
I switched it to:
<h3><?php _e( ‘Members’, ‘buddypress’ ); ?></h3>
However no change reflects in the front end. I’ve also tried adding extra test lines of code in various ‘out of the loop’ parts of both this page and members-loop.php but nothing works. I’ve tried googling and looking through the forum as this is just a straight HTML title, its not hyperlinked.
What am I missing?
Could it be some sort of caching issue, or is there some sort of code that needs going in a functions file?
url is: http://devserver4.co.uk/claydoncourt/members/
Thanks for any help on this…
If you are checking for BuddyPress activation page, you can use any of the following
if( bp_is_activation_page() ) {
//do something
}
or
if ( bp_is_current_component( 'activate' ) ){
//do something
}
hope that helps.
I am using WordPress Version 3.2.1 . I have used BuddyPress plugin and custom community theme for my site (not live, it’s in local device). In custom community theme, there are many groups(city) and each group may contain many users. I need to display pictures in main body section of the city/group page uploaded in that group only. All the images are uploaded on C:\xampp\htdocs\staging3\wp-content\uploads\bpfb. But I need to display the pictures of respective groups in the group body section.
For this I have tried to use image_tag_templates.php file of C:\xampp\htdocs\staging3\wp-content\plugins\buddypress-activity-plus\lib\forms location.
How to use that??
And my real concern is how to distinguish the images of respective group from bpfb folder?
@jpc-solutions what have you done so far to resolve this? Have you tried changing to Twenty Twelve theme or BP Default theme to check if it’s a theme conflict? Have you deactivated plugins batch by batch except BuddyPress to check which is causing the issue?
Please help me with this.
How to achieve this?
WordPress 3.5.1.
Theme Weaver II Pro 1.3.8
Buddypress 1.72
Also use WangGuard plugin: http://wordpress.org/plugins/wangguard/
Site: http://ssnet.org/
I created a page in my WordPress blog (http://ssnet.org/join-us/) for Buddypress registration, and I added the shortcode [register-page] (It seemed like it ought to be valid. 😉 So where do I find a list of valid shortcodes for Buddypress??) Attempting to access the page directly yields a page-not-found error. However, it comes up when a user clicks on “Register” on the front page.
However, the content on the page I created gets totally overlooked and standard registration form content appears instead.
I see this in the Source for the page:
<div class="entry-content cf">
<div id="buddypress">
<div class="page" id="register-page">
<form action="" name="signup_form" id="signup_form" class="standard-form" method="post" enctype="multipart/form-data">
<p>Registering for this site is easy, just fill in the fields below and we'll get a new account set up for you in no time.</p>
I would like to know precisely where to find the form to edit the paragraph beginning with "Registering ..." (I don't want to use a plugin for that).
There's much else I would like to do, but editing that one paragraph would be a good start.
Any help would be much appreciated. :) (I'm quite inexperienced re Buddypress. Trying to learn ...)
Leofitz, WangGuard will check your user base for spammers and delete them.
See https://wordpress.org/plugins/wangguard/
The author says that “WangGuard not only protect your site from sploggers, spam users or unwanted users, WangGuard cleans your database from them. No plugin or service does this, only with WangGuard you will get this feature,” and I believe him. His English may not be too good, but the plugin is really outstanding.
There’s just one consideration for you: In order to have your database cleaned up, you will have to submit far more than 500 queries the first month. Perhaps you can arrange to pay for a month?
Here’s my suggestion to reduce database queries after that. (It worked for me.) Buddypress allows for the customization of User Profiles. Add a couple of questions that require a certain amount of intelligence to answer and make them required. That means the form will not be submitted either to WordPress or to WangGuard if the required fields are not filled out. It’s not fool-proof, but it decreased queries on my very busy site to just a few a day.
Incidentally, I added a question, “How do you plan to participate?” Among the choices offered the user are these:
“I want to increase my online presence.” and
“I want to sell my stuff.”
We don’t need anyone not bright enough to figure out that these replies do not make the user desirable. Now all I need is a script to automatically kick out users who choose these replies. 😉 (As it is, they can be manually deleted if other users report them.)
I don’t know what happens to a group when all the users are unsubscribed, so this may not be precisely what you are looking for. But WangGuard will make your site secure against almost all sploggers. (One registrant passed all tests on our site, and we had to delete manually, but that person must have registered manually too.)
Good luck!
Inge (http://ssnet.org)
Hi All,
I was wondering if there was a way to hide/filter out inactive members from the member’s directory in buddypress.
At the moment as long as the person has logged in at least once it shows them in the list; but I would like the members directory to not show them if they haven’t logged in for over 60 days. Is this possible?
Thanks for any help provided.
Robert.
Given that BP 1.7 introduced theme compatibility, and 1.8 will extend that considerably as we have now brought into play a new level of template hierarchy along with placement of assets CSS/JS in BP directories the question is moot, as you can do either but a child theme is always a child of whatever parent theme you have chosen to use – unless you decide to overload BP by adding bp directories directly to the top level of a theme in which case theme compatibility would be automagically disabled.
The rule of thumb is that if your chosen theme can be updated and you want to make custom changes to BP template files then you do so in a child of that parent theme, even if only containing the ‘buddypress’ ( or ‘community’ ) directory to ensure your changes are maintained in your own child theme.
Oh I just added it to my functions.php. Unfortunately, the new link does not appear in the theme’s navigation bar but rather the custom menu from wordpress which I put in the footer. Anything I can do?
Hi I just checked through my FTP, there is no hp-custom.php in wp-content, plugins, buddypress. Should I create one?
@dswd depends on the project. If you’re creating a WP theme and want to make it compatible with BuddyPress, simplest requirements are: the_title() and the_content() and using jQuery which comes bundled in WP. That’s it. BuddyPress is compatible with nearly all WordPress themes.
While very doable, this will require custom coding.
You can contact me at PhiloPress
Thank you that worked perfect
WP Version: 3.5.1
BuddyPress: 1.7.2
You want to ‘hide’ the profile page for a member who hasn’t paid their dues?
What should happen if that page is accessed by that member or another member?
Redirect? Custom message page ?
Either redirect to a listing of all active members or display an error page would be fine, (i.e. “This member is not currently an active member.”)
If ‘paid dues’ is a boolean, then it’s easy to write a function.
Where is that boolean stored?
It would be stored in their profile as an Admin-editable field, per the original post.
Does that member still appear on the Members page? In the Activity stream?
No to both. Hidden users would be able to login and update information but their profile wouldn’t be public-facing, just them and the admins.
This would be useful as we have staggered dues, allowing profiles to turn off/on.