Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 20,501 through 20,525 (of 69,120 total)
  • Author
    Search Results
  • #166504
    agreenmail
    Participant

    Using child theme of twentyTwelve. BP 1.7. WP 3.5. Currently on a localserver.

    Just switched over to buddypress default. No joy. Then switched back to TwentyTwelve. No joy.

    (Should add that I also tried setting up a completely new test site and had the same result. Private group is set.)

    #166495
    Eugene
    Participant

    I’ll certainly look into this solution more.

    When I started I was new to WordPress. Now I’m new to BuddyPress so am looking at the feasibility of integrating or replacing what I’ve written. I have a lot of specifc business rules in the profile I’ve written so I would prefer to use what I have, not to mention not to throw away all my work. The hidden but required fields is just an example of one of the many business rules I’ve written in my plugin.

    #166494
    Hugo Ashmore
    Participant

    @davol Why are you using the bp-default theme by way of the template pack plugin, the whole thrust of BP 1.7 was to provide theme compatibility, template pack plugin ought to be considered redundant now for new sites/themes.

    You should really remove those copied directories and the plugin and just let theme compat take over. If you need to modify templates then you copy them into /my-theme/community/members/index.php

    */community/ or /buddypress/

    #166493
    Hugo Ashmore
    Participant

    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.

    #166492
    Henry
    Member

    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.

    #166490
    Eugene
    Participant

    If I were to make changes to the edit.php file, would they potentially get overwritten when upgrading?

    #166479
    aces
    Participant
    Henry
    Member

    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.

    #166477
    Henry
    Member

    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/

    #166476
    ProfC
    Participant

    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

    #166468
    Brajesh Singh
    Participant

    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.

    #166460
    @mercime
    Participant

    @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?

    #166446
    inge12
    Participant

    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)

    #166439
    Hugo Ashmore
    Participant

    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.

    #166438
    CompassSeeker
    Participant

    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?

    #166437
    CompassSeeker
    Participant

    Hi I just checked through my FTP, there is no hp-custom.php in wp-content, plugins, buddypress. Should I create one?

    #166435
    @mercime
    Participant

    @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.

    #166434
    bp-help
    Participant

    @compassseeker
    Add the code in the link below to bp-custom.php:
    http://pastebin.com/HSpJNLyV
    Also see @mercime ‘s replies in the following thread:
    https://buddypress.org/support/topic/adding-dynamic-profile-link-to-main-menu-item/

    #166431
    bp-help
    Participant
    #166430
    shanebp
    Moderator

    While very doable, this will require custom coding.
    You can contact me at PhiloPress

    #166429
    SadNinja
    Participant

    Thank you that worked perfect

    #166428
    dpeters
    Participant

    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.

    #166426
    shanebp
    Moderator

    You need to state which versions of WP & BP you use.

    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 ?

    If ‘paid dues’ is a boolean, then it’s easy to write a function.
    Where is that boolean stored?

    Does that member still appear on the Members page? In the Activity stream?

    iow. you need to be more specific about the behaviour that you want.

    #166419
    dpeters
    Participant

    Any ideas?

    fpats
    Participant

    And now i can’t delete posts or upload media, it’s like the site is completely broken now. I’ve been working since 6am to get this ready for tomorrow and every thing was perfect until i added this bit of code.

    Is anyone else from Buddypress online who can offer advice please?

Viewing 25 results - 20,501 through 20,525 (of 69,120 total)
Skip to toolbar