Search Results for 'test'
-
Search Results
-
Topic: Threaded topics not working
Hi, I’m having a problem with threaded replies. When I try to reply a post, instead of the new post being nested, it creates a new post at the same level of the previous.
I have tried two bbPress installs, with different themes, and they both show the same problem.
I have also tried installing bbp Style Pack and checking “bbPress Bug Fixes/Fix Threaded Replies Jump” with no success.
You can try here and see the problem: rescola.com.br/bbpresstest02/index.php/forums/topic/hi-this-is-a-forum
Hi
I have just installed bbPress on my site. I craeted a test user to see how it works. I was horrified to see that the email included a url for registration that is the admin url I use. I have changed this from the default for reasons of security and do not realy want to be sending out my wp admin login url to everyone who registers on the site. Is there a way around this or is it a wordpress thing?
I just installed bbPress through the plugin panel and added some test forums. It seems like there is a very large empty DIV that I don’t know how to get rid of causing a large space between the forum header and the forums. Any ideas on how to get rid of it?
It’s only showing up on the main forums home page and not any other pages when you navigate into the forums or posts.
Currently using the Uncode theme. WP, plugins, themes, etc are all up to date.
Forums are at: http://foxtrotbattleline.com/forums
Hi,
I would like to remove the last page numbers in pagination,
is there any function code to do this?at the moment, on latest topics on a big forum.. it shows like this..
1 2 3… 8432 8442 8445 →
Thanks
krisHi there,
there have been two posts that kind of go into this topic, but the solutions offered there didn’t help (yet). Maybe I did something wrong, idk.
I’ll back up a little. Here are the steps and error(s):
1. Click on registration
2. Type in the username to be used
3. Type in the e-mail address
4. Hit submit
5. Loading until ERR_TOO_MANY_REDIRECTSFunny thing is that even if I didn’t fill in the required fields, the registration runs into the error.
What I tried so far:
– De- and re-activating plugins
– looked in the error.log and Plesk Protocols
– Updated the permalink structure
– … maybe morebut nothing’s to be found, nothing’s changed. Latest versions of WordPress, Avada (Theme) and bbpress are installed. There also are no SSL or htaccess problems that I know of.
Hopefully there’s someone who knows a solution to this issue.
Thanks and best regards
TimSo the warning raised was:
> Undefined index: latest-user
The code flagged was:
"%LATEST_USER%" => $this->stats["latest-user"]I did a bit more research and stumbled upon:
`
if( $this->parent->option[‘last_user’] === “on” ) {
$HTMLOutput[“last_user”] = $this->section_latestuser();
}
`At first I thought that
latest-userneeded to be changed tolast_user, or vice-versa. But I continued the research of the code and arrived here:`
array(
‘id’ => ‘last_user’,
‘label’ => __( ‘Latest Registered user’, ‘bbpress-improved-statistics-users-online’ ),
‘description’ => __( ‘Display the latest user to register to the site?’, ‘bbpress-improved-statistics-users-online’ ),
‘type’ => ‘checkbox’,
‘default’ => $this->defaults[‘last_user’],
‘class’ => ”
),
`I decided to have a look at my bbPress Advanced Statistics settings and this was actually unset. I have now switched it on:
Now the warning does not display. Also, it then occured to me that the code has this line:
$this->stats = $this->stats_extra( $activity );That function does this:
`
private function stats_extra( $activity ) {if( $this->parent->option[“bbpress_statistics”] == “on” ) {
// Add the bbPress Statistics
$activity[“bbpress”] = $this->get_formatted_statistics();
}if( $this->parent->option[“last_user”] == “on” ) {
// Get the HTML latest usser
$activity[“latest-user”] = $this->get_latestuser( true );
}if( $this->parent->option[“most_users_online”] == “on” ) {
// Get/set the most users ever online, users the active online users
$activity[“most-users”] = $this->get_mostusers( $activity[“count”][“active”] );
}return $activity;
}
`Therein is the problem. This function is conditionally populating the
statsarray based on user options. Makes sense, but, this function, makes assumptions:`
private function allowed_tags() {
// Store all of the strings currently replace
$this->_tags = array(
“%MINS%” => $this->parent->option[‘user_inactivity_time’],
“%COUNT_ACTIVE_USERS%” => $this->stats[“count”][“active”],
“%HOURS%” => $this->parent->option[‘user_activity_time’],
“%COUNT_ALL_USERS%” => $this->stats[“count”][“inactive”] – $this->stats[“count”][“guests”],
“%COUNT_ALL_GUSERS%” => $this->stats[“count”][“guests”],
“%COUNT_ACTIVE_GUSERS%” => $this->stats[“count”][“guestsa”],
“%USER_USERS%” => _n(“user”, “users”, $this->stats[“count”][“active”], ‘bbpress-improved-statistics-users-online’),
“%GUEST_GUESTS%” => _n(“guest”, “guests”, $this->stats[“count”][“guestsa”], ‘bbpress-improved-statistics-users-online’),
“%ALL_USER_USERS%” => _n(“user”, “users”, $this->stats[“count”][“inactive”] – $this->stats[“count”][“guests”], ‘bbpress-improved-statistics-users-online’),
“%ALL_GUEST_GUESTS%” => _n(“guest”, “guests”, $this->stats[“count”][“guests”], ‘bbpress-improved-statistics-users-online’),
“%USER_RECORD%” => $this->most_users( “record” ),
“%USER_RECORD_DATE%” => $this->most_users( “date” ),
“%USER_RECORD_TIME%” => $this->most_users( “time” ),
“%LATEST_USER%” => $this->stats[“latest-user”]
);// Apply any filters that may have been applied to the list of existing tags
if( has_filter(‘bbpas_replacement_tags’) ) {
$this->_tags = apply_filters( ‘bbpas_replacement_tags’, $this->_tags );
}
}
`I will be upfront here – I don’t know how to adjust the code so that it will not raise a warning when the Last Registered User setting it not checked. As a result I switched it on.
I just thought i would throw my findings out here as someone might be able to provide the tweak to make it correct.
have a good day!