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)

ams3521 06-15-2005 08:47 PM

MMm thanks Biker i'll go log in as Admin :)

Anyone know if its poss to turn off the make bets private wee button? thanks again. hers hopin :hope

ams3521 06-15-2005 08:51 PM

nah Biker still doesnt give me the option to delete or view them as the picture before shows. Im just gonna have to be more carefull in future :(

thanks

Still interested in seeing if anyone had any sucess on turning off the MAKE BETS PRIVATE thingy. Bloody pain it is as you want to see whos on wahat really. Not slagging the product mind as thats mighty fine and thanks. If i could iron out these 2 wee priobs though i wouldnt have a worry in the world

mobillica 06-20-2005 04:46 PM

Anyone know how to reset vbookie cash back to 500?

And is it possible to amend a users vbookie cash, say if an error is made?

:squareeyed:

Lord Brar 06-22-2005 11:44 AM

Rico, are you still supporting this hack and do you have any intentions to upgrade it to 3.5 when it comes out?

I want to use it on one of my forums but just want to make sure that It'll be available for 3.5 too. :)

Thanks

ams3521 06-26-2005 07:36 AM

Can i still mention that the DEcimal odds are still wrong in Europe and this leads to a lot of embarrassment especially if your forum is into sports betting :(

Mobilla the answer is in the thread mate. you do have to add the code that i posted about earlier. I never done it but a mate but i'll ask.

Still wondering how to make a daily limit and to turn off the make bets private thanks.

Lionel 06-27-2005 01:26 AM

We post sports events in calendar. I wonder how complicated that would be to incorporate vbookie in there?

Lionel 06-29-2005 07:05 AM

Never mind. I managed it.

trancetopia 07-11-2005 03:17 PM

I've just installed this hack and everything is great apart from when I enable the vbadvanced CMPS bit. I get the following:

Fatal error: Call to undefined function: getrowcolor() in /modules/vbookie_vbadvanced.php on line 35

Anyone had this before or know how to fix it?

Lionel 07-11-2005 03:49 PM

I had to comment out mine
//$getbgrow = getrowcolor();

Lionel 07-11-2005 03:53 PM

you could also try to replace it with
$getbgrow = exec_switch_bg();

DS MrSinister 07-11-2005 03:57 PM

Quote:

Originally Posted by trancetopia
I've just installed this hack and everything is great apart from when I enable the vbadvanced CMPS bit. I get the following:

Fatal error: Call to undefined function: getrowcolor() in /modules/vbookie_vbadvanced.php on line 35

Anyone had this before or know how to fix it?


if you are running the newest version of vbadvanced CMPS Just remove that part of the code getrowcolor().. thats how i got it to work.

Flow Fusion 07-11-2005 08:51 PM

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

Milk Man 07-12-2005 10:13 PM

I have Ucash, and in the init.php file it says to edit stylecache, but when i do i get an error becuase ucash is their. how do i get the code in without screwing it up. Now my Ucash isn't working.

theo 07-19-2005 02:26 PM

I'm just installing, have just finished the file modifications and there is a problem with the init file.

Keep getting

Parse error: parse error, unexpected ')' in /home/richard/public_html/forums/includes/init.php on line 550


This involves this edited code

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


Please HELP asap as at the moment my forums will not work

as in www.soccersaurus.com/forums

theo 07-19-2005 02:32 PM

Oh and i tried uploading the original init file as i had the non edited one saved and it still wont work

DS MrSinister 07-19-2005 02:32 PM

Quote:

Originally Posted by theo
I'm just installing, have just finished the file modifications and there is a problem with the init file.

Keep getting

Parse error: parse error, unexpected ')' in /home/richard/public_html/forums/includes/init.php on line 550


This involves this edited code

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


Please HELP asap as at the moment my forums will not work

as in www.soccersaurus.com/forums


try this..


Code:


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


theo 07-19-2005 02:46 PM

no still get same sort of problem

this is really annoying

help

Regs 07-19-2005 02:52 PM

Try this:

Code:

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

Cheers,

~Regs.

theo 07-19-2005 02:57 PM

thanks its now working - u guys are lifesavers :D

theo 07-19-2005 03:24 PM

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

Regs 07-19-2005 03:43 PM

I think you should start all over again and carefully do all the edits in the install file. Looking back, the fix I gave above probably caused more problems than it fixed.

Cheers,

~Regs.

theo 07-19-2005 04:17 PM

the backup file is corrupted

oh my god this just gets worse and worse

any more ideas anybody......please (getting desperate now)

theo 07-19-2005 04:37 PM

it would probably just be easier now to sort out the init.php file as the backup seems messed up.

Can somebody please help get this sorted once and for all.

303Nate 07-19-2005 11:48 PM

Any possibility this works with 3.5 or if anyone it editing to do so?

csidlernet 07-20-2005 08:13 AM

/me bets that he installed this hack.

Bacon Butty 07-22-2005 02:24 PM

I expected the points the increase as the user posts. So for example with each post they get "10" points.

Stupid question maybe but how to members increase their points? :ermm:

Paul Ross 07-23-2005 01:45 AM

By selecting a winning bet I imagine. ;)

wcbryant 07-23-2005 05:15 PM

Quote:

Originally Posted by 303Nate
Any possibility this works with 3.5 or if anyone it editing to do so?

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.

Lionsault 07-24-2005 01:57 AM

I'm installing vBookie on my vBulletin, and when I run the install script, I get this error:
Database error in vBulletin 3.0.7:

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: Saturday 23rd of July 2005 10:19:17 PM
Script: http://www.girlsaloudzone.net/pwrfor...ie_install.php
Referer: http://www.girlsaloudzone.net/pwrfor...ie_install.php
Username: Brendan
IP Address: [edited]

Is this anything you can help me with?

Marco van Herwaarden 07-24-2005 05:21 AM

Just remove the "DEFAULT '1'"

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 10:50 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.02070 seconds
  • Memory Usage 1,847KB
  • 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
  • (2)bbcode_code_printable
  • (16)bbcode_php_printable
  • (7)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