Search Results for 'bbpress'
-
Search Results
-
Topic: Need Help Please
I’m not going to lie, this has been very frustrating and it shouldn’t be. All I want to do is allow people to interact in my forums and reply to topics anonymously! I’m not here to con people into giving me their emails (that wouldn’t lead to sales anyways). Bbpress makes a setting that is titled…”Allow guest users without accounts to create topics and replies” but it does nothing and still ask for email but says “not published” REALLY “that sounds real not scammy.”
My wordpress theme is completely up to date as well as my bbpress that I installed today. Im working with “publisher premium theme” that works directly with bbpress.
I would really like to know why this is an issue and why bbpress has a button (box check) that does nothing that it says it will?
Thank you
Some users on my bbpress site are facing ” ERROR: Duplicate topic detected; it looks as though you’ve already said that.” when they are trying to create a new topic. Issue persistent even when different terms are used, and crosschecked that a topic with the same name doesn’t exist.
bbpress version: 2.6.5
Wordpress Version: 5.4.2
Website link: https://nalsar.ac.in/forumsI am using the default Twenty Twenty theme.
Hi I want to remove the email and password fields from the user as I use a sso to sign in with steam
and also I want to remove the blog role as I only use bbPressHi,
My forum is set in German (bbpress-de_DE)
There are some things in my forum that are not translated.
e.g: https://www.apis.de/forum/topic/pim-2/ (See top line, a mix of German and English). I have tried editing the bbpress-de_DE-formal.po file using Poedit for Windows, but this does not make any changes.
How can I edit existing translations and add further translations plz?I have this custom code to display a form on the stated pages:
// ==============================================================
//display bbPress search form above single topics and forums
function rk_bbp_search_form(){if ( bbp_allow_search()) {
?>
<form role=”search” method=”get” id=”bbp-search-form” action=”https://www.publictalksoftware.co.uk/support-forums/search/”>
<div class=”trucklesoft-bbp-searchrow”>
<label class=”screen-reader-text hidden” for=”bbp_search”>Search for:</label>
<input type=”hidden” name=”action” value=”bbp-search-request”>
<input tabindex=”101″ type=”text” value=”” name=”bbp_search” id=”bbp_search”>
<input tabindex=”102″ class=”button” type=”submit” id=”bbp_search_submit” value=”Search”>
</div><div class=”gdpos-power-link”>
Advanced Search
</div>
</form> <?php
}
}add_action( ‘bbp_template_before_single_forum’, ‘rk_bbp_search_form’ );
add_action( ‘bbp_template_before_single_topic’, ‘rk_bbp_search_form’ );
// ==============================================================Can I also use this code to replace the form that is displayed at the top of the forums page too?
This is because I have introduced my own class which I now need also on the main forum page form:
https://www.publictalksoftware.co.uk/support-forums/
You will see they look different.
Is there just another action I need to add here?
Thanks.
Hi there,
there is quite alot of spam/bot user registration since I setup a bbpress forum on my site. I would like you to provide me with some useful tips on how to mitigate this or ideally stop it completely.
What are best practices dealing with spam in bbrpess/wordpress?
Thank you for your tips.
best regards, peter
So 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!