AV Gallery - NBS






 

 

AV Gallery - NBS

View Full Version : AV Gallery


~*Fury*~
14-Jun-2005, 10:25 AM
I am after a way to separate the AV Gallery for each member group status
like you can on vB.

So only mods/admin can see the mod/admin galleries.

I like to use different size AV's on my forums for different groups..but becasue there is
no way to stop other using the AV's it becomes a pain. As i have to keep removing
AV's.

I do not want to allow uploading.

Does anyone know if there is a hack available or some
easy way to do this..

Thanks in advance

exileddragon
23-Jun-2005, 05:22 AM
Are you just wanting to restrict access to a specific gallery like for admins only?

exileddragon
23-Jun-2005, 05:45 AM
You can try editing the gallery and adding the code below

(not exactly sure where but i can play around on ours and let you know.)


if ($ibforums->member['mgroup'] == $ibforums->vars['admin_group'])
{
echo 'Admin gallery link here!';
}
else
{
$ibforums->html .= $ibforums->adskin->add_td_basic("<center>You do not have permission to view this gallery</center>");
}

$ibforums->html .= $ibforums->adskin->end_table();

~*Fury*~
23-Jun-2005, 03:18 PM
Are you just wanting to restrict access to a specific gallery like for admins only?

Yes and for mods/supermods too.

so i can have different sizes for them..