Quote:
Originally Posted by arossphoto
Is there anyway to restrict use of this feature to certain member groups? I'm thinking it would be a nice thing to offer those members who have purchased a paid subscription.
|
I couldn't find the answer by searching this thread, but I just read through some of the posts and found the reply below that answers my question:
https://vborg.vbsupport.ru/showpost....1&postcount=49
Quote:
ps: i have it only for selected usergroups. For those who want permissions can simply do this
add this below
require_once('global.php') line in viaspy.php
//set up usergroup permissions for view
if (!is_member_of($vbulletin->userinfo , #usergroups to check#))
{
print_no_permission();
}
|
It seems to be working okay. I guess now I just have to remember how to provide a link that is only visible to the same usergroups.
Cheers.