Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

  • bkypes
    Participant

    @bkypes

    Quick question, what file should I add this code to, or what folder should I create a new file for this code in?


    bkypes
    Participant

    @bkypes

    Looks like it was an error with S3 as I had suspected before so I was able to get the issue fixed.


    bkypes
    Participant

    @bkypes

    Hey @Marcella

    Thanks for posting that. I’ve added some code to my site to redirect all non-signed in users to the login page. Is it possible to change the first line of code to apply it to users that are logged in as well?

    Thanks!
    Brandon


    bkypes
    Participant

    @bkypes

    I did some more digging and found another one of your older solutions that works perfectly here: https://buddypress.org/support/topic/hiding-groups-activity-members-list-to-non-members/


    bkypes
    Participant

    @bkypes

    @shanebp

    Correct. I want them to still be able to search for members or find them in groups, but I want anyone to be able to just browse through all of the members.

    I’ve been going through the bp-members-screen.php file and deleting some of the code related to the directory form but nothing seems to take it off the page. I’ve also tried adding a few different lines of code to the bp-customs.php file and that hasn’t worked either.


    bkypes
    Participant

    @bkypes

    @bp-help

    I’ve been messing around with the first bit of code and changing the:

    if ( bp_is_activity_component() ) {

    to

    if ( bp_is_groups_component() ) {

    or

    if ( bp_is_members_component() ) {

    and each time I try it, it crashes my site. Since it worked with the activity, I feel like the code has to be pretty close to working, I’m just not quite sure what the issue would be.


    bkypes
    Participant

    @bkypes

    @bp-help, I just installed the plugin on my site and it works pretty well! I would have done it sooner but we completely rebuilt our site and BP wasn’t working with the theme we’ve been using. I have a quick question for you though. Is it possible to reverse the plugin to leave all pages open and then enter only the pages that I want to block? Our site is an ecommerce site so I want to leave everything open and accessible except for the BuddyPress pages.


    bkypes
    Participant

    @bkypes

    So I’ve figured out the exact piece of of BP that I’m looking to hide, it’s the members directory form. I’ve tried a few different things out but I’ve had no success thus far.

    I’ve tried adding the following to our custom CSS as well as our child theme (I’m not even sure if I have the child theme set up correctly.)

    li#members-directory-form a {
    display: none;
    }

    #members-directory-form {
    display: none;
    }

    Nothing has worked so far in hiding the directory. I’m not sure if it’s something to do with the code that I’m using or what. I’m a pretty big noob when it comes to coding so if anyone has any suggestions or tweaks to the code to make it work, I’ll love you forever!

    Thanks,
    Brandon


    bkypes
    Participant

    @bkypes

    I’ve been having the same issue for months. I was hoping it would be fixed in the latest update but it’s still broken. I’m having the issue whenever I try to create a group.


    bkypes
    Participant

    @bkypes

    @bphelp that works perfectly! Thanks so much!


    bkypes
    Participant

    @bkypes

    @mercime, I did download and install the integration but that didn’t seem to make any difference with the issues that I’ve been having. I just deleted the files from my site and I’m going to have a guy who helps us with our coding remove any traces of bbPress or BuddyPress from the myPHPadmin file and the reinstall everything.

Viewing 11 replies - 1 through 11 (of 11 total)
Skip to toolbar