Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 4,351 through 4,375 (of 64,471 total)
  • Author
    Search Results
  • #212560

    In reply to: bbp user online status

    Milan Petrovic
    Participant

    Hi,

    My GD bbPress Toolbox Pro has users online status tracking, among hundreds of other features and tweaks.

    Regards,
    Milan

    #212554
    Chuckie
    Participant

    The latest is 2.6.5:

    bbPress

    #212553
    franpeppe
    Participant
    #212548
    p3t3rr
    Participant

    I have installed a simple recaptcha plugin which works well on the standard wordpresslogin pages. However, there is no recaptcha form appended to the bbpress login widget which I have in the forum sidebar seen here: ‘hatopia.de/community’. When you login using this form you get an error and get redirected to the standart wp login page in order to solve the receptcha.

    Is it possible to modify the form in a way that it’s showing the receptacha form? Or do you have any other recommondation which would mitigate this bad user experience?

    best regards, peter

    #212546
    Milan Petrovic
    Participant

    I currently have many bbPress plugins, and they can add wide range of features that other forum software (like phpBB or similar forums) already have. Check out my other plugins for more information.

    #212545
    Robin W
    Moderator

    since bbpress just uses WordPress registration, then there are a wide variety of registration plugins that will let you add things like recaptcha to prevent bot registration – just google WordPress registration plugins and have a look around eg (just an example)

    Simple User Registration

    If you allow users to register you will always have nuisance users to deal with – comes with then territory :-). I clear about 6 spam posts on here a day.

    #212544
    p3t3rr
    Participant

    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

    Chuckie
    Participant

    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!

    #212527
    Robin W
    Moderator

    not quite sure why you theme is displaying that.

    try this in then custom css part of your theme

    .bbpress h5.description {
    	display: none;
    }

    but check that it does not hide things elsewhere in bbpress

    #212517
    Milan Petrovic
    Participant

    Hi,

    My GD bbPress Toolbox Pro has that, it is configurable (position, elements included…). You can see it on the official support forum here: https://support.dev4press.com/forums/.

    Regards,
    Milan

    #212514
    timmy321
    Participant

    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

    #212507
    levangelista2013
    Participant

    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 [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

    #212506
    mdavidson1965
    Participant

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

    bbPress Forums

    Seems duplicated to me.

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

    #212486
    Robin W
    Moderator

    and maybe this

    SEO and bbPress

    #212485
    Robin W
    Moderator

    if you are using yoast, then this helps

    BBP Improvements for yoast

    if not, read this

    SEO and bbPress

    #212483

    In reply to: Change css id’s

    Robin W
    Moderator

    ok

    1. I’m very unclear about how changing css will increase your website security. Css is passed to your browser, so anyone accessing you site has a view to all the css. I’m always willing to learn, but I know of no hack that involves knowing css id’s, or indeed how changing them would prevent a hack if indeed that were possible – as soon as I load your site to my browser I see all css.

    2. Changing the css class bbpress would involve rewriting large portions of the plugin, which would make it unsupportibale, and would leave you vulnerable to real hacks that security releases in bbpress would prevent

    #212482

    Topic: Change css id’s

    in forum Themes
    infernoprime
    Participant

    Let me first state I am doing this for security in light of all the wordpress sites being hacked. I want to change the #bbpress css ID’s to something like #forum.

    I am not much of a coder so could I ask how I go about this ? or is there an easier way to go about this ?

    #212481
    Milan Petrovic
    Participant

    Some of my plugins really heavily on different caching methods to make sure that things are optimized and fast. And, many things in bbPress are not very optimized due to the nature of data storage used by WordPress, so whenever I can use the cache, I do it.

    As for the statistics function, I am not sure exactly what it returns, I use my function which is quite different, but from what I remember, it returns an array with pairs including labels and values.

    Milan

    #212475
    Chuckie
    Participant

    I checked the functions.php file, line 353:

    	// Forums
    	$forum_count = ! empty( $r['count_forums'] )
    		? wp_count_posts( bbp_get_forum_post_type() )->publish
    		: 0;

    So this is a bbPress issue, part of the function bbp_get_statistics. Is there anyway for me to correct this logic without modifying the core …?

    #212474
    Milan Petrovic
    Participant

    Yeah, ‘members’ sounds much better, I never liked the ‘users’ that is the norm in WordPress. I have created a plugin GD Members Directory that adds a new page listing all forum members with options to filter and order the list of members, and it would be good to have the change from users to members done in bbPress core too.

    #212467
    Chuckie
    Participant

    If you are interested, I ended up using EnlighterJS. It has a fantastic WordPress module that is compatible with bbPress and is fantastic. User support has been great via GitHub:

    Enlighter – Customizable Syntax Highlighter

    If you need to show code snippets in your forum then this should be the one to use – hands down.

    #212461
    Milan Petrovic
    Participant

    My GD bbPress Toolbox Pro has a more advanced statistics widget, but I have checked there, and I did the same thing, so only public forums are counted. And, some in case of hidden forums, they are visible to keymasters only. Your idea about logged and not logged-in users is great, and I will update my plugin to reflect that better for the release next week, and I will expand list of statistical information to include different variations of this count.

    #212460
    Chuckie
    Participant

    But is simply does not make sense. WordPress / bbPress should return public count if not logged on and complete count if logged on – surely. It is false and misleading.

    If they are only listing just the public content then the rest of the figures should match that.

    Not to worry.

    Can we change the terms at all so that they are more consistent with the advanced stats?

    Side point: I put a query in your GD Power Search forum 🙂

    Thanks!

    #212455
    Milan Petrovic
    Participant

    Usually for forums, ‘posts’ count includes both topics and replies, and in this case, that is true (163+393 = 556). As for the forums, do you have more than 2 forums created? This is an official bbPress widget, so the count should be correct.

    #212451
    Chuckie
    Participant

    At the bottom of my forum page I am using the Advanced Statistics plugin and it shows the following statistics:

    View post on imgur.com

    I wanted to try and display this widget in my second sidebar but for some reason it refused to display. So I thought I would try the bbPress Statistics widget instead in my aisebar and that works:

    View post on imgur.com

    I don’t understand some of these statistics though.

    Registered Users – the same 189
    Threads – the same 163
    Topics / Replies – I understand this to be the split down equivalent of Pots 556.
    Forums – why does it say 2?

    Does not make sense.

Viewing 25 results - 4,351 through 4,375 (of 64,471 total)
Skip to toolbar