Rename Forum Roles

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
TheJay
Registered User
Posts: 122
Joined: Sun Apr 18, 2021 5:03 pm

Rename Forum Roles

Post by TheJay »

Hello there, I would like to make some changes to the names of the forum roles.

For example, if I click on the gear icon by Newly Registered User Access, it says ROLE_FORUM_NEW_MEMBER.

This suggests to me that the forum is pulling the name from somewhere else, perhaps a file? If so, where can I locate and replace "Newly Registered User Access" with "New User" please?
User avatar
SpIdErPiGgY
Registered User
Posts: 189
Joined: Sun May 02, 2021 2:11 pm
Location: Erpe-Mere, Aalst, BE
Name: Andy Dm
Contact:

Re: Rename Forum Roles

Post by SpIdErPiGgY »

Tried the language files? \language\en\acp\permissions.php

Code: Select all

'ROLE_FORUM_NEW_MEMBER'		=> 'Newly Registered User Access',
phpBB NL Extension translations, also on request.
--> Click Here: Myarea51secrets.com <--
TheJay
Registered User
Posts: 122
Joined: Sun Apr 18, 2021 5:03 pm

Re: Rename Forum Roles

Post by TheJay »

Thank you for confirming. Awesome.
User avatar
Scanialady
Registered User
Posts: 421
Joined: Thu Jan 17, 2013 7:09 pm
Location: Germany
Name: Annette
Contact:

Re: Rename Forum Roles

Post by Scanialady »

Be prepared to repeat this action after every update. Changes in the phpBB core files are not recommended.
You could create your own groups with different names.
My 2 cents: Whether an extension is in the CDB says nothing about its quality. It is more important to read the support topics for it. Better to avoid authors who do not answer support questions themselves, who do not update their stuff, and who do not fix bugs for years.
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Rename Forum Roles

Post by warmweer »

Scanialady wrote: Tue May 18, 2021 5:49 am Be prepared to repeat this action after every update. Changes in the phpBB core files are not recommended.
You could create your own groups with different names.
VERY good advice!!
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Rename Forum Roles

Post by david63 »

TheJay wrote: Mon May 17, 2021 7:52 pm if I click on the gear icon by Newly Registered User Access, it says ROLE_FORUM_NEW_MEMBER
If that is exactly what is being displayed then your language pack is incomplete
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
TheJay
Registered User
Posts: 122
Joined: Sun Apr 18, 2021 5:03 pm

Re: Rename Forum Roles

Post by TheJay »

Thank you, this is all good advice. I will keep a backup of the file in case it ever gets updated.

So updating the names is working but now I can't remember exactly where to go to set the permissions that are connected with each of the named forum roles. Can someone please remind me?
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72342
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Rename Forum Roles

Post by KevC »

The roles are the default sets of options that you can set in the drop downs.

They are defined in permissions > permission roles.

What exactly are you trying to do?

That bit you've edited is supposed to look like that on that page. It's somewhere an admin hardly ever goes anyway.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Rename Forum Roles

Post by Mick »

Scanialady wrote: Tue May 18, 2021 5:49 amYou could create your own groups with different names
👏🏼
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Rename Forum Roles

Post by warmweer »

TheJay wrote: Tue May 18, 2021 12:06 pm Thank you, this is all good advice. I will keep a backup of the file in case it ever gets updated.

So updating the names is working but now I can't remember exactly where to go to set the permissions that are connected with each of the named forum roles. Can someone please remind me?
ACP > tab Permissions > Permission Roles >>> that's where you can edit the settings

However!!!
Just to remind you about what ScaniaLady mentioned.

Changing default role names, or group names means that if you need to look up the specifics of some features (e.g. groups, roles, etc...) you won't find the names you're using in the documentation and could be a bit a loss as to what is what (referenced in the documentation). And if you have questions requiring a printscreen to be posted, the helpful users here won't recognise groups, roles and who knows what else was renamed, thus requiring more questions.

Do yourself a favour and keep the original item names. Edit copies of the roles if you're going to make changes. (and keep notes).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Scanialady
Registered User
Posts: 421
Joined: Thu Jan 17, 2013 7:09 pm
Location: Germany
Name: Annette
Contact:

Re: Rename Forum Roles

Post by Scanialady »

Please believe us that experience speaks against renaming standard roles and standard groups. The same applies to permission roles that apply to standard groups (and also to the attached style): create your own and work with them instead. You are making yourself unnecessary trouble and it will bite you if you don't remember what you did. After the next update.

Obviously, we all strongly advise you not to modify core files unless you are fully aware of what you are doing and if you do not have a good documentation of what you have already done.
My 2 cents: Whether an extension is in the CDB says nothing about its quality. It is more important to read the support topics for it. Better to avoid authors who do not answer support questions themselves, who do not update their stuff, and who do not fix bugs for years.
TheJay
Registered User
Posts: 122
Joined: Sun Apr 18, 2021 5:03 pm

Re: Rename Forum Roles

Post by TheJay »

Thank you for your advice, I really appreciate all your support.

Where are the settings pulled from for the forum roles listed? That's what I am really interested in.

Same question for where the list names get pulled from please.

Image
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72342
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Rename Forum Roles

Post by KevC »

language/en/acp/permissions.php
Around line 160

But again, you would have to re-edit those every time you update. Once you've set those permissions up for your groups you'll rarely if ever go back in there so it's a bit pointless.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
TheJay
Registered User
Posts: 122
Joined: Sun Apr 18, 2021 5:03 pm

Re: Rename Forum Roles

Post by TheJay »

I did a manual update to 3.3.4 to avoid such problems. At the moment it just helps me set up roles and permissions.
Post Reply

Return to “[3.3.x] Support Forum”