This topic has 7 replies, 2 voices, and was last updated 9 years by utandem.

  • Author
  • #49405
     utandem
    Participant

    English version:

    three main questions :

    3ºRestrict Levels of users access to a submenu item of buddypress .

    ex : They can only edit the user profile level 2 and 3 .

    2ºRename Items from menus and submenus of buddypress

    ex : Profile = perfil
    view = vista

    3ºChange The content PMPro prices , I mean , the features , not the description

    I have problems with this, thank you all

    Versión en español:

    3 grandes preguntas:

    1ºRestringir acceso por niveles de usuarios a un item del submenu de buddypress.

    ex: Solo pueden editar el perfil usuario de nivel 2 y 3

    2ºRenombrar los items de menus y submenus de buddypress

    ex: Profile= perfil
    view=vista

    3ºCambiar el contenido de los precios de PMPRO, quiero decir, las caracteristicas, no la descripción

    Estoy realmente atascado en esto, muchas gracias a todos!

    #49477
     sharmstr
    Moderator

    1 – You should ask the PMPro developers. kleo gives you some basic restriction options, but for restrictions that granular, you’ll have to custom code it.

    2 – You’ll need to translate it. https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    3 – You can filter them. Try this in your child theme and edit however you want.

    COPY CODE
    
    add_filter('kleo_pmpro_level_restrictions', 'my_custom_levels');
    
    function my_custom_levels() {
    $my_pay_settings = array (
        array(
            'title' => __('Members directory restriction','kleo_framework'),
            'front' => __('View members directory','kleo_framework'),
            'name' => 'members_dir'
        ),
        array(
            'title' => __('Restrict viewing other profiles','kleo_framework'),
            'front' => __('View members profile','kleo_framework'),
            'name' => 'view_profiles'
        ),
        array(
            'title' => __('Groups directory restriction','kleo_framework'),
            'front' => __('Access group directory','kleo_framework'),
            'name' => 'groups_dir'
        ),
        array(
            'title' => __('Group page restriction','kleo_framework'),
            'front' => __('Access to groups','kleo_framework'),
            'name' => 'view_groups'
        ),
        array(
            'title' => __('Site activity restriction','kleo_framework'),
            'front' => __('View site activity','kleo_framework'),
            'name' => 'show_activity'
        ),
        array(
            'title' => __('Sending private messages restriction','kleo_framework'),
            'front' => __('Send Private messages','kleo_framework'),
            'name' => 'pm'
        ),
        array(
            'title' => __('Restrict users from adding media to their profile using rtMedia','kleo_framework'),
            'front' => __('Add media to your profile','kleo_framework'),
            'name' => 'add_media'
        )
    );
    return $my_pay_settings;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #49500
     utandem
    Participant

    Thanks for the answer, i´ve tried this yesterday but change every level, i need to change one by one. Thanks

    #49505
     sharmstr
    Moderator

    Can you be specific?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #49509
     utandem
    Participant

    I have 3 levels: Basico, medio y avanzado. I need to put diferent content inside each price. The three levels will have different content . If I change the filter, the three levels have the same content .

    #49514
     sharmstr
    Moderator

    You set which is active in each level by using the dropdowns in Theme Options > Memberships. Change the drop down to “Restrict Certain Levels” and pick the levels you want. If you want to put your own in there, you’ll have to customize the page. Take a look at this. http://www.paidmembershipspro.com/2015/02/new-plugin-with-advanced-options-for-membership-levels-page-display/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #49520
     sharmstr
    Moderator

    Actually, there is a sticky about this: https://archived.seventhqueen.com/forums/topic/membership-levels-price-page

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #49537
     utandem
    Participant

    Thanks for the reply.

    This is enough for me , the problem is that my subscription does not refer to these functions … so I’ll have to find a way to play with that. Thank You

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?