dxguru
08-18-2006, 05:31 PM
There is a bug in the Secondary Usergroup option that causes a database error if you try to 'Expire Now'
To fix it requires a minor file edit and a change in the Item settings
Go to vbPlaza >> Manage Items and find your Secondary Usergroup item
Edit this item and change the Item Table Name to user (it was usergroup)
Now edit the file vbplaza/action.secondaryusergroup.php
Around line 26 find if ($action['tablename'] != 'usergroup')
and change to if ($action['tablename'] != 'user')
Done!
To fix it requires a minor file edit and a change in the Item settings
Go to vbPlaza >> Manage Items and find your Secondary Usergroup item
Edit this item and change the Item Table Name to user (it was usergroup)
Now edit the file vbplaza/action.secondaryusergroup.php
Around line 26 find if ($action['tablename'] != 'usergroup')
and change to if ($action['tablename'] != 'user')
Done!