This topic has 13 replies, 8 voices, and was last updated 10 years by Abe.

  • Author
  • #7102
     gideon1210
    Participant

    How do you change the the wording on the membership levels on paid memberships pro i.e
    View members directory
    View members profile
    Access group directory
    Access to groups
    View site activity
    Send Private messages
    Add media to your profile

    i tried

    add_filter(‘kleo_pmpro_level_restrictions’, ‘kleo_my_levels_checkmarks’);

    function kleo_my_levels_checkmarks($settings) {

    $settings = array (
    array(
    ‘title’ => __(‘Restrict members directory’,’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’ => __(‘Restrict access to groups directory’,’kleo_framework’),
    ‘front’ => __(‘Access group directory’,’kleo_framework’),
    ‘name’ => ‘groups_dir’
    ),
    array(
    ‘title’ => __(‘Restrict access to single group page’,’kleo_framework’),
    ‘front’ => __(‘Access to groups’,’kleo_framework’),
    ‘name’ => ‘view_groups’
    ),
    array(
    ‘title’ => __(‘Restrict users from viewing site activity’,’kleo_framework’),
    ‘front’ => __(‘View site activity’,’kleo_framework’),
    ‘name’ => ‘show_activity’
    ),
    array(
    ‘title’ => __(‘Restrict users from sending private messages’,’kleo_framework’),
    ‘front’ => __(‘Send Private messages’,’kleo_framework’),
    ‘name’ => ‘pm’
    ),
    array(
    ‘title’ => __(‘Restrict users from adding media to their profile using rtMedia or bpAlbum’,’kleo_framework’),
    ‘front’ => __(‘Add media to your profile’,’kleo_framework’),
    ‘name’ => ‘add_media’
    )
    );
    return $settings;
    }

    but it doesnt change anything

    #7105
     adam
    Participant

    Are you putting this in functions.php and changing the ‘front’ line to whatever you want it to say?

    #7107
     gideon1210
    Participant

    yes im putting it in functions.php and for example changing
    array(
    ‘title’ => __(‘Restrict users from sending private messages’,’kleo_framework’),
    ‘front’ => __(‘Send messages’,’kleo_framework’),
    ‘name’ => ‘pm’
    ),

    but it doesnt change it on the site

    #7203
     SQadmin
    Keymaster

    You should just customize the code from: https://archived.seventhqueen.com/forums/topic/extra-membership-restrictions-how-to to sweetdate-child/functions.php an have the child theme activated
    If is not working then you are not copying it correctly or have a caching plugin, etc

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

    trying to do the same thing.
    where do i add it in the functions file…at the very end after all the text?

    #8630
     Abe
    Keymaster

    Yes, just before the ending ?> line

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #8665
     whinds
    Participant

    Hi
    I added the code successfully and it works!

    But I notice that the order of my Membership Levels have been flipped around (from left to right, the highest price to the lowest). How do I change it back to lowest to highest?

    Also when I select a membership level 2, 3 or 4, I get the following error message;
    Site Temporarily Unavailable

    We apologize for the inconvenience. Please contact the webmaster/ tech support immediately to have them rectify this.
    error id: “bad_httpd_conf”

    #8666
     whinds
    Participant

    Also how do I change the restriction for each level?
    Ie.

    Level 1
    View members directory
    View members profile

    Level 2
    View members directory
    View members profile
    Access group directory
    Access to groups
    View site activity

    Level 3
    View members directory
    View members profile
    Access group directory
    Access to groups
    View site activity
    Send Private messages
    Add media to your profile

    #8697
     escort
    Participant

    Tryng to help here a little bit… about restrictions and order:

    admin->sweetdate->Memberships…Just customize it as pleased

    #8720
     Abe
    Keymaster

    THanks @escort
    also from admin->sweetdate->Memberships you change the order of the levels

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #8739
     whinds
    Participant

    found it – thank you both.

    However, I still have the problem when I select a package;

    We apologize for the inconvenience. Please contact the webmaster/ tech support immediately to have them rectify this.
    error id: “bad_httpd_conf”

    #8755
     Abe
    Keymaster

    That is probably a hosting problem. Try activating debug mode to see more wordpress errors. Set WP_DEBUG to TRUE in wp-config.php

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #8761
     charos1978
    Participant

    Paid Memberships Pro fails on install

    #8794
     Abe
    Keymaster

    Hi, Your reply is very vague. Please tell us what error you are receiving and other useful info for debugging your problem.
    Cheers

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

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

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?