Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • grimbot
    Participant

    @grimbot

    Hmm.. I don’t see any active plugins that I think would cause this.. What does it do for you?

    Test Member:

    http://staticcolonies.com/rural/homestead/members/test/

    Test Group:

    http://staticcolonies.com/rural/homestead/groups/static-colonies-main-group/


    grimbot
    Participant

    @grimbot

    ok.. it works again.. Not sure which step fixed it but here is what I did..

    In the database area I clicked the Optimize, repair, and reset permission buttons.

    In wordpress I cleared off some of the warning notifications I was getting about “Activity Stream” and “User Links” pages not having pages set for them..

    I had those removed on purpose btw.

    The code to hide the members directory doesn’t work anymore but someone said something about maybe being able to redirect traffic to that page to a password protected or otherwise restricted page.

    So.. That should do it if you have the problem I did.. clear the page missing error for user links and activity and run the one click fixes on the database to reset permissions and such.


    grimbot
    Participant

    @grimbot

    The header.pho file had been renamed. It also had the code in it that hid the member directory. The problem was there while it was renamrd. I changed the (now) 2header.pho back to header.pho ( in the child theme) and it threw everything out of style. What kind of bothers me though is I don’t remember renaming the header.pho to 2header.pho and when I left it alone in January 2017 I remember thinking “good.. Every thing looks find, men er directory hidden, weird style glitches taken care of, removed incompatible plugins that were mrssing stuff up.. Now… If I never update Ill be fine”.. Haha.. Well.. 10 months later in.like ” oh man.. 30 updates? I better keep my stuff updated” now it’s glitched.. So it being renamed spooks me a little. I’ll look through the files in the child theme for that string. I’ll let you know if I can get it fixed and what fixed it. If you have any ideas let me know.. Thanks


    grimbot
    Participant

    @grimbot

    “some custom code on your server…. that’s interfering with the AJAX call”…

    Perhaps something with the .httaccess files? I do remember a time when I wanted to make sure things were secure so I messed with those a bit.


    grimbot
    Participant

    @grimbot

    It is showing up in the activity area..

    I looked over the child theme and noticed that the header.php has been renamed to 2header.php

    It had a custom code in it that hid the members directory.. the code looks the same, but when renamed to header.php, it messes with the layout. Maybe when it updated it detected something strange and renamed the file? I’d hate to claim hacker. Very strange.. Hmm.. Custom code.. custom code. It’s been months since I’ve tinkered on this, and everything worked when I stopped messing with it. I even made a backup and am tempted to restore the backup but if I go that route I’ll never want to update again.. Strange how the image you sent has a link to a question on stack overflow. I visit there from time to time but pretty sure I wouldn’t have included a link in their code.

    I’m stumped… I’ll need to hire more experienced help. Are you available for hire to fix this? If so how much would it cost?


    grimbot
    Participant

    @grimbot

    Sorry, this post has wrong information. I looked at the version for bbpress instead of biddypress. . I don’t see a way to edit or delete this post, so I’ve posted another with a similar title.


    grimbot
    Participant

    @grimbot

    Well, I gave it a while, and two of the groups on my site have lost all their content. Even with bare plugins activated, the content hasn’t returned. I had some security plugins active so I’m guessing I wasn’t hacked, although I’m not sure how to verify that. I don’t think I have anything to log IP addresses to the site to see who was visiting between when everything was working fine vs when content went missing.

    Would this missing content thing fit into any of the known vulnerabilities? Does anyone know how to protect from it?

    #MissinMyPosts


    grimbot
    Participant

    @grimbot

    I was able to get something working by editing, I think it was, the functions.php

    I thought I posted the code I used onto here but it didn’t seem to take. Should I try to reshare the code again or did I and it was removed?


    grimbot
    Participant

    @grimbot

    Hmm.. I’m confused. I tried filling it out 5 different ways and each way I get an error on the top of the page, I didn’t try logging in as a regular user to see if the redirect worked because the error at the top was enough of a sign to let me know something was messed up. I’m new to .php though, I’m more familiar with html. I’m probably missing something simple.

    Could you show in your example where I would put the “Google.com” redirect, and if the member directory page is labeled “MemberPage”, and if I need to add the whole url.


    grimbot
    Participant

    @grimbot

    I get an error on the top of the page when I put this in the bp-custom.php. Maybe I’m installing it wrong? If my members directory page is simply named “members”, and when people try to access it they are to be redirected to http://www.google.com, would I fill it in like this, or does the member page need to be specified with the full page url?
    ————-

    function grim_members_directory(members) {
    
    	if ( bp_is_members_directory(members) && ! is_super_admin() )
    		bp_core_redirect( site_url(www.google.com) );
    	
    }
    add_action( 'bp_ready', 'grim_members_directory' );

    grimbot
    Participant

    @grimbot

    I went to “apperance” and then “menues” structured a new menu that didn’t include the members directory, but when I go to a user profile, I can see in the url string it going through the members page, and then I remove the user name from the url, it takes me to a members directory.

    Did I remove access properly by not including it in a menu or is there something else I am not doing to stop people from browse/searching the users?

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