Forum Replies Created
-
In reply to: Change Sub-Sub Forum list
Gd toolbox does it but is not free.
Not ideal but I edited the description for the parent forum and added manual links.
I am kind of annoyed with myself because I figured it is not hard to use the right sql query to build a HTML snippet in php and put it in the right place.
But I don’t know what hook to use and I don’t know enough about the database structure to build the sql query.
If I could be put in the right direction I might be able to knock up the php needed.
In reply to: New member’s usernameSpam users. I get them all the time.
In reply to: How can I test if tags are used?Any direction please? Thanks.
In reply to: User StatisticsI can’t help because I am not in a position to offer support. Not enough knowledge. Be like in a rowing boat without a paddle!
In reply to: User StatisticsThanks. 🙂
Why can’t those changes be put into the official plugin and it be reactivated in the plugin directory?
In reply to: User StatisticsThanks, so something like this:
// Actually build all of this HTML function build_html() { $this->sort_users(); $data = $this->stats_builder(); $HTMLOutput = ""; if (is_user_logged_in()) { if ( is_bbpress() && current_user_can( 'spectate' ) ) { foreach( $data as $key => $html ) { $HTMLOutput .= "<div class='bbpas-" . $key . "' id='bbpas-" . $key . "'>" . $html . "</div>"; } } } return $HTMLOutput; }
Yes?
In reply to: User StatisticsI confirm that that works. No if no one is logged in it will not show the user statistics.
The only outstanding issue IMHO is that we should somehow test if the user is not “blocked” because I don’t think a blocked user should have the right to see the stats or any log activity.
How do we test if the user is “blocked”?
In reply to: User StatisticsNotice this code is actually commented out?
//if (is_user_logged_in()) {
That must have been done for a reason.
In reply to: User StatisticsLook at the function
build_html()
:// Actually build all of this HTML function build_html() { $this->sort_users(); $data = $this->stats_builder(); $HTMLOutput = ""; //if (is_user_logged_in()) { foreach( $data as $key => $html ) { $HTMLOutput .= "<div class='bbpas-" . $key . "' id='bbpas-" . $key . "'>" . $html . "</div>"; } //} return $HTMLOutput; }
It calls
sort_users();
That in turn does a select query to get a list of active users:private function sort_users() { // Set the active users $this->_activeUsers = $this->get_ActiveUsers(); // Work out the longest time possible for a user to be classed as active $active_timeframe = strtotime( $this->_sqlTime ) - ( $this->parent->option['user_inactivity_time'] * 60 );
At no point can I see anywhere that it checks to see if the active user is logged in and not blogged in the forum. It should be doing these tests because it should not be exposing user names.
You can see it with my site if you use private mode.
This has to be fixable and I don’t understand why it was never implemented in the first place really. I just don’t know how to do it.
In reply to: User StatisticsI am very sure! Easy to test too. Started Firefox and initiated a private browser. Navigated to my site (where no user is logged in), clicked on the forum (where I have 1 pubic forum with FAQ info) and the stats show.
In reply to: Linking to a reply in active topicThis works:
https://www.publictalksoftware.co.uk/?bbpnns-login=1&redirect_to=https://www.publictalksoftware.co.uk/support-forums/topic/xxx/#post-4784
In reply to: User StatisticsYes. I wish I had enough confidence to delve in with this issue myself. It seems it is going to be a simple fix:
display stats = no is user logged in? is user forum role not blocked? display stats = yes if display stats = yes show stats
That would be the simplest solution.
In reply to: Managing usersI think you just need to google for the plugins and try them.
I use Theme My Login for managing the login etc.
I use WP Approve User to add control:
I use WP Security Question for the spam side of things:
I customised my user table to show the security question answers in a new column.
There are probably other solutions, of which are paid, but the above help me sufficiently (for now).
In reply to: HTML in textI have experienced this too
In reply to: Code example windowThis is answered here:
In reply to: Syntax HighlightI just wanted to point out that Enlighter is a fantastic plugin for syntax highlighting.
The current version works with bbPress 2.6 although it has a conflict of interest with one feature. It is discussed here:
https://github.com/EnlighterJS/Plugin.WordPress/issues/211
At the moment I don’t really know how I can supress the conflicting CSS styles referred to in the above link.
I should also point out that at the moment the version 4 beta is not working with bbPress yet. Although, it is supposed to resolve the aforementioned issue concerning conflicting CSS styles.
Eitherway, I am happy to know about Enlighter. Thumbs up from me!
Any clarification about this please? Thanks.
In reply to: Any way to remove moderation ?You don’t have to manually moderate. You can switch off moderation for bbPress. There is a temporary plugin to do it. I have moderation switched off.
Up to you.
In reply to: No link back to topic from ‘New Reply’ linksGlad I was able to help John!
In reply to: New lines in forum descriptionSpecifically, I would like “Sub forums:” to have a one line gap:
===
Have you found a bug in the Midweek Editor? Or do you have a suggestion for a new feature? Then this is the forum to use.Sub forums:
===In reply to: No link back to topic from ‘New Reply’ linksbbPress Notify (No Spam) plugin supports that out of the box.
According to the trac it states:
Add
bbp-has-subforums
if forum has subforumsWhy am I not seeing this class present in the latest version of bbPress 2.6.4?
In reply to: Why can’t I see my list of sub forums?I have moved this to here:
https://wordpress.org/support/topic/showing-a-dashicon-to-indicate-sub-sub-forums/
In reply to: Why can’t I see my list of sub forums?I found some links about this with custom code but I don’t know how reliable that is because someone spoke about getting a white screen.
I think I would be happy just to have some kind of symbol next to the forum to indicate it has sub-forums. That would be less code requirement and might be able to be part of bbp style pack as an option?
In reply to: 2.64 thank you!Seems fine for me.