Search Results for 'bbpress'
-
Search Results
-
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-user
needed 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
stats
array 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!
This is the third time I’ve posted this as the first two have not shown up on the forums (I do apologise if they all show up at once now)
I need to edit css for the ‘Register here’ and ‘forgot password’ pages as they look terrible in responsive view when logged out, I can use CSS Hero for this..
However, I am unable to do this because being logged into wordpress (to enable me to edit css) means that I only see the ‘logged in’ view of the ‘register here’ and ‘forgot password’ pages. Whereas it’s actually the ‘logged out’ view I need to edit.
If you type https://findgyms.co.uk/forgot-password/ into:
you should hopefully see what my dilemma is, as the unlogged in view should come up.
I hope this makes sense?
Any help would be greatly appreciated,
Tim
WordPress V. 5.4.2
BBPress V.2.6.5
Theem: AstraHi,
I want to insert a form (with three questions, for example ‘How much free time do you have? How do you spend your free time? What games do you like?’) on one page of my website and have a plugin to create one page linking the let say 20 most recent answers, so that visitors can read the most recent answers given by every other visitor.
Do you have any suggestion on how to do it or plugins to suggest?
I tried with BBpress shortcodes, but for there are no shortcodes allowing to collect at once and publish answers to different questions. A solution could be to post all the questions together as the first post of a new topic, and ask visitors to annswer, but there is no a short code such as [bbp-reply-form id=223] allowing visitors to post replies to this, without them needing to see or visit the forum (see discussion at https://bbpress.org/forums/topic/using-shortcode-bbp-reply-form-to-specific-topic/)
My website https://www.orientamento.it/, I am using Twenty seventeen and BBpress 2.6.5.
Thanks in advance for your help
Topic: bbPress Forums subtitle
Hello,
New to bbPress and have been following the guides and have had a lot of success.
I do have one question that my searches have not been able to solve.
I create a page called Forums and added the short code [bbp-forum-index] and that works but it adds a subtitle bbPress Forums to the heading of the page.
How do I turn that off?
Example from page:
ForumsbbPress Forums
Seems duplicated to me.
Sorry if this has been discussed but my searches have come up empty.