vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   setting up adult category (https://vborg.vbsupport.ru/showthread.php?t=139999)

Staxed 02-21-2007 01:51 AM

setting up adult category
 
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 :)


All times are GMT. The time now is 08:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04769 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete