Version: 1.0.7, by Andreas
Developer Last Online: Jan 2023
Version: 3.5.3
Rating:
Released: 08-11-2005
Last Update: 02-17-2006
Installs: 633
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage
No support by the author.
vBookie
Introduction
This is a Port of the original vBookie Hack created by tdjrico; full credits to him for the idea and the kind permission to port his work
A t t e n t i o n
This Hack is unsopported and incompatible with vBulletin 3.6+
You are hereby advised to not use it.
Please do not ask me about support and/or updates - there will be none.
Modify the phrase in admincp. Since the mod is fully phrases you will be able to find it there. Just do a search for richest people and it should come up. this will only change the text.
thanks friend
i solved the problem
functions_vbookie.php
find
"user ORDER BY cash DESC LIMIT30";
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;
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;
I have added the plugin code for 3.6 but now i get no permissions errors, I have checked in the usergroups and the permissions are correct, i just dont know whats wrong, oh and rebuilt the bitfields as well!!
Mine is working now i've installed the plugin further up this thread. Moderators, can you add the attached fixes to the actual product, saves having to search or go through the entire threads.
Bashy, did you edit the plugin mentioned for 3.6 fix also?
My problem is changing the default vCash. I've searched and have not found the answer. I've changed the .xml install file code and re-imported it and new users still start off with 500 vCash. Is there an extra step I'm missing after I re-import (with overwrite settings set to "yes")?