[Plugin: SimplePress] Translation and permissions
-
Hi, I have two problems with SimplePress.
I hope someone could help because I spent already few hours on this ??1. Translation
I installed polish translations but it’s not translated 100% and I want on front-end translated everything. I have problems with menu on users profile (Edit Profile, Edit Identities etc.)
These phrases are not included in .po file and also I can’t find them in php files. I was looking for every files that include these phrases using Total Commander and it found them only on simple-press/admin/library/spa-support.php so at backend not frontend. I translated them where I found them but it didn’t change on users profile.
So where are these phrases if they are nowhere?
I also found on sp-ahah-profile.php fragment:
if (!$hideMenu) { # buffer the menu list while we find the current menu item $ahahURL = SFHOMEURL.'index.php?sp_ahah=profile&sfnonce='.wp_create_nonce('forum-ahah')."&tab=$thisTab&menu=".$menu['slug'].'&user='.$userid.'&rand='.rand(); if (is_ssl()) $ahahURL = str_replace('https://', "https://", $ahahURL); $out.= "<li class='spProfileMenuItem $current'>"; if ($current) { $out.= "<a rel='nofollow' href='javascript:void(null)' id='spProfileMenuCurrent'>".$menu['name'].'</a>'; } else { $out.= "<a rel='nofollow' href='$ahahURL' id='spProfileMenu-".esc_attr($menu['slug'])."'>".$menu['name'].'</a>'; } $out.= '</li>'; }
and I think that this is the code which sets menu items on user profile but I don’t know what I should do with this to translate these words.
2. Permissions
My second problem is about permissions. I want to set that users in one usergroup see on member list only users from this usergroup, not everyone.
On permission settings when I mouse over “Can view the members lists” it says “Can view the members listing. This may or may not be limited to other members who share user groups and permissions”. So I want to limit it as it says… and I was looking for three times on every option and I can’t find where I can set it like this.
Thanks in advance for every help.
- The topic ‘[Plugin: SimplePress] Translation and permissions’ is closed to new replies.