Quote:
Originally Posted by shanejeffery86
Hey all.
I used this tutorial -- https://vborg.vbsupport.ru/showthread.php?t=62164 -- to create a custom page.
The page is working great and everything is the way it should be, with the exception that unregistered users can view the page.
How can I make it so that certain usergroups cannot visit the page and get the vBulletin default permission denied error?
Thanks!
|
Usually something like:
PHP Code:
if(!$show['member']) {
print_no_permission();
}
works fine. Either way, the function you want to manipulate is print_no_permission();