PDA

View Full Version : Forum Permissions based on Time


starbucks
04-09-2003, 11:30 AM
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, 11: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, 12:00 PM
why would someone want that?

Ive tried a few things

$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