PDA

View Full Version : setting up adult category


Staxed
02-21-2007, 01:51 AM
I'm going to have users agree (by posted statement) that they are at least 18 years of age...then i will add them to an 18+ usergroup.

Is there a way I can use this to give this usergroup (and only this one....not admins, mods, or anyone but this usergroup) access to the adult game category?

I have it setup so this usergroup can see all the categories, and all other usergroups can see all but the adult category...yet this isn't working...

do the permissions only look at primary usergroup?...they way i have it set should work if secondary groups are looked at...so it seems they aren't...

or am i just not doing it correctly?

Staxed
02-23-2007, 01:27 AM
it's been two days, would be really nice to know how to get this done :)

MrZeropage
02-23-2007, 04:04 AM
in group-permissions you must set all groups to disallow access to category "adult" and only allow this to the usergroup "adult allowed" or whatever you name them.

make sure none of the categories is set to "show all YES"

Staxed
02-23-2007, 09:25 AM
it is set like that already, which is why I came here

it seems like it's not reading the secondary usergroup...

louis_chypher
02-23-2007, 03:09 PM
My site is an adult site.

I've done the following mod.

https://vborg.vbsupport.ru/showthread.php?t=118496 Age Lock v2.0 Beta 2

At first you might have to do a bit of work getting all the users to enter their proper bdays into the user cp. Also, you will need to have users enter their bday at registration, but once done the mod works great last a long time.

Staxed
02-24-2007, 02:46 PM
thanks for that mod louis...but that really doesn't help me...

i've already got a way to put the 18+ users in a custom usergroup...i just can't get the arcade to only allow that one usergroup access to that category of games

Staxed
02-28-2007, 12:10 AM
still haven't gotten this to work yet...

MrZeropage
03-02-2007, 05:54 PM
if you provide AdminCP-access via PM, I can try to

Staxed
03-03-2007, 12:44 AM
pm on the way

MrZeropage
03-04-2007, 01:29 PM
Ok, I fixed that for upcoming v2.6.1+ by re-writing the whole group- and category-permission-check function :)