I'm trying to optimise my site to encourage non-members to join by changing the default 'forbidden' / 'access denied' messages to be more explanatory and include a link to the joining form. I have changed the vast majority but there are two occasions where I just can't find the language key:
- Non-member trying to access a profile, current / default msg = "Your current membership (Non-member) doesn't allow you to view profiles."
- Non member trying to view a forum topic, current / default msg= "Access denied. You must have special permissions to access this area or you are not logged in."
Can anyone help?
|
ManOfTeal.COM a Proud UNA site, six years running strong! |
Thanks Newton - that's helped me fix one of the issues, but unfortunately none of the language keys in that thread are for this one:
- Non member trying to view a forum topic, current / default msg= "Access denied. You must have special permissions to access this area or you are not logged in."
Does anyone have any idea where I'd find the key for that message?
|
Forum is separate. Look in the language file for forum to fix language issues for the forum. After you find the entry or add an entry, you go to manage forum and recompile the forum language. Geeks, making the world a better place |
Look in the language file for forum to fix language issues for the forum
Sorry, I've no idea how to do this. Can you explain further? How do I access the language file for the forum and find the text / key I need to edit?
|
Yes, it can be hard to find where:
/modules/boonex/forum/integrations/base/langs
You will see en.php and ru.php; English and Russian, You can open that file into PsPad, or Notepad++ or some other editor that recognises php code.
Geeks, making the world a better place |
I've done that but the changes aren't showing. Is there a step I've missed? |
I've done that but the changes aren't showing. Is there a step I've missed?
Try clearing your cache.
ManOfTeal.COM a Proud UNA site, six years running strong! |
I've tried that already Newton, it's still showing the old message on the site despite the fact that if I reopen the file /modules/boonex/forum/integrations/base/langs/en.php it's showing the new message in its place. |
Go to your database via phpmyadmin and find table sys_acl_levels and change the name of the membership, unfortunatly that will be affected for all languages |
Go to your database via phpmyadmin and find table sys_acl_levels and change the name of the membership, unfortunatly that will be affected for all languages
I have absolutely no idea what this means...
|
I've tried that already Newton, it's still showing the old message on the site despite the fact that if I reopen the file /modules/boonex/forum/integrations/base/langs/en.php it's showing the new message in its place.
Recompile your "forums" languages...
yoursite.com/forum/?action=goto&manage_forum=1
top right of your forums
ManOfTeal.COM a Proud UNA site, six years running strong! |
I overlooked the fact it was the forums changed. Cache would have nothing to do with it. ManOfTeal.COM a Proud UNA site, six years running strong! |
Recompile your "forums" languages... yoursite.com/forum/?action=goto&manage_forum=1 top right of your forums
Thanks Newton. That wouldn't work to start with, but I figured out it was because I'd used special characters in the text I'd entered. Once I removed those it all forked fine!
|