Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 701 through 725 (of 6,794 total)
  • Author
    Search Results
  • #212970
    Robin W
    Moderator

    yes, find
    wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php

    transfer this to your pc and edit

    you’ll see

    <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    
    <?php bbp_get_template_part( 'loop',       'topics'    ); ?>
    
    <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>

    change that to take out the first line and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-single-forum.php

    bbPress will now use this template instead of the original

    #212964
    kriskl
    Participant

    yes,

    I have disabled all plugins but BBpress. and changed to WordPress default theme.
    with your code
    this is what it looks like:

    1 2 … 2,843 →
    it still shows the last page: 2,843

    https://opendev.leetdns.com/forums/

    #212955
    Robin W
    Moderator

    ok, you say you have admin rights, but what forum role do you have ?

    Participants are not by default allowed to delete or close.

    Your theme (or another plugin) is only letting you see any admin links when you focus on the content. This is I am pretty sure preventing you clicking the link to edit.

    #212941
    proversion88
    Participant

    I want to separate wordpress and bbpress..wordpress is on my main domain and I want to setup bbpress on a subdomain like forum.mydomain.com

    I tried with adding bbpress, but it really mess up everything on the membership side as it is already setup with custom themes and plugins and lot of modifications through code. I also need to use separate theme for forum as the default is not integrated well with my current theme..For these reasons, I want to install wp and bbpress on a subdomain as separate installation and keep it private and closed for registrations..

    I checked the link you posted, and it was talking about using same database for both wp installations..But in that case, their worpdress installation is identical..Mine has too nuch complicated structure in one and the forum installation will just need bbpress only..

    #212862
    p3t3rr
    Participant

    Hi,

    I am using the Enfold theme which seems to disable the bbpress default breadcrumbs. I re-enabled them for better user navigation with the following code in child theme functions.php

    //show bbpress forum breadcrumbs
    add_action('after_setup_theme', function() {
    	 remove_filter('bbp_get_breadcrumb','avia_fetch_bb_trail',10,3);
    }, 9999);

    Breadcumbs are displayed as seen for example here: https://hatopia.de/community-forum/thema/ich-erstelle-auch-ein-thema-weil-ich-was-zu-sagen-habe/.

    I want to change the default breadcumbs a bit in order to have better UX.
    First, I want to change the text of ‘Startseite’ to ‘Home’. Second, I want to change the name of ‘Foren’ to ‘Community’ and change the link of ‘Foren’ to another link (‘…/community’).

    Can this be achieved and if so how?

    Thank you for the support and best regards, Peter

    #212837
    Milan Petrovic
    Participant

    CSS styling for the select field is most likely limited by the theme in length (bbPress default styling does it also), so you need to change the width for that element to 100%.

    #212836

    In reply to: Remove /topic from url

    Milan Petrovic
    Participant

    That is very hard to do because the rule would conflict with default WordPress rules. It is possible, but there is no plugin that can do something like that as far as I know. For my purpose (not forum related, but similar), I had to create custom rules and override and intercept default rules to make it work. And, it can highly depend on other rewrite rules added by other plugins. I never managed to find universal solution that will just work.

    #212786

    In reply to: Taxonomies for Topics

    Robin W
    Moderator

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php

    transfer this to your pc and edit as needed

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-topic.php

    bbPress will now use this template instead of the original

    #212736
    Robin W
    Moderator

    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

    #212717

    In reply to: Need Help Please

    Robin W
    Moderator

    great 🙂

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.php

    transfer this to your pc and edit

    change this from line 27

    <p>
    			<label for="bbp_anonymous_email"><?php esc_html_e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
    			<input type="text" id="bbp_anonymous_email"   value="<?php bbp_author_email(); ?>" size="40" maxlength="100" name="bbp_anonymous_email" />
    		</p>

    to

    <input type="hidden" id="bbp_anonymous_email" value="anon@anon.com" name="bbp_anonymous_email" />

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-anonymous.php

    bbPress will now use this template instead of the original, and the email address will then not be asked for.

    #212666
    Robin W
    Moderator

    you’d need to amend

    \bbpress\templates\default\bbpress\form-user-edit.php

    These instructions show what is needed

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php

    transfer this to your pc and edit

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-user-edit.php

    bbPress will now use this template instead of the original

    #212664
    Robin W
    Moderator

    you’d need to amend

    \bbpress\templates\default\bbpress\form-anonymous.php

    #212661
    Robin W
    Moderator

    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

    #212656
    rithvik2109
    Participant

    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/forums

    I am using the default Twenty Twenty theme.

    #212652
    franpeppe
    Participant

    Not yet because its not safe to turn back to the default WP Theme.
    Thank you anyway for your support.

    #212651
    Chuckie
    Participant

    I have not really sure how to solve your issue. Have you tried with a default WordPress theme?

    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!

    #212532
    Milan Petrovic
    Participant

    @delta5 How the stats block looks like is visible to logged in users on my forums, but that can be controlled via settings, here is the demo forum with the feature enabled for the visitors: https://xscape.info/quantum-default/forums/. If you want to test the plugin on our demo website (full admin test), you can request demo here: https://www.dev4press.com/request-demo/.

    #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

    #212311
    Chuckie
    Participant

    My theme has settings to change layout for certain page types.

    For the “Blog / Archives” type I set it to show just the left side bar:

    https://www.publictalksoftware.co.uk/support-forums/

    But when you drill down to a forum, eg:

    Frequently Asked Questions

    It has two side bars again (2 bars is the site default).

    It does has a setting for “single page posts” but I was reluctant to tick that since we have the profile page, various login pages, search page etc.

    So how can we identify that this is a “forum view” or a “topic view” page and only show the one bar?

    #212296
    Milan Petrovic
    Participant

    By default, bbPress doesn’t make any AJAX calls with the exception of subscribe/favorite actions. You should determine what is making the calls (there should be ‘action’ argument sent with each AJAX request).

    #212210
    Robin W
    Moderator

    ok, you’ll need to edit a bbpress template using FTP

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php

    transfer this to your pc and edit

    you’ll need to remove the line that says

    <?php bbp_breadcrumb(); ?>

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-archive-forum.php

    bbPress will now use this template instead of the original

    #212105
    Robin W
    Moderator

    ok, you would be better to have a child theme to your paid theme, so maybe consider that going forward

    Functions files and child themes – explained !

    but what you will need to do is

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-user-login.php

    transfer this to your pc and edit it to remove everything EXCEPT

    <?php

    /**
     * User Login Form
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // Exit if accessed directly
    defined( 'ABSPATH' ) || exit;
    
    ?>

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-user-login.php

    bbPress will now use this template instead of the original, and not show the login

    If you do this in your paid theme, you will need to repeat it on every theme upgrade as that will wipe your changes out, but as long as you know that, you can place the file in your paid theme, just remember what you did ! a child theme maintains these changes.

    #212096
    #211980

    Topic: bbpress Feller at

    in forum Plugins
    pmanuel
    Participant

    Warning: Creating default object from empty value in /var/www/schlauti/wp-content/plugins/bbpress/.bbpress.php on line 1635

Viewing 25 results - 701 through 725 (of 6,794 total)
Skip to toolbar