You can check if the user has got the correct rank id, no matter if it's special or not. It's just not very nice to use hardcoded IDs. phpBB's ranks aren't designed to give you permission for anything at all. I'd use usergroups to do anything permission-related, then phpBBs permission system can be used.
By the way: not to be picky, but there is no such word as "codding", there is only "coding".
Codding arround user ranks
- EY
- Supporter
- Posts: 204
- Joined: 05 Nov 2006, 23:13
- Real name: Elias
- Location: Montreal [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Codding arround user ranks
Never Say Never!
- EY
- Supporter
- Posts: 204
- Joined: 05 Nov 2006, 23:13
- Real name: Elias
- Location: Montreal [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Codding arround user ranks
Never Say Never!
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Codding arround user ranks
- we're poor!
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: SeznamBot [Crawler] and 16 guests