vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBookie - vBulletin Betting Hack (https://vborg.vbsupport.ru/showthread.php?t=65844)

davey147 04-16-2005 12:57 PM

Hi,

I just installed, great hack.

I have total bets of 665 but when looking at the 'total amount staked' it says 10455

Why is this?

Rabbitoh Warren 04-16-2005 09:09 PM

Quote:

Originally Posted by davey147
I have total bets of 665 but when looking at the 'total amount staked' it says 10455

That's how much vCash your users have wagered so far.

lefthome 04-17-2005 06:38 PM

Using 3.07 and everything good up to this point added fine except one item:

IN NEWTHREAD.PHP

Find:
if ($newpost['postpoll'])
{
$url = "poll.php?$session[sessionurl]t=$newpost[threadid]&polloptions=$newpost[polloptions]";
}
add after:
// +++ vBookie
else if ($newpost['postvbookieevent'])
{
$url = "vbookie.php?$session[sessionurl]t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
}
// --- vBookie

Doesn't exist. What next?

lefthome 04-20-2005 04:46 PM

Quote:

Originally Posted by lefthome
Using 3.07 and everything good up to this point added fine except one item:

IN NEWTHREAD.PHP

Find:
if ($newpost['postpoll'])
{
$url = "poll.php?$session[sessionurl]t=$newpost[threadid]&polloptions=$newpost[polloptions]";
}
add after:
// +++ vBookie
else if ($newpost['postvbookieevent'])
{
$url = "vbookie.php?$session[sessionurl]t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
}
// --- vBookie


Doesn't exist. What next?


Anybody?

Marco van Herwaarden 04-20-2005 06:00 PM

Search for:
PHP Code:

        if ($newpost['postpoll'])
        {
            
$url "poll.php?$session[sessionurl]t=$newpost[threadid]&polloptions=$newpost[polloptions]";
        } 


X-Anthype 04-21-2005 02:57 PM

I have done everything:

But when i open a thread i don't have this

https://vborg.vbsupport.ru/external/...chmentid=18961

Wich file make this thing apeare? Newthread?

The Realist 04-21-2005 03:08 PM

Go into Forums & Moderators and forum manager and setup a forum or a new section just for Vbookie and change the options for this new section or forum.

Then make a post within this new section or forum and that tick will show up on the botton of the post, its an extra tick box.

Laters



Quote:

Originally Posted by X-Anthype
I have done everything:

But when i open a thread i don't have this

https://vborg.vbsupport.ru/attachmen...chmentid=18961

Wich file make this thing apeare? Newthread?


X-Anthype 04-21-2005 03:47 PM

Found the problem.
Thanx for your help

nemesis01 04-27-2005 09:12 PM

I have a problem. I can't see where or how I pay out... the event I put up has now passed, as has the payout time... where am I able to payout? :(

Pain86 04-27-2005 09:34 PM

thank you.

Pain86 04-28-2005 03:43 PM

help i get this error when installing the database modifactions

Code:

Database error in vBulletin 3.0.6:

Invalid SQL:
                CREATE TABLE vbookie_groups (
                        group_id SMALLINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY,
                        group_title VARCHAR(255) NOT NULL
                ) TYPE=MyISAM
       
mysql error: Invalid default value for 'group_id'

mysql error number: 1067

Date: Thursday 28th of April 2005 04:45:09 PM
Script: http://www.bodybuildingdungeon.com/forums/admincp/vbookie_install.php
Referer: http://www.bodybuildingdungeon.com/forums/admincp/vbookie_install.php
Username: ****
IP Address: ******


Marco van Herwaarden 04-28-2005 07:19 PM

Read through the previous page.

kisersose 04-29-2005 08:35 PM

I'm having a problem getting the system to use UCASH and not VCASH.

I won't "not" show vcash or use the ucash to bet with. I have the option in the adminCP clicked and I have it correct on the postbit template.

sample of the postbit:

Malice

Posts: 858
Join Date: Jan 2005
Location: Jerz
Age: 22
Rep Power: 21
Points: 4653.30 (Donate)
vCash: 0

What am I missing that's keeping the system from using the UCASH and not showing/using VCASH anymore?

or is there a way I can get the ushop ubuy to run off of vcash?

nemesis01 05-02-2005 09:52 AM

This might of been asked already by someone, but I have a question...

Why do betters not get back the money they staked when placing a winning bet?

Lets sat I bet 10 on an outcome with odds of 3/5, and won... vbookie only pays out 6 instead of 16 like it should! :( Why?

Pain86 05-02-2005 09:01 PM

im gettin this error

Code:

Fatal error: Call to undefined function: construct_nav_option() in /home/bodybui/public_html/forums/admincp/index.php on line 454
please help.

Pain86 05-02-2005 09:14 PM

ok im in need of help big help!!!

im gettin this error when i click on a section at my forums

Code:

Database error in vBulletin 3.0.6:

Invalid SQL:
                SELECT
                        IF(votenum >= 1, votenum, 0) AS votenum,
                        IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
                post.pagetext AS preview,
                        thread.threadid, thread.title AS threadtitle, lastpost, thread.forumid, pollid, vbookie_item_id, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
                        lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach
                        , NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
                        , NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid,
                                deletionlog.username AS del_username, deletionlog.reason AS del_reason
                FROM thread AS thread
                LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
                LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1)
                LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
                WHERE thread.threadid IN (0,788,891,630,747,1080)
                ORDER BY sticky DESC, lastpost DESC
       
mysql error: Unknown column 'vbookie_item_id' in 'field list'

mysql error number: 1054


Pain86 05-02-2005 09:21 PM

it happens when i replace this code

Code:

thread.threadid, thread.title AS threadtitle, lastpost, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
with

Code:

thread.threadid, thread.title AS threadtitle, lastpost, thread.forumid, pollid, vbookie_item_id, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
in forumdisplay.php

Pain86 05-03-2005 06:11 PM

anyone? please!

wattieuk 05-03-2005 06:24 PM

Cant help you with that one, but a problem I encountered was when I used Dreamweaver to edit the files. It seemed to corrupt one. I would recommend trying the changes again and not using Dreamweaver (if indeed you are). Sorry I cant be much more help but Im very much a novice!

aReoHBeBewhY 05-03-2005 09:02 PM

When I go to make it active it never sticks on active... any advice?

Flow Fusion 05-06-2005 09:26 AM

When I try to save the settings in my user group I get this error...

PHP Code:

Database error in vBulletin 3.0.7:

Invalid SQLUPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
    
title 'Administrators',
    
description '',
    
usertitle 'Administrator',
    
opentag '',
    
closetag '',
    
passwordexpires '180',
    
passwordhistory '360',
    
shoutmaxdaily '0',
    
shouthierarchy '1',
    
attachlimit '0',
    
canpostvbookieevent '1',
    
caneditothersvbookieevents '1',
    
canbet '1',
    
avatarmaxwidth '200',
    
avatarmaxheight '200',
    
avatarmaxsize '99999999',
    
profilepicmaxwidth '100',
    
profilepicmaxheight '100',
    
profilepicmaxsize '65535',
    
pmquota '300',
    
pmsendmax '0',
    
uttstore_discount '5000',
    
forumpermissions '393215',
    
pmpermissions '3',
    
calendarpermissions '31',
    
wolpermissions '31',
    
adminpermissions '3',
    
genericpermissions '262079',
    
genericoptions '23',
    
journalpermissions '2047',
    
awrequest '1',
    
shoutboxpermissions '1023'
WHERE usergroupid=6
mysql error
Unknown column 'canpostvbookieevent' in 'field list'

mysql error number1054

Date
Friday 06th of May 2005 03:16:38 AM
Script
http://giftedsouls.com/gs/admincp/usergroup.php
Refererhttp://giftedsouls.com/gs/admincp/usergroup.php?s=&do=edit&usergroupid=6 

also when I view the vBookie page I see

[phpWarning: Invalid argument supplied for foreach() in /includes/functions.php on line 3001[/php]

and on my 3001 line I have

[php] foreach ($_FIELDNAMES AS $field => $bitvalue)

carolmyt 05-06-2005 11:54 PM

I just installed version 1.0.4 to vb version 3.0.6, and got this:

Parse error: parse error in /var/www/html/includes/functions.php on line 2013

Fatal error: Call to undefined function: is_browser() in /var/www/html/global.php on line 57

line 2013 in the functions file is:
PHP Code:

$debughtml .= " (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')'?')'?')'?')'?')=== false'?''?','?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH'?''?')'?')'?')'?')'?')=== false'?''?','?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n"

and line 57 in the global file is:
PHP Code:

if ((is_browser('ie'5) AND !is_browser('mac')) OR is_browser('mozilla') OR is_browser('firebird') OR is_browser('opera'7) OR is_browser('webkit') OR is_browser('konqueror'3.2)) 

Neither of these lines is affected by the hack, so what happened?

Flow Fusion 05-07-2005 02:45 AM

bump

playboy 05-08-2005 03:28 AM

Instructions say:

FIND:

'stylecache'
), $specialtemplates);

REPLACE WITH:

'stylecache',
// +++ vBookie
'vbookiesettings'
// --- vBookie
), $specialtemplates);

END

But I installed the uShop that has taking that bit of code already:

// ## <ucs>
'stylecache',
'utt_store_act'
// ## </ucs>
), $specialtemplates);


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=

what do i do? :(

guile09 05-08-2005 05:41 AM

I went through the entire install, and all seems to work except the fact that I get this error :

Warning: set_time_limit(): Cannot set time limit in safe mode in /home/bsnnco79/public_html/fightforum/vbookie.php on line 20

anyone familiar with this?

guile09 05-08-2005 03:12 PM

Anyone have an idea of what the problem is here? I'm trying to figure out if it is something I did wrong or a setting that my host is running? Please help before I am forced to unistall! you can see the error here : www.fightforum.com - click vbookie

Mr. Brian 05-08-2005 03:24 PM

Check your "vbookie.php" and make sure there's isn't any whitespace after ?>

Hope it help. :)

playboy 05-08-2005 03:31 PM

You wouldnt happen to know the answer to my problem, would ya? :#

Mr. Brian 05-08-2005 04:03 PM

Quote:

Originally Posted by playboy
Instructions say:

FIND:

'stylecache'
), $specialtemplates);

REPLACE WITH:

'stylecache',
// +++ vBookie
'vbookiesettings'
// --- vBookie
), $specialtemplates);

END

But I installed the uShop that has taking that bit of code already:

// ## <ucs>
'stylecache',
'utt_store_act'
// ## </ucs>
), $specialtemplates);


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=
what do i do? :(

You should end up with something like this:-



PHP Code:

// ## <ucs>
'stylecache',
'vbookiesettings',
'utt_store_act'
// ## </ucs>
), $specialtemplates); 

Hope it help. :)

Flow Fusion 05-09-2005 07:39 AM

OK I got everything to work till I hit submit and then nothing. Anyone have any idea why this is?

ProPain 05-09-2005 11:15 AM

Sorry if this question is asked before but 37 pages is a lot of questions to sift through.

I posted a thread and now I want to add a vBookie event to it, but when I edit the thread the 'add vbookie'event doesnt show up.

Is it possible to add events later on, or do I have to add them when I start the thread?

Rabbitoh Warren 05-09-2005 12:00 PM

Quote:

Originally Posted by ProPain
Is it possible to add events later on, or do I have to add them when I start the thread?

I've been using vBookie for months and as far as I'm aware there is no option to add a vBookie event to a thread after it's been created.

ProPain 05-09-2005 12:43 PM

Thanks, minor inconvenience once you know it. Now I know :)

Would be handy though if you could add a vBookie event later....

Flow Fusion 05-09-2005 07:31 PM

Quote:

Originally Posted by Flow Fusion
OK I got everything to work till I hit submit and then nothing. Anyone have any idea why this is?

????

Okiewan 05-09-2005 07:48 PM

You guys may as well forget it, support of this hack aint gonna happen.

Flow Fusion 05-09-2005 10:32 PM

Quote:

Originally Posted by Okiewan
You guys may as well forget it, support of this hack aint gonna happen.

I can hope can't I? :confused:

guile09 05-09-2005 11:34 PM

Quote:

Originally Posted by guile09
I went through the entire install, and all seems to work except the fact that I get this error :

Warning: set_time_limit(): Cannot set time limit in safe mode in /home/bsnnco79/public_html/fightforum/vbookie.php on line 20


Anyone have an idea of what the problem is here? I'm trying to figure out if it is something I did wrong or a setting that my host is running? Please help before I am forced to unistall! you can see the error here : www.fightforum.com - click vbookie

I have $25 via Paypal for whoever can get this working and displaying correctly. PM me if you would like to help.

Here is what I get when I log out and click on vbookie :
Warning: set_time_limit(): Cannot set time limit in safe mode in /home/bsnnco79/public_html/fightforum/vbookie.php on line 20


Unable to add cookies, header already sent.
File: /home/bsnnco79/public_html/fightforum/vbookie.php
Line: 20


Update : I commented out the following line and error went away...don't know what side effect will occur.
// set_time_limit(0);

Flow Fusion 05-10-2005 02:40 AM

Quote:

Originally Posted by guile09
I have $25 via Paypal for whoever can get this working and displaying correctly. PM me if you would like to help.

Here is what I get when I log out and click on vbookie :
Warning: set_time_limit(): Cannot set time limit in safe mode in /home/bsnnco79/public_html/fightforum/vbookie.php on line 20


Unable to add cookies, header already sent.
File: /home/bsnnco79/public_html/fightforum/vbookie.php
Line: 20


Update : I commented out the following line and error went away...don't know what side effect will occur.
// set_time_limit(0);

Most likely a global.php or init.php file edit that was wrong. Maybe a comma or something.

djwins 05-10-2005 02:16 PM

just installed this hack..thanks!

I saw the post here which details how to reset some things like money.

How can I clear the db of all the betting events?
also...
How can I get the vbookie posticon to show up in New Posts?

djwins 05-11-2005 02:19 PM

Quote:

Originally Posted by Ock
I've discovered a huge flaw in the way vBookie events work that allow someone to vote on any events at odds of his own choosing.

The way to do this, which i discovered by chance, is trivial: make a copy of the form - and edit it to change the odds, which are written in the webpage and not checked after submission.

I thought you should know, because someone wanting to exploit it could do so incredibly easily.

Is there any thoughts as to how to fix this??? Much thanks.


Quote:

Originally Posted by cashpath
Yes this flaw has already been pointed out the fix for it has already been pointed out also

Where is the fix?


All times are GMT. The time now is 06:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02250 seconds
  • Memory Usage 1,875KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (5)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete