Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 851 through 875 (of 6,780 total)
  • Author
    Search Results
  • #206517
    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

    #206490

    In reply to: Theme problem

    chetan0412
    Participant

    So.. again issue is back. After letest update again getting below 404 error that “bbpress.min.css?ver=2.6.2” missing.

    /plugins/bbpress/templates/default/css/bbpress.min.css?ver=2.6.2

    what to do ?

    #206483
    cassel
    Participant

    Just for additional information, I added an order number (other than the default 0) on one of the subforums for the SHOWROOM and now, they appear.
    Strangely, I changed it on ONE of them, and both appear.
    Stranger, the other subforums for the other forums, all have a 0 in their order field.

    #206465
    Skulldog
    Participant

    With the recent WordPress and BBpress update I’ve run into an issue where all new posts are now being created as new posts, rather than threaded in replies, and I can’t figure out what’s wrong.

    All my previous posts are still threaded correctly, just anything new is broken now. I’ve tried uninstalling and reinstalling the plugin, dropping all plugins and shifting to default themes.

    Ideas for things to try? Or am I better off wiping and starting over..

    jeffphp
    Participant

    Hi,

    I had the same issue and had no clue of what was happening. I finally found the answer : I had a syntax error in my PHP file.

    Just run a “php -l YourFile.php” in order to ensure that you syntax is correct.

    Ensure also that the default callbacks are present in the file, it won’t work otherwise.

    #206337
    Robin W
    Moderator

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

    transfer this to your pc and edit

    change line 31 from

    <?php if ( bbp_current_user_can_access_create_topic_form() ) : ?>

    to

    <?php if ( bbp_current_user_can_access_create_topic_form() && is_user_logged_in() ) : ?>

    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

    #206329
    Chuckie
    Participant

    The ALT + SHIFT + M hotkey does not work inside the editor of bbPress (even though I have the media plugin enabled and the functional button on the toolbar.

    I raised this both on TinyMCE GitHUB:

    https://github.com/tinymce/tinymce/issues/5223

    And WordPress:

    https://wordpress.org/support/topic/insert-media-hotkey/#post-12174886

    TinyMCE support said:

    TinyMCE doesn’t provide any shortcuts for the image, nor media plugin by default so this is likely an issue with wordpress or wordpress plugin you’re using. Since there is nothing we can do to fix the issue, I’m going to close this and suggest you log an issue with wordpress or wordpress plugin directly.

    WordPress support said:

    AFAIK that hot key is unique to the post edit screen only when using the classic editor. It’s not the editor itself that it’s tied to, but the edit screen for posts. If the block editor had a media button it would probably still work there. However, the bbPress forum post screen is not the same as a WP post edit screen. You would need some JavaScript code that listens for the specific keyboard event and when it occurs, launch the media modal.

    Therefore, it sounds to me that bbPress needs some tweak to cater for the advertised hotkey for inserting images. Can this be considered please? All other hot keys are functional.

    Thank you.

    #206227
    Chuckie
    Participant

    This is a nightmare from what i can see unless you use the TEXT editor and the CODE tag ONLY.

    If I insert some sample XSL script into CODE blocks. Example:

    <xsl:choose>
      <xsl:when test="@ItemPosition='1' and Assistant!=''">
        <xsl:text><span style="background-color: #ffff00;">1st:</span> </xsl:text>
      </xsl:when>
      <xsl:when test="@ItemPosition='2'">
        <xsl:text><span style="background-color: #ffff00;">2nd:</span> </xsl:text>
      </xsl:when>
      <xsl:when test="@ItemPosition='3'">
          <xsl:text><span style="background-color: #ffff00;">3rd:</span> </xsl:text>
      </xsl:when>
    </xsl:choose>

    I can edit it to my hearts content. But if I use the TinyMCE edit to edit this post (with the TinYMCE editor being the default at the moment I edit) it strips all the XSL syntax.

    Now, I realise that I can add a load of XSL tags into my custom functions.php class to permit these syntax words but that will be a nightmare. XSL has a lot of syntax. Is there really no standard (TinyMCE compatible) where we can insert code snippets and they look correct to the user and still be editable afterwards in either editor?

    #206214
    Chuckie
    Participant

    I created a new topic today:

    https://www.publictalksoftware.co.uk/support-forums/topic/is-it-possibly-to-modify-1st-2nd-3rd-translations-on-the-new-s-89-template/

    It is a private forum post. I used TinyMCE editor and it has:

    – Paragraphs
    – Table
    – Background colour
    – Code snippets
    – Heading 3

    I hit “Submit” and the topic looks good.

    I click “EDIT” and alot of all the underlaying HTML is stripped.

    So I hit BACK in my browser. I set the default editor as TEXT and then I clicked EDIT and this time the whole text showed in the TEXT editor.

    Why did the TinyMCE editor strip the content?

    I am using:

    – WordPress 5.3 (it uses TinyMCE 4.9.6 internally)
    – bbp Style Pack
    – TinyMCE ADvanced
    – Advanced TinyMCE Configuration

    I seem to recall I used to have the same problem in general in Wordress when editing posts that had code in them would show funny. I really don’t know enough about the mechanics of the whole system to know where to look or who to direct the issue towards.

    If anyone can replicate this problem or can direct me to a resolution I would be grateful. Thank you.

    Pascal Casier
    Moderator

    @kent25
    The basic reasoning of a forum is: When a topic gets a reply, then the topic has changed so it will show first because the default ordering is by ‘topic last activity’.
    It did not test what @barryhughes-1 wrote, but the reasoning looks to be correct for keeping them shown in the order of topic creation date (not modification)

    #206043

    In reply to: Private forums

    brunov99
    Participant

    Hi Robin;
    you’re absolutely right and I did it but

    1) I have a very complex environment (Buddy Groups, Private and public stuff …)

    2) I wanted to be certain of my results so as not to have to start the whole structure again in case of error

    3) finally make everyone benefit from this answer.

    So for me the sub-forums of a private forum are private by default (but, I will still mark them private jus in case)

    Note: I also think that it is information that could be added in the bbPress codex.

    Thank you for answering.
    bV

    #205986

    I’ve perhaps uncovered a backwards compatibility issue with third party plugins that were using the now deprecated blacklist function.

    In addition, everyone having issues here should remember that bbPress inherits many of the WordPress Discussion (Comments) settings. Moderation words, number of links, allowed tags, and a few others. If topics and replies are getting caught in moderation, comments of the same content would be also.

    That said, the default behavior is NOT to land every single post in Moderation. If that is what is happening, something is broken.

    #205969
    wurkagency
    Participant

    Hi All,

    Had the same issue as described above. The default phpbb.php import script didn’t convert anonymous users of topics and replies and the Pixenated script looped infinately with the conversion of users.

    I’ve fixed the script and uploaded to PasteBin. Feel free to share widely.
    https://pastebin.com/0QQbxL4z

    How To:
    1) Upgrade phpBB to v.3.2.5+
    2) Install BBpress 2.6 RC7
    3) Upload to /wp-content/plugins/bbpress/includes/admin/converters/phpbb.php

    Remember that real men don’t do backups. They cry a lot.

    #205863
    Tom
    Participant

    I noticed once I got my 2.6.1 working that all the font size is tiny, when I made my theme I used some custom css to re-size the font way before I moved to 2.6.1, I also found this thread

    Upgrade to 2.6.1 No Longer Loads Custom CSS

    But no replies, did custom css/themes change?

    The default font size if for ants.

    https://piratemc.com/forums/

    #205832
    Chuckie
    Participant

    In the template.php file it has the following code:

    	// Get the topic status
    	switch ( $topic_status ) {
    
    		// Spam notice
    		case bbp_get_spam_status_id() :
    			$notice_text = esc_html__( 'This topic is marked as spam.', 'bbpress' );
    			break;
    
    		// Trashed notice
    		case bbp_get_trash_status_id() :
    			$notice_text = esc_html__( 'This topic is in the trash.', 'bbpress' );
    			break;
    
    		// Pending notice
    		case bbp_get_pending_status_id() :
    			$notice_text = esc_html__( 'This topic is pending moderation.', 'bbpress' );
    			break;
    
    		// Standard status
    		default :
    			$notice_text = '';
    			break;
    	}

    As you can see, it has specific notices for feedback to the user.

    The above work when it is a “topic” they are creating. What we now need is exactly the same code, but for “replies”. In addition though, this warning needs to be placed just above the empty editor and just after the previous reply.

    It is this code that is lacking for replies. So IMHO your comments don’t apply here. It is not about redirection or anything. It is about consistency with informing the user just like it does for a new topic.

    I hope this helps you in resolving this issue and thank you so much for your time in looking into this.

    The above begins on line 3029:

    /**
     * Displays topic notices
     *
     * @since 2.0.0 bbPress (r2744)
     */
    function bbp_topic_notices() {
    #205814
    Clivesmith
    Participant

    I am sorry to ask this now as I know you are busy with a great update but I do have a bit of a problem.

    I managed to sort most of it out with the old version but am struggling with the new update.

    What I did was remove from the header on the replies page all the headings except “author” and change the “posts” to text I want with some formatting.

    in my childtheme style.css
    I included this to remove most of the headings from everywhere.

    #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
    border-top: 3px solid #0a9ed3;
    overflow: hidden;
    padding: 8px;
    }

    li.bbp-forum-freshness, li.bbp-forum-freshness {
    display: none;
    }

    li.bbp-forum-freshness, li.bbp-topic-freshness {
    display: none;
    }

    li.bbp-forum-info, li.bbp-topic-title { width:100%; }

    li.bbp-forum-topic-count, li.bbp-forum-topic-count {
    display: none;
    }
    li.bbp-forum-reply-count, li.bbp-forum-reply-count {
    display: none;
    }
    li.bbp-topic-title { width:100%; }

    li.bbp-topic-voice-count, li.bbp-topic-voice-count {
    display: none;
    }

    li.bbp-topic-reply-count, li.bbp-topic-reply-count {
    display: none;
    }

    I know this next bit was a dirty way to do it but…
    in wp-content/plugins/bbpress/templates/default/bbpress/loop-replies.php
    I changed line 24 from
    <?php _e( ‘Posts’, ‘bbpress’ ); ?>
    to
    <?php _e( ‘<div align=”center” style =”color:#ff0000″>Please check out all the replies below,<br> if you find a post helpful please vote using the arrows</div>’, ‘bbpress’ ); ?>

    which put in my text in red centered with a carriage return in the middle.

    If I do the same now, I cannot put formatting in. But also I realized that the “author” label is not needed, in fact it looks totally wrong with a mobile.
    You can see what I mean if you look at this page https://wateratairports.com/topic/london-gatwick-lgw/ with both a large screen and a mobile
    Could someone help please ?

    #205796

    Hello, and thanks for the feedback.

    bbPress does not use iconography in the forums or topics lists. Typically images in those locations are used to denote new activity since the user last visited, which is a feature bbPress does not have.

    Looking at your screenshot, bbPress default styling looks nearly identical to it.

    The avatar styling in that screenshot looks custom which forum and site owners are encouraged to do. Customizing communities is super fun.

    The default styling should be refreshed, or a new template pack could be introduced. Either way, it would be nice to have things be a bit prettier.

    #205791
    tapiohuuhaa
    Participant

    IMO small icons among text looks very bad. IMO it would be better, if icons are on left like in XenForo forus.

    See
    https://www.sanaristikkofoorumi.net/wordpress/2019-11-16-13-40-47-www-sanaristikkofoorumi-net-58b4f9888eb8/

    On the right side is a sidebar, where small icon is on the left like here in the freshness list ( I just don’t like that the position is not always the same.

    It would be nice, if bbPress fourums could look as default more professional.

    #205728
    scabbrox
    Participant

    I think I may have found it….

    It’s in the bbpress.php file (of the pre-update version). Is this it?

    ———–
    /**
    * The main function responsible for returning the one true bbPress Instance
    * to functions everywhere.
    *
    * Use this function like you would a global variable, except without needing
    * to declare the global.
    *
    * Example: <?php $bbp = bbpress(); ?>
    *
    * @return The one true bbPress Instance
    */
    function bbpress() {
    return bbpress::instance();
    }

    /**
    * Hook bbPress early onto the ‘plugins_loaded’ action.
    *
    * This gives all other plugins the chance to load before bbPress, to get their
    * actions, filters, and overrides setup without bbPress being in the way.
    */
    if ( defined( ‘BBPRESS_LATE_LOAD’ ) ) {
    add_action( ‘plugins_loaded’, ‘bbpress’, (int) BBPRESS_LATE_LOAD );

    // “And now here’s something we hope you’ll really like!”
    } else {
    bbpress();
    }

    endif; // class_exists check

    function add_new_roles( $bbp_roles )
    {
    $bbp_roles[‘bbp_trial’] = array(
    ‘name’ => ‘Trial’,
    ‘capabilities’ => custom_capabilities( ‘bbp_trial’ )
    );

    $bbp_roles[‘bbp_warlord’] = array(
    ‘name’ => ‘Warlord’,
    ‘capabilities’ => custom_capabilities( ‘bbp_warlord’ )
    );

    $bbp_roles[‘bbp_general’] = array(
    ‘name’ => ‘General’,
    ‘capabilities’ => custom_capabilities( ‘bbp_general’ )
    );

    $bbp_roles[‘bbp_member’] = array(
    ‘name’ => ‘Member’,
    ‘capabilities’ => custom_capabilities( ‘bbp_member’ )
    );

    $bbp_roles[‘bbp_council_member’] = array(
    ‘name’ => ‘Council Member’,
    ‘capabilities’ => custom_capabilities( ‘bbp_council_member’ )
    );

    return $bbp_roles;
    }

    add_filter( ‘bbp_get_dynamic_roles’, ‘add_new_roles’, 1 );

    function add_role_caps_filter( $caps, $role )
    {
    if( $role == ‘bbp_trial’ )
    $caps = custom_capabilities( $role );

    if( $role == ‘bbp_warlord’ )
    $caps = custom_capabilities( $role );

    if( $role == ‘bbp_general’ )
    $caps = custom_capabilities( $role );

    if( $role == ‘bbp_member’ )
    $caps = custom_capabilities( $role );

    if( $role == ‘bbp_council_member’ )
    $caps = custom_capabilities( $role );

    return $caps;
    }

    add_filter( ‘bbp_get_caps_for_role’, ‘add_role_caps_filter’, 10, 2 );

    function custom_capabilities( $role )
    {
    switch ( $role )
    {

    /* Capabilities for ‘councilmember’ role */
    case ‘bbp_council_member’:
    return array(
    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => true,
    ‘throttle’ => true,
    ‘view_trash’ => false,

    // Forum caps
    ‘publish_forums’ => false,
    ‘edit_forums’ => false,
    ‘edit_others_forums’ => false,
    ‘delete_forums’ => false,
    ‘delete_others_forums’ => false,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => true,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => true,
    ‘delete_topics’ => true,
    ‘delete_others_topics’ => true,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => true,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => true,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => true,
    ‘edit_topic_tags’ => true,
    ‘delete_topic_tags’ => true,
    ‘assign_topic_tags’ => true,
    );

    /* Capabilities for ‘member’ role */
    case ‘bbp_member’:
    return array(
    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => false,
    ‘throttle’ => false,
    ‘view_trash’ => false,

    // Forum caps
    ‘publish_forums’ => false,
    ‘edit_forums’ => false,
    ‘edit_others_forums’ => false,
    ‘delete_forums’ => false,
    ‘delete_others_forums’ => false,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => false,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => false,
    ‘delete_topics’ => false,
    ‘delete_others_topics’ => false,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => false,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => false,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => false,
    ‘edit_topic_tags’ => false,
    ‘delete_topic_tags’ => false,
    ‘assign_topic_tags’ => true,
    );

    /* Capabilities for ‘warlord’ role */
    case ‘bbp_warlord’:
    return array(
    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => true,
    ‘throttle’ => true,
    ‘view_trash’ => true,

    // Forum caps
    ‘publish_forums’ => true,
    ‘edit_forums’ => true,
    ‘edit_others_forums’ => true,
    ‘delete_forums’ => true,
    ‘delete_others_forums’ => true,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => true,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => true,
    ‘delete_topics’ => true,
    ‘delete_others_topics’ => true,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => true,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => true,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => true,
    ‘edit_topic_tags’ => true,
    ‘delete_topic_tags’ => true,
    ‘assign_topic_tags’ => true,
    );

    /* Capabilities for ‘general’ role */
    case ‘bbp_general’:
    return array(
    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => true,
    ‘throttle’ => true,
    ‘view_trash’ => true,

    // Forum caps
    ‘publish_forums’ => true,
    ‘edit_forums’ => true,
    ‘edit_others_forums’ => true,
    ‘delete_forums’ => true,
    ‘delete_others_forums’ => true,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => true,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => true,
    ‘delete_topics’ => true,
    ‘delete_others_topics’ => true,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => true,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => true,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => true,
    ‘edit_topic_tags’ => true,
    ‘delete_topic_tags’ => true,
    ‘assign_topic_tags’ => true,
    );

    /* Capabilities for ‘trial’ role */
    case ‘bbp_trial’:
    return array(
    // Primary caps
    ‘spectate’ => true,
    ‘participate’ => true,
    ‘moderate’ => false,
    ‘throttle’ => false,
    ‘view_trash’ => false,

    // Forum caps
    ‘publish_forums’ => false,
    ‘edit_forums’ => false,
    ‘edit_others_forums’ => false,
    ‘delete_forums’ => false,
    ‘delete_others_forums’ => false,
    ‘read_private_forums’ => true,
    ‘read_hidden_forums’ => false,

    // Topic caps
    ‘publish_topics’ => true,
    ‘edit_topics’ => true,
    ‘edit_others_topics’ => false,
    ‘delete_topics’ => false,
    ‘delete_others_topics’ => false,
    ‘read_private_topics’ => true,

    // Reply caps
    ‘publish_replies’ => true,
    ‘edit_replies’ => true,
    ‘edit_others_replies’ => false,
    ‘delete_replies’ => true,
    ‘delete_others_replies’ => false,
    ‘read_private_replies’ => true,

    // Topic tag caps
    ‘manage_topic_tags’ => false,
    ‘edit_topic_tags’ => false,
    ‘delete_topic_tags’ => false,
    ‘assign_topic_tags’ => true,
    );

    break;

    default :
    return $role;
    }
    }

    #205720
    Robin W
    Moderator

    the bit you have altered is in my style pack plugin :

    dashboard>settings>bbp style pack>topic/reply display>item 20.

    However as bbpress now wraps this part in a <ul> you can’t use a <table> in that part.

    However the new template gives you the login part below it which the old did not, so it gets you most of the way there.

    Alternatively you could amend the template which is

    templates/default/bbpress/form-topic.php if you know how to FTP files

    #205677
    pipipi07
    Participant

    If default=21, I was able to input 7 characters in Japanese!
    Apparently, 18-20 can be up to 6 characters, 21-23 can be up to 7 characters, 24 can be up to 8 characters in Japanese. This was a new discovery!

    When bbPress was changed to 2.6, wordpress was upgraded to 5.3 as well. As you say, it may have an impact. I will try a little more to find out what’s wrong.
    For the time being, I decided to set 60 instead of 20.

    Thank you for your cooperation!

    #205659

    In reply to: Child CSS

    hydrogriff
    Participant
    • Yes. W3TC with CSS minification.
    • Yoast SEO. As far as I know, it doesn’t interact with CSS files.
    • No.
    • No.

    Related change test: Tested with both screen and all. Did not work.

    Additional information:

    I have dequeued bbpress stylesheets for non-bbpress pages, using the below code.

    
    function dequeue_bbpress_style() {
        if ( class_exists('bbPress') ) {
          if ( ! is_bbpress() ) {
            wp_dequeue_style('bbp-default');
            wp_dequeue_style( 'bbp_private_replies_style');
            wp_dequeue_script('bbpress-editor');
          }
        }
    }
    add_action( 'wp_enqueue_scripts', 'dequeue_bbpress_style', 99 );
    

    I hope this helps.

    I also noted another issue where the replies were not loading (both topic replies and threaded replies) for any topics.

    #205652
    Adunakhor
    Participant

    Strange. I just typed a reply in here and submitted it and now its not here.

    What I said in that new reply was that I was certain that I was able to edit that section in one of the tabs prior to the plugin update, but now I am unable to find that section. That is part of the problem, the page is showing HTML for a table, but I cannot find anywhere in the plugin where that can be edited, though I am certain it was there before, which is how I changed it from the default text.

    Where in the plugin did you find the default message text?

    #205651
    Robin W
    Moderator

    @thefightingperfectionist – the default message is just ‘you must be logged in to reply to this topic.’ can you say how you have extended this message to include your site details

    #205643

    Different themes use different styling for different reasons.

    If I recall correctly, Twenty Seventeen does not use the text-decoration attribute, but rather uses some kind of text-shadow or bottom-border. It’s a weird anomaly with how that theme decided to do things.

    It’s nearly impossible for bbPress to work perfectly with all themes, but we do try to keep the default styling working well with the themes that come bundled with WordPress.

    This should be solvable with a bit of custom CSS. I’ll create a Trac ticket and see if we can bring this back for you with this theme specifically.

Viewing 25 results - 851 through 875 (of 6,780 total)
Skip to toolbar