PDA

View Full Version : Expiring a secondary user group now bug


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!

Mysticales
08-18-2006, 07:38 PM
Really? I didnt get a DB error.. but I did notice it wouldnt expire like I thought it wouldve.

RaidenDAWG2
03-08-2007, 10:28 PM
Awesome, thanks for the fix man!