I’m having an issue with links instead of it being keebu.com/forums/dommains there is a double forum listing as seen below!! i’m new guys to bbpress I’m using the latest install of
wordpress 5.3
bbpress 2.6.2
buddyPress 5.0.0
https://keebu.com/forums/forum/domains/
It seems to be this html that builds a load of divs:
function build_html() {
$this->sort_users();
$data = $this->stats_builder();
$HTMLOutput = "";
foreach( $data as $key => $html ) {
$HTMLOutput .= "<div class='bbpas-" . $key . "' id='bbpas-" . $key . "'>" . $html . "</div>";
}
return $HTMLOutput;
}
That is called by this:
function widget( $arg, $instance ) {
echo $arg['before_widget'] .
$arg['before_title'] .
$instance['heading'] .
$arg['after_title'] .
$this->_parent->online->build_html() .
$arg['after_widget'];
}
So the is_logged_in
test would have to be applied to build_html
and if $key
is a certain value do the logged in test.
Elsewhere i found this:
// Section: Users active in last x hours
if(in_array( 'last_x_hours', $stat ) ) {
$HTMLOutput["inactive"] = $this->section_userstats( $this->stats, "inactive" );
}
So I guess the $key
of interest is inactive
. Funny index to use for that …
I only started php in 2014 – necessity makes a great motivator.
I doubt if it would take you that long to find where the output is, and add a is_logged_in test to it.
Infact … to provide more info …
If I say log in as “Test123” normal user and hover over his profile URL, it is all lowercase “test123” but clicking the link will not work. If I change the link by pasting it into a browser and adjusting it to “Test123” then the link works and I can now view my profile.
So there is an issue with normal users who have title case in their user name and not being allowed to view their profiles because the slugs in the links are all lowercase. Admin can view these profiles but not the users.
Only users who has all lowercase usernames can view their profiles.
I originally asked this issue here:
https://wordpress.org/support/topic/user-cant-view-their-profile/
I have now found out why it happens. It has to do with the Title Case of the user name. For example, if my user name is:
Test123
Then I will not be able to view my profile.
But if my user name is:
test123
I can view my profile.
I don’t know if this is a bbPress 2.6.2 bug or bbp style pack bug (since I am using the latter theme templates).
For some reason the administrator can view these profile pages despite the case issue. But not normal participants. I notice that the URL is always the lowercase slug. Are we somehow using the username rather than the nice name? Either way, this is the cause and it means many of my users can’t view their profiles as they have used Title Case in many instances.
I have only just noticed this. I use the “bbPress Advanced Statistics” plugin as I like the way it presents the data at the bottom on the forum page.
However, if I “log out”, it still lists all the names of the users from the last 24 hours. That is not right. It should only list last 24 forum activity if a user is logged in. Technically it is exposing users names for a non logged in user when I don’t want it to.
I am using latest bbPress 2.6.2
Any advice appreciated. Thanks.
I am using the latest version of the forums 2.6.2 and associated bbp style pack plugin | forum template.
Today I was creating a topic and hit submit. At first I wondered what had happened because it didn’t seem to submit. I then eventually noticed (see image):
https://www.dropbox.com/s/cxv5lwz2ya82hcy/bbPress-Error.png?dl=0
I assume that it must have scrolled to the top but this error message is just not standing out from the crowd. Any advice to get this error message more noticeable?
Thank you.
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
So.. again issue is back. After letest update again getting below 404 error that “bbpress.min.css?ver=2.6.2” missing.
/plugins/bbpress/templates/default/css/bbpress.min.css?ver=2.6.2
what to do ?
Hi and thanks for the quick reply.
It is indeed set to do that, it always has been in the past to allow new applicants the ability to see areas of the forum that are public and make an application to join.
The difference is now it’s adding it also to anyone who also has a role assigned manually.
I can try turning it off but am concerned this may impact the ability of genuine Spectators (potential applicants and former members) to make applications and see the public forums.
I’ll test it and get back to you if needed.
I have an update for you @robin-w
I thought I had set up “WP Super cache” to ignore the support_forums URLs but I don’t know if that was working. I have deactivated by caching plugin and done a test and it seemed to work.
I am going to leave caching off and see how it goes (with your plugin active and my caching deactivated).
BUT
If I activate your plugin then it works. Those sub forum topics replies are updating the parents forums correctly.
So the only differences are:
1. The forum that I was testing with on my site was closed.
2. Thus the topic I was adding a reply to was closed.
3. For all the others (my private forums) they are inside Categories.
Hope this helps.
I can create the problem now on my test site. If I add the plugin (which I was doing to de-bug) the problem goes away. This is despite it just being the code that the function uses !
I would like to eliminate that you posted to a closed topic.
I would however like you to look at this situation
Forum a – forum, open, public parent 0
Forum b – sub forum, public, parent forum a
Topic x – an OPEN topic
Reply 1 – a reply to the above topic
reply 2 – a second reply
can you get the problem with this set up and my plugin deactivated ?
ok, I think I am becoming deranged by this problem 🙂
Would someone like to try this very small plugin and let me know if it fixes.
I don’t promise it will – it works on my test site but it should make no difference !!
so go to
bbp Refresh Last Active Time
and download the plugin to your PC.
Go into
dashboard>plugins>add new plugin>upload and upload the file you have just downloaded then activate
Then try to add a new reply on a sub forum – please do this on public forums and hierarchy – this does not fix public/private mixes, and I don’t know if it works for private forums yet !
Please report back in either case
I have a sidebar active on all forum pages with the BBpress login widget in it. However, when you enter your username and password, you first get redirected to an extra captcha screen where you have to check you are not a robot. While that is fine for security reasons, after you check that box, you get redirected to the standard WordPress login screen where you have to enter your username and password a second time! And that feels very confusing for the users.
So the question is: how can I eliminate that second step… is this a known issue maybe? Or am I missing a setting somewhere?
If anybody in the hivemind has a suggestion, I’m all ears 🙂 thanks!
The site is running all the latest versions, by the way.
When I go to your site, if I select the testing forum as a non logged in user, I cannot see the topic form, but I can reply to an existing topic.
I thought that was what you wanted?
WP 4.9.4
Suffusion Child Theme, 4.4.9
Browsers, latest versions of Firefox and Chrome
PHP version 7.2.7
bbPress Version 2.6.2
Topic Title: http://forums.typeheritage.com/topic/tangier/
Page Title: http://forums.typeheritage.com/status/
I want topic titles to match page titles—green, not orange. I am semi-clueless about coding but have tried a few ideas that don’t work.
Can someone suggest a css entry to solve this problem?
Many thanks, Anna
I can’t create a new forum.
When I want to start a new forum, I get information:
“Sorry, you do not have permission to edit this entry”:
https://snipboard.io/9ThQ4W.jpg
I am logged in as an administrator with full rights, wordpress is updated to the latest version, I installed the plugin several times and the same error every time.
What is wrong? Why can’t I add anything?
Hi,
This is my testing site
sandboxtest1.server4.demoswp.com/forums/forum/testing/
Thanks
ok, so running that fix gets latest activity back to normal, but only of course until the next post puts it out again – just wanted to check that was the case.
on the showroom, yes I can see that they have gone again – out of 100 how ceratin are you that they were there immediately before you ran then repair? and did you only run the repair for latest activity ?
From what I can observe,
– NEW TOPICS, will show the correct time, in the Index. (ex: in Challenges, I posted a new topic 2 days ago and it shows as 1 day 20 hours ago and it is accurate)
– REPLIES to new topics don’t seem to show all the time:
ex: in the LET’S TALK forum, inside the PSP Talk forum, Ken posted something over 2 days ago. That is what is displayed in the Index, however, I added a reply to his thread, and it is not taken into consideration (the time or even that *I* posted last)
I have tested it just now:
– I posted a new thread inside the LOBBY, not inside any other sub-forum: the date appears ok in the Index
– I replied to a post in the LOBBY (Date issue in the forum): the date does not appear at all in the Index, but if you go in the LOBBY, then the date shows and is correct.
Hope this helps.
@ajtruckle – I’m happy that I know your problem – I think cassel and hardel have different issues and may each have a different issue to the other. So I don’t need access as I can generate your problem on my test site, but thanks for the offer 🙂
I did another test today for this issue and it seemed to be working. I will keep an eye on it.
@robin-w and @johnjamesjacoby
I made the change on the development/test instance of my membership website and changing the setting to ASC did fix the problem.
How should I proceed as I did not make the change to the production website?