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)

Lionsault 07-24-2005 08:12 PM

Quote:

Originally Posted by MarcoH64
Just remove the "DEFAULT '1'"

How do I go about doing that? :speechless:

I'm new to vB.

Marco van Herwaarden 07-24-2005 08:24 PM

In your admincp/vbookie_install.php file,

Find:
PHP Code:

            group_id SMALLINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY

and replace by:
PHP Code:

            group_id SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY

Then find:
PHP Code:

            item_id MEDIUMINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY

and replace by:
PHP Code:

            item_id MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY

Then:
PHP Code:

            option_id MEDIUMINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY

replace by:
PHP Code:

            option_id MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY

Then:
PHP Code:

            bet_id MEDIUMINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY

replace by:
PHP Code:

            bet_id MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY


redspider 07-24-2005 09:57 PM

ok I installed this and having problem to create a event
I set all permit and everytime I try to post a new event I can see the preview
and when I click ok nothing happen vbookie dont show a news event in the list .
sorry for my poor english I trying my best and really need this working is the 5 time I install and try and same result.

Lionsault 07-25-2005 01:09 AM

Quote:

Originally Posted by MarcoH64
In your admincp/vbookie_install.php file,

Find:
PHP Code:

            group_id SMALLINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY

and replace by:
PHP Code:

            group_id SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY

Then find:
PHP Code:

            item_id MEDIUMINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY

and replace by:
PHP Code:

            item_id MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY

Then:
PHP Code:

            option_id MEDIUMINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY

replace by:
PHP Code:

            option_id MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY

Then:
PHP Code:

            bet_id MEDIUMINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY

replace by:
PHP Code:

            bet_id MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY


Thank you, Marco, it worked!

Lionsault 07-25-2005 03:02 AM

OK, I installed it, but I cannot access vBookie.php from the navbar, and when I go to make vBookie active, I click yes, however it automatically resets to No.

mcyates 07-31-2005 04:05 PM

Is it possible to show the last 3 or 4 best on forum home (just the title of the bets) so it would look like this:

[Middlesbrough v Liverpool] [Newcastle v Arsenal] [Chelsea v Manchester United]

This would save me manually putting these on the header.

Thanks in advance.

303Nate 08-01-2005 03:33 PM

Quote:

Originally Posted by wcbryant
Definitely curious about that as well. I consider it one of my "must have" hacks that will have to be 3.5 ready before I move my site over. Would love to see Rico update it, or failing that, someone capable getting permission from him to do so. With RC1 live on vb.com today, we're rapidly approaching the point where people are going to have to take steps to convert their sites over if that's the direction they're going.

I just PM'd him on his forum asking him just that. I'll let everyone know what he responds.

murrtex 08-03-2005 07:48 PM

hi guys ..i installed this hack.there is no error.but how can i start the betting.
i mean how can i do a new bet.???

i mean i am lookin for

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


that section..where is there how can i go there?

cuphongle 08-04-2005 06:13 AM

yea, i set that admin can post new bet event...
but how do i post new bet event?
thanks

cuphongle 08-04-2005 05:49 PM

Quote:

Originally Posted by theo
actually after further investigation my forums are back up and running but i cant access threads.

this is teh error

Parse error: parse error, unexpected T_STRING in /home/richard/public_html/forums/showthread.php on line 954


and this is the code affected

// +++ vBookie
$_VBOOKIE = array(
'active' => 1,
'ucash' => 2,
'cashon' => 4,
'givetopoor' => 8,
'usepetz' => 16
);
// --- vBookie


line 954 is this bit

// --- vBookie


help again please


can you paste the first 10 lines prior to that?


All times are GMT. The time now is 02:23 AM.

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.03142 seconds
  • Memory Usage 1,763KB
  • 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
  • (16)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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