vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Posting Options by age (https://vborg.vbsupport.ru/showthread.php?t=57581)

Red Blaze 10-03-2003 03:15 PM

Posting Options by age
 
https://vborg.vbsupport.ru/showthrea...3&page=1&pp=15

and

https://vborg.vbsupport.ru/showthrea...0&page=1&pp=15

I have those two hacks installed, and what I'm trying to do is this.

In admin CP, making a new forum (or edit *shrugs*), under Posting Options, right underneat "Private forum", I wanted an option saying:

"Pirvate forum II (or something like that)" (Invisible to all except "insert age here"+ users; user access masks must be on!)

I wanted it set to age 18, but with a DB Query I assume it could easily be changed.

Case and point: I wanted a forum to show up or hide depending on age. Granted I am aware that a user could change his/her age at any time. But

1)when a user registers he/she won't be able to see that forum.
2)When a user under the specified age is an active member, he/she won't be able to see it.
3)There for they wouldn't know it's based on age, unless someone spills the beans.

Can someone please help me create such a hack? I tried myself, but I still don't know much about PHP. :( Many thanks in advance!

Zachery 10-03-2003 03:28 PM

Quote:

Originally Posted by Sonikku
https://vborg.vbsupport.ru/showthrea...3&page=1&pp=15

and

https://vborg.vbsupport.ru/showthrea...0&page=1&pp=15

I have those two hacks installed, and what I'm trying to do is this.

In admin CP, making a new forum (or edit *shrugs*), under Posting Options, right underneat "Private forum", I wanted an option saying:

"Pirvate forum II (or something like that)" (Invisible to all except "insert age here"+ users; user access masks must be on!)

I wanted it set to age 18, but with a DB Query I assume it could easily be changed.

Case and point: I wanted a forum to show up or hide depending on age. Granted I am aware that a user could change his/her age at any time. But

1)when a user registers he/she won't be able to see that forum.
2)When a user under the specified age is an active member, he/she won't be able to see it.
3)There for they wouldn't know it's based on age, unless someone spills the beans.

Can someone please help me create such a hack? I tried myself, but I still don't know much about PHP. :( Many thanks in advance!

you could probally do this via vb3 very ezily :)

with a few if condititons :)

Red Blaze 10-03-2003 03:39 PM

OOookay... yet I don't use Vb3, nor do I want to until it's fully stable.

Thanks for trying to help though. ^^;

Zachery 10-03-2003 03:51 PM

Quote:

Originally Posted by Sonikku
OOookay... yet I don't use Vb3, nor do I want to until it's fully stable.

Thanks for trying to help though. ^^;

i rethought it and you could do it another way with vb3

why use vb2 its not fully stable either ;)

however the idea does seem doable :)

Red Blaze 10-06-2003 12:39 PM

Can someone please help me create this? I need it. :(

Zachery 10-06-2003 12:41 PM

the best thing you could do is make a second usergroup and move members you know to be 18 or older, as anyone can fake their age


All times are GMT. The time now is 10:06 PM.

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.01142 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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