-
Author
-
November 22, 2013 at 16:11 #7102gideon1210Participant
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 profilei 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
November 22, 2013 at 16:29 #7105adamParticipantAre you putting this in functions.php and changing the ‘front’ line to whatever you want it to say?
November 22, 2013 at 16:54 #7107gideon1210Participantyes 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
November 25, 2013 at 12:03 #7203SQadminKeymasterYou 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, etcHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 20, 2013 at 16:25 #8619alim.jivrajParticipanttrying to do the same thing.
where do i add it in the functions file…at the very end after all the text?December 20, 2013 at 16:59 #8630AbeKeymasterYes, 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.December 22, 2013 at 04:20 #8665whindsParticipantHi
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 UnavailableWe apologize for the inconvenience. Please contact the webmaster/ tech support immediately to have them rectify this.
error id: “bad_httpd_conf”December 22, 2013 at 04:37 #8666whindsParticipantAlso how do I change the restriction for each level?
Ie.Level 1
View members directory
View members profileLevel 2
View members directory
View members profile
Access group directory
Access to groups
View site activityLevel 3
View members directory
View members profile
Access group directory
Access to groups
View site activity
Send Private messages
Add media to your profileDecember 23, 2013 at 04:12 #8697escortParticipantTryng to help here a little bit… about restrictions and order:
admin->sweetdate->Memberships…Just customize it as pleased
December 23, 2013 at 14:14 #8720AbeKeymasterTHanks @escort
also from admin->sweetdate->Memberships you change the order of the levelsHi 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.December 23, 2013 at 18:05 #8739whindsParticipantfound 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”December 25, 2013 at 00:28 #8755AbeKeymasterThat 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.December 27, 2013 at 14:44 #8794AbeKeymasterHi, Your reply is very vague. Please tell us what error you are receiving and other useful info for debugging your problem.
CheersHi 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. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.