Settings page


Home Forums Front End PM PRO Settings page

This topic is: Not Resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #41450
    sascha.muller
    Participant

    Hi,

    is it possible to split the content of the setting page. I would like to show the groups separately from settings (somewhere on the page via php) and of course the groups should be switched off on settings page. Is the possible?

    Best and thank you!

    #41455
    Shamim Hasan
    Keymaster

    It is possible but will require custom code. You will need to show groups and give users functionality to change their groups.
    If you know php i can guide you, or you can hire any developer, Or you can contact us using https://www.shamimsplugins.com/hire/

    #41462
    sascha.muller
    Participant
    This reply has been marked as private.
    #41464
    Shamim Hasan
    Keymaster

    First remove group settings from user settings page using following code

    add_filter( 'fep_form_fields', function( $fields ){
        unset( $fields['fep_groups'] );
        return $fields;
    }, 99);
    

    Then show a form where you want your users can set their groups. You can get all groups using Fep_Group_Message::init()->get_all_groups() and user selected groups using Fep_Group_Message::init()->get_user_groups(). When they submit their form determine if they added or removed any group and save value accordingly.
    You can get all in action in class-fep-group-message.php file. See this file.

    #41466
    sascha.muller
    Participant
    This reply has been marked as private.
    #41471
    Shamim Hasan
    Keymaster

    Hi again,
    If you need help with custom code for your settings page you can contact me through https://www.shamimsplugins.com/hire/

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

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.