Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

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

    #205638
    Chuckie
    Participant

    Mine still show underline on mouse hover. But then I sent my CSS styling to do that anyway as my theme by default didn’t.

    #205589
    pipipi07
    Participant

    Thank you for thinking together, @casiepa!
    I’m sorry for the space after the dollar. I missed it.
    But I fixed it but it didn’t work.

    For Ver2.5, if $default = 20, you should have been able to send up to 20 characters in Japanese.

    #205576
    livefree
    Participant

    In using bbstyle pack, when I have it set to have edit profile in the menu, it refers to this link…
    /users/*username*/edit
    … but I end up with an error page…
    “Sorry, This Page Is Gone.
    The page you are trying to view no longer exists or has been moved. You may try the search form below to find it.”

    I also tried the bbstyle pack shortcode [bsp-profile] and same result as above.

    You asked on another thread…
    What have you got set for dashboard>settings>forums>forum user slugs>user base ?
    It is set to the default… I never changed it…
    users

    I found an old plugin as a workaround, but I would rather not add another plugin, especially one that is not updated for the past two years…
    /plugins/bbp-profile-link-shortcode/

    When I use that plugin, it works fine for profile edit… I put their shortcode in a sidebar widget… and it refers to this link…
    /users/*username*/
    … this link works to reach Profile.

    Here is the problem…

    I have my wp in a sub folder of the domain, WordPress Address (URL).
    And, the Site Address (URL) is the domain root.

    bbstyle pack is using the WordPress Address (URL) … adding the folder to the link string … and not the Site Address (URL)…like this…

    /domain/folder/users/*username*/edit
    … this will not work… “Page is Gone”

    /domain/users/*username*/edit
    … this works.

    Is there a way to change the setting for bbstyle package to use the Site Address (URL) as opposed to the WordPress Address (URL)?

    #205563
    Robin W
    Moderator

    sorry, you might need to start again and express a single issue that I can try and help with.

    1. At present I understand that you are using style pack, but have set to not have edit profile in the menu. I therefore do not understand what you are pressing/clicking/selecting that you need help with
    2. which plugin are you referring to in ‘the workaround is this plugin, but I would rather not add another plugin, especially one that is not updated for the past two years.’
    3. I simply don’t understand what you are saying about what works and doesn’t work – can you write it again into one single thread. The default edit for profile is /users/*username*/edit. what have you got set for dashboard>settings>forums>forum user slugs>user base ?

    #205541
    Pascal Casier
    Moderator

    Hi @pipipi07,
    First of all, there should be NO space between the dollar sign and the word ‘default’, so please make sure to change that 3 times (so $default, not $ default)

    If you put
    $default = 20;
    then how many Japanese characters were you able to put in v2.5?

    #205529
    pipipi07
    Participant

    Thank you for making it 2.6!
    However, there was a problem after the update.

    I use bbpress in Japanese.
    In ver.2.5, a code that sets the topic title to 20 characters in Japanese was added to functions.php and it worked properly.
    This is the code.

    function title_max_length ($ default) {
    $ default = 20;
    return $ default;
    }
    add_filter ('bbp_get_title_max_length', 'title_max_length');

    But after 2.6, it didn’t work.
    For example, if default = 20, only 6 characters will be reflected in the title in Japanese. If it is half-width alphanumeric characters, up to 20 characters are correctly reflected.

    I know this is a multibyte issue, but I don’t know how to deal with it. Can I change the limit on the number of characters in a title even with multibyte?
    I hope to find a good solution.

    I am not good at English. I’m sorry in terrible English. thank you for reading!

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