Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 4,276 through 4,300 (of 64,401 total)
  • Author
    Search Results
  • #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.

    #212445
    Robin W
    Moderator

    WordPress creates a unique sequential number for every post, page, custom post type (which bbpress has as forums, topics and replies), every revision of the above, and many other plugins also use this mechanism.

    so if a topic is created as 15623 it means there are 15622 pre-existing entries of the above in the database.

    replies to topics are associated by another entry in the database giving the post’s ‘parent’

    so numbers are entirely irrelevant in the scheme of bbpress.

    #212443
    haddlyapis
    Participant

    Hi there,
    is there any logic to how the 5-digit id is assigned to a bbpress topic? Furthermore, is there any logic as to how the id of any sub-topics created within that topic are associated with the forum topic?
    thx
    Daniel

    #212441
    franpeppe
    Participant

    Hello Robin,
    Thank you for your reply, i tried as you said with bbpress 2.5.4 but nothing changes, i tried also to reinstall the latest version of bbpress and update the permalinks but nothing changes too.

    #212432
    Robin W
    Moderator

    the ‘term’ code deletes orphaned and unused stuff in the database. By definition these belong to nothing, so there is no bbpress relationship (or indeed other relationship) that you can select against

    #212409
    Rough Pixels
    Participant

    Hi Robin…actually, I tried it with all plugins disabled (with the exception of bbPress of course). The same thing happens. I even deleted all my overrides from the theme level… the same issue. I then changed over to the twenty Twenty theme, the same issue.

    I may have to wait until I upload the new site version on Monday to see if the subforums show up on the forum index page.

    #212406
    Robin W
    Moderator

    bbpress is not particularly Xampp friendly, and without being able to see your site of ocurse it’s hard to start to problem find.

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    #212401
    franpeppe
    Participant

    Hello,
    I have updated bbPress plugin to the latest version and i noticed that my forum is not working correctly now, when i go in the main page of the forum it loads just one topic and the page is without CSS, just a blank page with the title of the topic and some infos like the date and the creator.
    Then i tried to download some old versions of bbPress to install but i dont remember which version was installed before.
    So i tried bbPress 2.5.4 (its the one that i think it was installed before) and with this one i cant reach any page of the forum, infact when i go in the forum section of wordpress dashboard it load just a blank page.
    I tried already some versions of bbPress from 2.5.1 to 2.5.9 then 2.6.0 and the latest but nothing changes.
    The only difference is that with 2.6.0 or next loads correctly the forum section in the dashboard and with 2.5.9 or prev doesnt.

    What went wrong just updating and reverting the update?

    #212400
    BEdesign
    Participant

    Hi folks,

    I am fairly new to BBpress and I think in previous dev builds using BBpress would just use a users username.

    If not how can I get this to work? I didn’t see anything in the settings unless I am not looking in the right place.

    Cheers,

    Ben.

    #212384
    Chuckie
    Participant

    I was running a Query Monitor on my site and noted the following:

    Undefined index: latest-user

    wp-content/plugins/bbpress-improved-statistics-users-online/includes/public/class.online.php:229
    bbPress_Advanced_Statistics_Online->allowed_tags()

    So I had a look at the core file at that line and found:

            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"]
                        );

    The offender is:

    "%LATEST_USER%" => $this->stats["latest-user"]

    So I tried to find where latest-user is also used and only found one place in all the files, here:

            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;
            }

    This led me to:

                // Create the statistics variable
                $this->stats = $this->stats_extra( $activity );

    So this warning looks like a false positive to me. Thoughts?

    #212367
    Robert Hewitt
    Participant

    For the part of my website containing bbPress, I don’t want the main navigation menu to show. To achieve this, I enter CSS code on the main web page where [bbp-forum-index] is displayed.

    The CSS code does its job as far as the first page is concerned – that is the page where the forums are listed.

    However, if you select a specific forum to look at, this takes you to a new page. Unfortunately, on the new page, the main navigation menu is showing. So the CSS code has not done its job here.

    Any advice on how to solve this problem would be much appreciated!

    #212356
    thevisas
    Participant

    Hi,
    Nothing is displayed in a page when using bbp-forum-index shortcode.
    Tried saving permanent links, but the issue is still present.
    The same happens when creating new page with bbp-forum-index shortcode.
    Not sure when the issue started, but probably since 2.6 update.
    Current bbpress version is 2.6.5.
    The URL is https://www.thevisasofoz.com/australia-migration-forum/

    schossie
    Participant

    Hello I have the latest wordpress and bbpress version.
    Some of my users told me that they cant subscribe to a forum anymore. By deactivating all my plugins and activating them again I found out it is due to BP Plugin.

    Do you know anything about that?
    Thanks a lot!

    #212339
    Tessa Watkins
    Participant

    I keep coming back to this in my search to find a shortcode to display the same content (like the avatar, profile link, etc.) as the widget titled (bbPress) Login Widget.

    Unfortunately, none of these account-related shortcodes from https://codex.bbpress.org/shortcodes/

    [bbp-login] – Display the login screen.
    [bbp-register] – Display the register screen.
    [bbp-lost-pass] – Display the lost password screen.

    show the same content as the widget, especially for a logged in user. There doesn’t seem to be a shortcode, so instead, I’m using this successfully.

    if (class_exists('BBP_Login_Widget')) {
        the_widget('BBP_Login_Widget');
    }
    #212335
    Vad
    Participant

    Hello. The site works but the forum does not open, error 500. How to fix it?

    xampp-windows-x64-7.4.7-0-VC15

    Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.7 Server at my-site.localhost Port 80

Viewing 25 results - 4,276 through 4,300 (of 64,401 total)
Skip to toolbar