![]() |
How to make a non-vb page not accessible to cetrain usergroups?
So far, my gallery is for registered members only, which works with this simple code:
Code:
<?php Also, is possible I could use another method: my gallery currently has only 130 images (but most of my site's hits go there), so I would like the first 1-25 images accessible for all registered users who have activated their account, then 26-50 for users with >X posts, then 51-75 with >XX and so on. Would this be possible or it would depend on my gallery script? If this is too much to ask for, I'd be satisfied with the first request ;) |
Code:
if ($bbuserinfo['userid'] == 0 or $bbuserinfo['userid'] ==3) { |
Should have figured out that myself, thanks :P
Going to try that out after I clean my PC from viruses :( |
it's $bbuserinfo['usergroupid'] and not $bbuserinfo['userid'] ;)
|
All times are GMT. The time now is 06:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|