Skip to:
Content
Pages
Categories
Search
Top
Bottom

My New Plugin: bbPress String Swap – Easily Change Some Frontend Text Strings


  • David Decker
    Participant

    @daveshine

    I’ve released a brand new bbPress Plugin called β€œString Swap” where you can easily change a few breadcrumb parameters as well as some other strings for the frontend (Forum Archive Title, some Breadcrumbs parameters, User Roles Display, plus a few Forum strings).

    You can check it out here:
    http://wordpress.org/extend/plugins/bbpress-string-swap/

    After installing/activating, look on the bbPress Settings page where there is a new section then πŸ™‚

    Any feedback is much appreciated! πŸ™‚ Thank you!

    Hope this helps some users πŸ™‚
    -Dave.

Viewing 6 replies - 1 through 6 (of 6 total)

  • David Decker
    Participant

    @daveshine

    Just released v1.1.0 of my plugin!
    https://wordpress.org/extend/plugins/bbpress-string-swap/

    It add the previous/next string parameters for Topic & Reply pagination.
    So this also very handy for changing this via bbPress main settings πŸ™‚

    Enjoy!


    Tanya
    Participant

    @pjtna

    It works for me hurrah! Thanks Dave πŸ™‚ See it in action at the bottom of the page here – I changed the pagination strings to Next and Prev instead of the arrows: http://netballscoop.com/forums/topic/trying-again/

    So how would I change this myself without the plugin, since I am curious?

    Nice Dave πŸ™‚


    yso1
    Participant

    @yso1

    Hi. Nice Plug. Howeer my site still displays “keymaster”. Some of the other strings are changed though.


    yso1
    Participant

    @yso1

    I did the change

    But still displays keymaster..

    This is an inactive topic. If anyone else knows..


    yso1
    Participant

    @yso1

    Fixed it myself. Extending on benklocek s code, and also translating, added to themes functions.php

    function my_custom_roles( $role, $user_id ) {
    if( $role == ‘Keymaster’ )
    return ‘Sjef’;

    if( $role == ‘Spectator’ )
    return ‘Observator’;

    if( $role == ‘Blocked’ )
    return ‘Utestengt’;

    if( $role == ‘Participant’ )
    return ‘Deltager’;

    return $role;
    }

    add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles’, 10, 2 );

    Peace!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar