vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Forum Permissions based on Time (https://vborg.vbsupport.ru/showthread.php?t=51384)

starbucks 04-09-2003 10:30 AM

Forum Permissions based on Time
 
I was wondering if there was a hack in existance or how it would be possible, for a forum to only be viewable to people who have been registered for a certain number of days or more, lets say a forum where you can post images and stuff, and so people dont just go in there and post pornography or similar in there

Anyone knoe if this is possible or released, ive tried serching but have not found a single thing

RDX1 04-09-2003 10:50 AM

Hmm, not that i know of, but there is a hack that will only show the forum at certin times of the day

starbucks 04-09-2003 11:00 AM

why would someone want that?

Ive tried a few things
Code:

$getperms=getpermissions($forumid,-1,-1,$foruminfo['parentlist']);
if ((!$getperms[canview]) AND ($bbuserinfo[joindate] <= (time()-(100*86400)))) {
  show_nopermission();
}

doesnt work at all

must be somewhere else where its set


All times are GMT. The time now is 09:01 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.02749 seconds
  • Memory Usage 1,706KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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