I don't know if this has been posted here or not, but this regards UserGroups for vB and 4Images.
To use UserGroup permissions from the forums in 4Images, open the 4Images constants.php file and find-
// User groups level
$waitinggroups = array(3); // vB Group should be waiting for moderate. seperate each group by comma
$usergroups = array(2); // Groups that are USERS in album. seperate each group by comma
$admingroups = array(6); // vB groups that are ADMINS in album. seperate each group by comma
Then open your vB AdminCP, go to the UserGroups section, and take a look at your UserGroup ID numbers.
Add in the groups you want into whichever setting for the constants.php.
Example- I created a usergroup in vB that can't download stuff until they have so many posts.
So to prevent them from downloading in the Gallery as well, I add their vB user group number to the $waitinggroups array.
If I want my SuperMods to be admins on the Gallery as well, then I add their usergroup ID to the $admingroups array.
...and so on.
No need to create new fields in the database vB users table or anything.
|