Permission setting help!

Discussion forum for MOD Writers regarding MOD Development.
Locked
User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm

Permission setting help!

Post by Dugi »

Hey guys,

I'm facing some problems with coding/writing some permissions that would do the following for an user.

After an if condition is met, a new permission applies to that user, and if the condition is true and the new permission is working, then THAT user won't be able to see a certain category.

I understand that this is called a LOCAL PERMISSION, but I have really no idea how to set such a permission that would block access for a user in THIS CATEGORY ID.

Is anyone able to help please?
PM me for custom extension pricing / My validated MODs / My MODs in development
User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm

Re: Permission setting help!

Post by Dugi »

BUMP

EDIT:

What I need is:
Hide a certain category for an user that has enabled an option in his profile (I added it and it works all, a YES NO option) So if an user sets the option to NO, new permissions will apply for that user and he wont see a specific category (which includes 3 forums).
PM me for custom extension pricing / My validated MODs / My MODs in development
User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm

Re: Permission setting help!

Post by Dugi »

Bump.
PM me for custom extension pricing / My validated MODs / My MODs in development
User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm

Re: Permission setting help!

Post by Dugi »

Bump.
PM me for custom extension pricing / My validated MODs / My MODs in development
CMCDragonkai
Registered User
Posts: 483
Joined: Sat Jun 09, 2007 11:37 pm
Location: Australia.. and other parts of the world sometimes...

Re: Permission setting help!

Post by CMCDragonkai »

Show phpbb threads as html articles. V.5.03 Thanks Erik! (This will be updated constantly as I or others contribute...) This code is to be used on external HTML page, but if you want a template version see here.

For the best PHPBB total modification to posting - bbcode, embedding... everything! Visit MSSTI's ABBC3 Modification.
User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm

Re: Permission setting help!

Post by Dugi »

Bump, this still isn't solved. :(
PM me for custom extension pricing / My validated MODs / My MODs in development
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52111
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Permission setting help!

Post by Brf »

Simple.
Create an open usergroup with Never permissions on those forums.
If the user joins that group, it would hide those forums.
User avatar
Dugi
Registered User
Posts: 1386
Joined: Sun May 25, 2008 5:36 pm

Re: Permission setting help!

Post by Dugi »

I want to give the user the option to block that forum upon registration. So I don't think there is a way I can make an user join a group on registration. If there would be such a way, it'd be really awesome.
PM me for custom extension pricing / My validated MODs / My MODs in development
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52111
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Permission setting help!

Post by Brf »

Have them join the group immediately after they register. It only takes a few seconds.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Permission setting help!

Post by 4_seven »

very right, but the grinch don't see it...
Current Mods | Mod Base | php(BB) programming | No help via PM
Ather
Registered User
Posts: 1032
Joined: Fri May 08, 2009 9:42 am
Location: Kingdom of Bahrain
Name: Ather Akber

Re: Permission setting help!

Post by Ather »

there is a mod that does this, maybe it could help you? http://www.phpbb.com/customise/db/mod/u ... ed_forums/
CPL Syed Ather Akbar
Regional Command Southwest
Camp Leatherneck, Afghanistan

My Mods/Snippets
Locked

Return to “[3.0.x] MOD Writers Discussion”