Hi
When logged in and we use the forum search the results are password protected and they shouldn’t be.
WordPress 5.8
bbPress Version 2.6.6
Mizan Therapy
I have disabled all plugins apart from bbPress and tried it on a default theme but the problem persists.
Since my last bbpress post I starting getting two additional google search result:
PageSquares – PageSquares – PageSquares – Alden, NY
alden-ny.pagesquares.com/author/pagesquares/
Welcome to WordPress. This is your first post. Edit or delete it, then start writing! Filed under: Uncategorized. Search Forums. Search for: Recent Topics …
google search result returns:
Whoops, no result found!
It looks like nothing was found at this location. Maybe try a search?
and
Uncategorized – PageSquares – Alden, NY
alden-ny.pagesquares.com/category/uncategorized/
Welcome to WordPress. This is your first post. Edit or delete it, then start writing! Filed under: Uncategorized. Search Forums. Search for: Recent Topics. Community Square Forum. On the No Labels Community Square Forum by PageSquares. 1 week ago. Community Ideas Forun. On the No Labels Community Ideas Forum …
google search result returns:
Whoops, no result found!
It looks like nothing was found at this location. Maybe try a search?
I don’t have a blog or is it my intent to ever have one on the website. The post ‘Welcome to WordPress. This is your first post. Edit or…. is a draft and now password protected and continues to appear as a google earch result.
I addeded two items to my robots txt file in an attempt to remove the additional search results without success. .
Disallow: /category/uncategorized/
Disallow: /author/*
I then added two more items to my robots.txt file.
Noindes: /category/uncategorized/
Noindex: /author/*
Now using the google removal tool and google go fetch I can remove one of the above results but then the other appears in the search results. If I repeat the process I can remove the second search result but the first one is again back in the search result. I also don’t understand why google would index something that isn’t a page or post and make it a search result that returns Whoops, no result found!
I have now removed the post “Welcome to WordPress… from all my subdomains. Also I used the google removal tool and google go fetch but the google search results are for both the posts and for Forums and Topics. I don’t know how long it will take google to index my sub domains.
Any help with this would be appreciated.
When I type in the search box for the forums and hit search the page where it should show the results is going to a page that says “This content is password protected. To view it please enter your password below:” with a spot to put a password…
Do you know what could be causing this? is it something in my settings… or?
Thanks
Scott
I’m having the problem where Search results in the main page loading as well. I don’t really want to disable Buddy Press…lol So you’re saying there was an article that was password protected? I don’t even have any articles but sections of the site are Members only. Any ideas?
Hello,
My search function didn’t work for a good while (a search was redirecting to the homepage), and I realized today that it was an issue with buddypress or plugins I used with buddypress.
Now that I disabled Buddypress, I can now search the forum again but unfortunately, the search results are protected by a password.
I use s2member to protect one of my forum, so it is only accessible to subscribers, but all the other forums are opened. I tried to lift the s2member block of the subscribers forum but still the same thing happens anyway.
I also tested the issue with twenty fifteen and the same thing happened.
I am using bbpress Version 2.5.7, WordPress Version 4.2.2
Site is http://www.tourdecartes.com
Any help would be greatly appreciated 🙂
Emmanuel
I password protected my most recent blog post and it is causing my BBPress forum searches (using the search widget on this page) to require the same password used for that post in order to return the search results. If I remove the password, the BBPress search no longer requires the password.
I opened a support ticket with the theme designer and he insists that it is a problem with the BBPress code rather than the theme. I was hoping someone could attempt to replicate the issue and/or help me solve my problem.
Thank you!
@tatiana_k Are you using any custom templates for bbPress in your theme folder? (Possibly some ‘older’ Twenty Ten bbPress templates)
The issue is that I see both topics & replies and want to determine what is different between your setup and mine.
bbPress Trac Ticket #2453
Thank you for your reply, Stephen Edgar! I created a ticked, and I hope I haven’t messed. 🙂
Yes, I create all protected topics manually but it’s impossible to manually protect every reply from every user.
When I enter the topic name in the search field, I can see only the replies for the protected topics and both the topic and the replies for common topics. I guess that excludes protected posts from the search results, but since the replies are not protected automatically they are visible to everyone.
Hi steph, yes, the problem born when you change manually in the beckend, topic in protected… All replies remaining opened and search and replies created, showin in public…
With this solution made by tatiana is possible to close reply content when base topic is password protected…
In effect in frontend not exixt possibility to change directily a topic in private or protected.. You must to edit in backend…
If in future is possible to have this function in frontend is perfect…
Trying to reproduce your issue and I cannot reproduce it accurately, if I search for a password protected topic I actually see both the topic and the reply in the search results, you should also see both.
I presume you are creating these (or protecting them after the fact) in the backend?
(/wp-admin/edit.php?post_type=topic), what I assume should be the case is that if you are manually protecting the topic you should manually protect the replies (/wp-admin/edit.php?post_type=reply) also.
In short bbPress doesn’t support password protected forums, topics & replies officially, yet. There is ‘some’ support in the backend and partially in some of the templates but we haven’t got ‘all of it’ in bbPress yet.
You will also have issues when browsing the topics via eg http://example.com/topics/ and not see the actual topics list. There are probably a few more places where this will break also.
Create a ticket on trac to remind us to look at this for a future bbPress release.
(It will also act as a subtle reminder to keep it in mind whilst other code is written)
https://bbpress.trac.wordpress.org/
Yes, I think that’s the point. I hope the developers will read this topic. I can fix it, but most people cannot…
To secure the replies you have to do the same steps with the file loop-single-reply.php (line 65 or near). Thanks for reminding, I would have missed this.
@tatiana_k
Thanks for your reply, your solution is ok and works fine…
Remember to add also in replies created… because it show protected replies..
I think this issue is because when you change an exixt topic in protected, you protect only first post and no alle replies associated…
@freewpress,
1. copy file loop-search-reply.php to your theme folder
2. Open it and find <?php bbp_reply_content(); ?>
in line 57 or near it.
Change it with
<?php if ( !post_password_required(bbp_get_reply_topic_id()) ) { bbp_reply_content(); }
else {
?>
<span class="your_message_class">Sorry, you can't read this reply.</span>
<?php } ?>
Anyway, I hope the plugin authors check this issue.
This issue are also in replies created…
Yes.. i confirm, no control in search for password protect topics.. I think you can add check in content-search.php and no in loop…
If you open content-single-reply.php you have a check string… but not in search…
Please post here your modify in the file.. thanks…
I don’t know whether this is a common problem or just mine. But if you use password protected topics you better check your forums to be sure your secret discussions aren’t read by everyone.
When a person enters the password protected topic name in the Search field, it shows the list of replies without any restrictions. While the title says that the topic is protected, the content of the reply is not hidden at all, and anyone can read it.
I fixed it with adding post_password_required check to the loop-search-reply.php file, but I think this should be double rechecked somewhere in the plugin code.
I tried a few themes including twentythirteen, looks like the problem doesn’t depend on a theme.
If by “post” you mean “topic” or “reply” then the search results page should be showing the password entry form in place of “topic” or “reply” content.
If by “post” you mean a literal blog post, that’s somehow appearing within the forums search output, that doesn’t seem right and doesn’t happen in normal circumstances.
Possibly related, when I search your site, no results appear at all.
This is an odd behavior that I was able to replicate with the default Twenty Thirteen theme on my blog (talked.tv):
I password protected my most recent post (an assessment I was giving my students). Now, when I do a search on my forum, it returns a notification that the “post” is password protected. If I enter the password I created for the assessment I gave my students, the search returns the results.
After removing the password from the post, the forum search behaves as it should.
Can anyone replicate this or is my problem specific to my blog? Thank you for any help.
Not sure if it’s related, but here goes:
I’m not using Recent Topics and Private and Hidden forums does not appear in search results for me.
I do however have a couple of “private” forums that I’m restricting access to with the “Members” + “Tehnik BBPress Permissions” plugins, and with those the protected posts and replies appear in the search results.
I’m also using “bbPress – Private Replies” and “bbPress – Private Topics” (same as “Private Replies” but modified to work on topics) and that combo is able to hide the private content from the search result.
Another equally serious problem is that when a user uploads and attaches confidential images or data to a post and marks the post as private, the post is correctly hidden but the files are accessible to all users in the media manager. I have been unable to restrict access to the media manager.