News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Why is the permissions page not showing correctly??

Started by cotty, November 27, 2011, 01:36:31 AM

Previous topic - Next topic

cotty

Hi all,
Can anyone help me fix my permissions page as it does not seem to be showing correctly, see attached image.



Using Blackrain v3 theme with smf 2.0.1

Not sure what file i need to attach so if someone can point me in the right direction that would be great!!

Cheers

EDIT: Ive attached my permissions.php just incase its needed

Kays

Hi, that is caused by a comments mod not adding the language strings.

If you do have a comments mod, check that the language strings added to the appropriate language file.

Manual Installation of Mods

If you can't identify that mod. Could you post a list of the mods you do have installed.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

cotty

Thanks, i would have no idea how to go about it. Here is the current list of mods i have installed;


1.   Contact Page   3.0   [ Uninstall ]
2.   NChat   1.3.2   [ Uninstall ]
3.   SMFPacks Likes Pro Mod   1.2.1   [ Uninstall ]
4.   Tapatalk SMF 2.0 RC4/RC5/Final Plugin   3.0.1   [ Uninstall ]
5.   Invitation Message In Your Face (IMIYF)   0.3.1   [ Uninstall ]
6.   Guest Registration Notification   1.4.3   [ Uninstall ]
7.   Stop Forum Spam   1.0   [ Uninstall ]
8.   Spiders Don't Increase Topic Views   1.1.1   [ Uninstall ]
9.   LMGTFY BBcode   3.7.1   [ Uninstall ]
10.   Profile Comments   2.0.2   [ Uninstall ]
11.   SMF 2.0.1 Update   1.0   [ Uninstall ]
12.   6 Custom buttons / tabs with Sub Menus (4)   0.5   [ Uninstall ]
13.   Remove Help From Menu   1.0   [ Uninstall ]
14.   eNinja - Custom Pages   1.0.12   [ Uninstall ]
15.   Custom Page With Tab Button   1.3   [ Uninstall ]
16.   Guest Closed Topic   1.0   [ Uninstall ]
17.   Aeva ~ Auto-Embed Video & Audio   7.1   [ Uninstall ]
18.   Pretty URLs   1.0RC5.2   [ Uninstall ]
19.   Disable 'last edit by...' for Administrators   1.2   [ Uninstall ]
20.   Add Favicon.ico Support   1.101   

Thanks

Kays

It looks like it the Profile Comments mod. What you'll need to do is to download the Modifications.english.php file from the Languages folder in the default theme using an FTP client. Then add the following to it at the end before the closing php tag ( ?> ).


//Begin Profile Comments Text Strings

// Permissions
$txt['permissiongroup_pcomments'] = 'Profile Comments';
$txt['permissiongroup_simple_pcomments'] = 'Profile Comments';
$txt['permissionname_pcomments_view'] = 'View Comments';
$txt['permissionhelp_pcomments_view'] = 'If the user is allowed to view user comments.';
$txt['permissionname_pcomments_add'] = 'Allow add Comments';
$txt['permissionhelp_pcomments_add'] = 'If the user is allowed to enter comments in others profile.';
$txt['permissionname_pcomments_edit_own'] = 'Edit own comment.';
$txt['permissionhelp_pcomments_edit_own'] = 'Allows the user to edit their own comments.';
$txt['permissionname_pcomments_edit_any'] = 'Edit any comment';
$txt['permissionhelp_pcomments_edit_any'] = 'Allows the user to edit any comments.';
$txt['permissionname_pcomments_delete_own'] = 'Delete own comment.';
$txt['permissionhelp_pcomments_delete_own'] = 'Allows the user to delete their own comments.';
$txt['permissionname_pcomments_delete_any'] = 'Delete any comment';
$txt['permissionhelp_pcomments_delete_any'] = 'Allows the user to delete any comments.';
$txt['permissionname_pcomments_autocomment'] = 'Auto Approve Comments';
$txt['permissionhelp_pcomments_autocomment'] = 'Comments do not need to wait for approval.';
$txt['cannot_pcomments_add'] = 'You are not allowed to add comments.';
$txt['cannot_pcomments_edit_own'] = 'You are not allowed to edit your own comment.';
$txt['cannot_pcomments_edit_any'] = 'You are not allowed to edit any comment.';
$txt['cannot_pcomments_delete_own'] = 'You are not allowed to delete own comment.';
$txt['cannot_pcomments_delete_any'] = 'You are not allowed to delete any comment.';
$txt['pcomments_admin'] = 'Profile Comments';


// Profile Comments Profile.template.php text strings
$txt['pcomments_usercomments'] = 'User Comments';
$txt['pcomments_editcomment'] = '[Edit Comment]';
$txt['pcomments_delcomment'] = '[Delete Comment]';
$txt['pcomments_addcomment'] = 'Add Comment';
$txt['pcomments_text_pages'] = 'Pages: ';
$txt['pcomments_text_guest'] = 'Guest';

$txt['pcomments_txt_gender'] = 'Gender';
$txt['pcomments_txt_posts'] = 'Posts';
$txt['pcomments_txt_view_profile'] = 'View Profile';
$txt['pcomments_txt_www'] = 'WWW';
$txt['pcomments_txt_profile_email'] = 'Email';
// END Profile Comments Text Strings

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

cotty

I did what you said and still has not changed anything, here is a copy of my modification.english.php file

Illori

can you verify that the action "Move the included file "ProfileComments.english.php" to "./Themes/default/languages"." got the file profilecomments.english.php to your languages folder?

also have you cleared your cache?
admin -> forum maintenance empty the file cache

cotty

Yep, just cleared the coach and still no change.

The file already existed in /Themes/default/languages, so i just added the above to the end and replaced the file back to /Themes/default/languages

Illori

you might get better support if you post in the mods support thread so that the author can help you.

Advertisement: