• Resolved filout

    (@filout)


    Hello everybody!

    The [bsp-profile] shortcode is really great but can i change the profile form too!?
    For example i do’t want to display the sections ‘About you’ or ‘Your Forum Signature’ – can i hide them in backend settings and if yes, where!?

    Best regards, Thomas

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter filout

    (@filout)

    Supplement:
    There isn’t any translation possible for ‘Your Forum Signature’ (in german).

    You can translate it into german

    install poedit
    use FTP and
    find the file
    bbp-style-pack.pot
    translate it into german (not need to translate everything)
    put the file into folder …/wp-content/languages/plugins/

    NOT to the language folder of the plugin itself because it will be deleted in the next update!

    Thread Starter filout

    (@filout)

    @tapiohuuhaa:
    Many thanks for your hint

    Plugin Author Robin W

    (@robin-w)

    sorry I reply on others to translate this plugin.

    on your initial question, I have not yet coded anything for this.

    bbpress does have a form you can amend, and if you know how to FTP a file, this is fairly easy to do

    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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php
    Make a copy of this file, 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
    and you can amend this.

    If you look at the file, you will see sections, and you can delete sections

    Thread Starter filout

    (@filout)

    Hi @robin-w and many thanks for your answer and tip.
    Another solution could be, you give every section (or every HTML element) a CSS class name and user can hide/show this section (or element) in Custom CSS in the theme.
    Perhaps in the next version? :-)=)

    Plugin Author Robin W

    (@robin-w)

    I may look at this at a later stage, but there is a long list !

    If you mean backend profile edit form, they actually have classes, for example

    class=”user-nickname-wrap”

    You can easily hide elements. I tried to add own CSS but that seems not work for backend, but try Code Snippets

    add_action( ‘wp_head’, function () { ?>
    <style>

    /* write your CSS code here */

    </style>
    <?php } );

    and set that as “Only run in administration area”

    Frontend profile settings miss classes.
    If you now want to limit setting, you should allow use only backend way to redine user profile settings, because Robin’s plugin does not have classes in order hide unwanted items.

    Sorry, doesn’t work. I tried
    add_action( ‘wp_head’, function () { ?>
    <style>
    tr.user-first-name-wrap,tr.user-last-name-wrap
    { display:none;}
    /* write your CSS code here */

    </style>
    <?php } );

    No effect. I don’t understand why I can’t set for backend own CSS.

    Thread Starter filout

    (@filout)

    @tapiohuuhaa:
    I don’t show the backend for a normal registered user, so it isn’t a solution for me to hide some sections in it.
    The main problem for me is that a registered user can’t change the display name in his profile in frontend so the [bsp-profile] shortcode is a very good solution (for me) because here the user can change the display name too.

    @robin-w:
    Okay. 🙂

    The main problem for me is that a registered user can’t change the display name in his profile

    I don’t figure that problem. I can set that clicking first “Edit your profile” button.

    The one of the available options is to set the display name.
    In my mind that belongs to this plugin.

    I may look at this at a later stage, but there is a long list !

    I would add classes to the front end profile forms.
    I would allow Robin to get code as code snippet.
    Just create an account to my site and I give full rights to the backend.
    I just need to know what file to edit.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Change Profile form’ is closed to new replies.