Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to mitigate spam registration?

Published on July 6th, 2020 by p3t3rr

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

My findings concerning the warning raised with “bbPress Advanced Statistics”

Published on July 6th, 2020 by Chuckie

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 to last_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:

View post on imgur.com

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!

Adding Image in front of Forum Index

Published on July 6th, 2020 by theicebooky

Is it possible to add a picture in front of a forum. I want the picture to be in front of both the Forum title as well as the Forum description.

Right now, I can only add the picture to the Forum description… and whenever a new line is added, it looks very strange.

Thank you!!

Currently, the images arrangement when pasted onto the forum description is really strange.

Forum Statistics Plugin

Published on July 5th, 2020 by delta5

Could someone point me to the plugin link for that plugin that adds the forum stats box that goes on the bottom of the forum, just like most other forums? I know its out there, i just cant remember the name of it. It makes your forum look more like PHPBB or smf.

Thanks, Richard

trouble editing css responsive view

Published on July 5th, 2020 by timmy321

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:

http://responsiv.eu/

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: Astra

“Reply To” Combo – When editing a “Reply”

Published on July 5th, 2020 by Chuckie

I noticed that when you edit a reply that the “Reply To” combo appears squashed:

View post on imgur.com

So I added CSS to widen the select control and then was confused by the values in the drop-down list being truncated. I decided to examine the HTML (without making any CSS changes) and this is what I get:

`
<select name=”bbp_reply_to” id=”bbp_reply_to” class=”bbp_dropdown”>
<option value=”” class=”level-0″>3189 – Introduction to the Text and Visual Editors</option>
<option class=”level-1″ value=”3226″ disabled=”disabled”>   3226 – Update The</option>
</select>
`
The first entry is complete (although not all visible in the actual control). But the rest are all cropped to just a few letters. If I try other forum replies they are all the same.

Here is another example:

View post on imgur.com

`
<select name=”bbp_reply_to” id=”bbp_reply_to” class=”bbp_dropdown”>
<option value=”” class=”level-0″>2692 – Setting up the new forum – Testing and Change-Log</option>
<option class=”level-1″ value=”2695″ disabled=”disabled”>   2695 – This is a</option>
<option class=”level-1″ value=”2705″>   2705 – This is a</option>
<option class=”level-1″ value=”2735″>   2735 – This reply</option>
<option class=”level-1″ value=”2791″>   2791 – Test ok.</option>
<option class=”level-2″ value=”2794″>      2794 – Hi Stefano</option>
<option class=”level-1″ value=”2814″>   2814 – All forums</option>
<option class=”level-1″ value=”2825″>   2825 – Based on t</option>
<option class=”level-1″ value=”2828″>   2828 – I have sta</option>
<option class=”level-1″ value=”2853″>   2853 – Further up</option>
<option class=”level-1″ value=”2858″>   2858 – Further up</option>
<option class=”level-1″ value=”2881″>   2881 – Further up</option>
<option class=”level-1″ value=”2912″>   2912 – Update: I</option>
<option class=”level-1″ value=”2918″>   2918 – Update: Ch</option>
<option class=”level-1″ value=”2936″>   2936 – Update: Th</option>
<option class=”level-1″ value=”2943″>   2943 – I have dec</option>
<option class=”level-2″ value=”3254″>      3254 – Update: I</option>
<option class=”level-3″ value=”3324″>         3324 – Update The</option>
<option class=”level-1″ value=”2950″>   2950 – This is so</option>
<option class=”level-1″ value=”2961″>   2961 – One final</option>
<option class=”level-1″ value=”3044″>   3044 – I have upd</option>
<option class=”level-1″ value=”3051″>   3051 – I added a</option>
<option class=”level-1″ value=”3052″>   3052 – Implemente</option>
<option class=”level-1″ value=”3066″>   3066 – Hi Andrew,</option>
<option class=”level-1″ value=”3067″>   3067 – Hi Simon I</option>
<option class=”level-1″ value=”3068″>   3068 – Sorry, mis</option>
<option class=”level-1″ value=”3100″>   3100 – Sorry, mis</option>
<option class=”level-1″ value=”3112″>   3112 – Three more</option>
<option class=”level-1″ value=”3136″>   3136 – Updates: I</option>
<option class=”level-1″ value=”3208″>   3208 – This is a</option>
<option class=”level-1″ value=”3209″>   3209 – This is a</option>
<option class=”level-1″ value=”3238″>   3238 – Update: Th</option>
<option class=”level-1″ value=”3318″>   3318 – Update Whe</option>
<option class=”level-1″ value=”3343″>   3343 – Update: I</option>
<option class=”level-1″ value=”3401″>   3401 – Update I h</option>
<option class=”level-1″ value=”3403″>   3403 – Update Rat</option>
<option class=”level-1″ value=”3518″>   3518 – Update You</option>
<option class=”level-1″ value=”3519″>   3519 – Yes, the h</option>
<option class=”level-1″ value=”3973″>   3973 – [quote quo</option>
<option class=”level-1″ value=”3974″>   3974 – [quote quo</option>
</select>
`
Why is it restricting the data displayed to just a few letters? I tried to research a reason and couldn’t find one.

Thanks

Setting a forum as post only, no read?

Published on July 5th, 2020 by sidrmud

Is it possible to set a particular forum board (not the whole forum site) as such :

A certain group and read everything post
Normal users can only see what they post but not the posts of others.

How to show form replys in a forum?

Published on July 5th, 2020 by levangelista2013

Hi,

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

  • You must be logged in to reply to this topic.
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

bbPress Forums subtitle

Published on July 5th, 2020 by mdavidson1965

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

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:
Forums

bbPress Forums

Seems duplicated to me.

Sorry if this has been discussed but my searches have come up empty.

Website links not indexed in google

Published on July 4th, 2020 by dutt

dear team
thnx for creating such an amazing plugin
but problem is google not indexing my webforum pages
as you can see i have many many question and replied many of them but still problem is google not indexing my page
i am attaching my forum link. kindly check and let me know what are the modification i need to done
and even after indexing why it wontget ranked istitle tage or meta description is not there?
kindly help

Q&A: Expert Support Forum For Natural Hair Extensions

Skip to toolbar