The Arcive of vBulletin Modifications Site. |
|
What's the sql queries for uttpoints? Details »»
|
|||||||||||||||||||||||||
Ok,a reference thread for myself and all.Anyone have any other useful queries to add in too?I mean,those really common ones that everyone was asking about?Please help and post some in,Thanks
Found some queries myself....... -Donate amount to a specific usergroup. Code:
UPDATE user SET uttpoints=uttpoints+X WHERE usergroupid=Y; Code:
UPDATE user SET uttpoints=X; Code:
UPDATE user SET uttpoints=XXX; Put in index.php Code:
$usergroup1=$DB_site->query_first("
SELECT SUM( uttpoints ) AS sumuttpoints
FROM user
WHERE usergroupid = '10'
");
Code:
$usergroup1[sumuttpoints] Code:
DELETE FROM utt_store_bank; UPDATE user SET uttstore_bankdata=''; Show Your Support
|
|||||||||||||||||||||||||
![]() |
|
|