
09-18-2006, 05:10 PM
|
|
|
Join Date: Mar 2006
Location: San Francisco, CA
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Devadam
thanks friend
i solved the problem
functions_vbookie.php
find
"user ORDER BY cash DESC LIMIT 30";
PHP Code:
function vbookie_get_richest()
{
global $vbulletin;
switch ($vbulletin->options['vbookiecash'])
{
case 'vcash':
$q = "SELECT username, vbookie_cash AS cash FROM " . TABLE_PREFIX . "user ORDER BY cash DESC LIMIT 30";
break;
case 'ucash':
$q = "SELECT username, ucash AS cash FROM " . TABLE_PREFIX . "user ORDER BY cash DESC LIMIT 30";
break;
case 'ebux':
$q = "SELECT username, ebux AS cash FROM " . TABLE_PREFIX . "user ORDER BY cash DESC LIMIT 30";
break;
case 'custom':
($hook = vBulletinHook::fetch_hook('vbookie_get_richest')) ? eval($hook) : false;
}
|
:-) nice, simple change.
|