vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - vBookie for vBulletin 4 (https://vborg.vbsupport.ru/showthread.php?t=233473)

bobster65 03-13-2012 07:53 PM

Quote:

Originally Posted by Jellymedia (Post 2309170)
Is it possible to add vBookie events to existing threads?

In theory you could create a new thread, make that new thread a vbookie event, then merge the existing thread into the new vbookie thread.

dartho 03-13-2012 10:29 PM

You can by manually entering in the URL
yoursite.com/vbookie.php?t=nn&do=newevent
where nn is the threadid you wish to add the vbookie event to

thenamesgould 03-20-2012 11:03 AM

Is there a way to see the whole leaderboard?

I know we can see the top five on the stats page, but it would add to the competitiveness if I could post an entire list after each round of games.

dartho 03-20-2012 10:59 PM

you could edit the /includes/functions_vbookie.php file, search for [B]function vbookie_get_richest()[B] and in the query statements below, change the "LIMIT 5" bits to a greater number ... (remove "LIMIT 5" to get everyone)

8thos 03-29-2012 09:27 PM

When does placing wagers for a game close? The beginning of the game?

When do you personally close the wagers?

When should an Event settle? Immediately after the game is over?

pharlap 03-29-2012 11:36 PM

Quote:

Originally Posted by Octavius. (Post 2314843)
When does placing wagers for a game close? The beginning of the game?

When do you personally close the wagers?

When should an Event settle? Immediately after the game is over?

1. When you set it to close

2. Its done automatically at the time you set

3. No use settling before the result is known.

Lahoria 04-02-2012 01:54 PM

hi
I cant create a bet ( first time installion), I guess it has something to do with userpermission, Can someone explain how to do this step by step?

ForceHSS 04-02-2012 04:49 PM

make a new post you will see the option under Additional Options

Adamwingie 04-09-2012 01:13 PM

Another problem has presented itself recently, whenever I try and settle a bet I get the following error. Any ideas?

Quote:

Database error in vBulletin 4.1.10:

Invalid SQL:
UPDATE xperience_stats SET points_misc_vbookie_cash=points_misc_vbookie_cash+ 11474 WHERE userid=8;

MySQL Error : Unknown column 'points_misc_vbookie_cash' in 'field list'
Error Number : 1054
Request Date : Monday, April 9th 2012 @ 03:12:58 PM
Error Date : Monday, April 9th 2012 @ 03:12:58 PM
Script : http://www.fallscountanywhere.com/vbookie.php
Referrer : http://www.fallscountanywhere.com/th...an-City?p=5017
IP Address : 78.151.77.19
Username : Adam
Classname : vB_Database
MySQL Version : 5.1.61-cll

ForceHSS 04-09-2012 02:18 PM

you need to add the missing field

Adamwingie 04-10-2012 02:44 PM

Nothing has been changed, edited, deleted or messed with in anything.

It was working fine.

ForceHSS 04-10-2012 08:41 PM

you would be best to delete the plugin and all the files and reinstall again as the error you have above has something to do with another plugin as well as the vbookie one "xperience_stats" maybe a old plugin that was not removed right as this table is not default or part of this plugin

dartho 04-11-2012 09:31 AM

Speak to who ever created the xperience integration - that is where it is falling over ...

kotlt99 05-01-2012 03:11 AM

I want to add vcash to all member every month, how to do it automatically ?

bobster65 05-01-2012 04:21 AM

Quote:

Originally Posted by kotlt99 (Post 2325115)
I want to add vcash to all member every month, how to do it automatically ?

write a function and then create a CRON ENTRY to run that function once a month.

kotlt99 05-01-2012 10:12 AM

Quote:

Originally Posted by bobster65 (Post 2325127)
write a function and then create a CRON ENTRY to run that function once a month.

Can you please help me step by step :( ?

Thank you so much

nektar 05-04-2012 12:01 PM

Is there a way of changing the time intervals for a bet to automatically close?
For example I would like to be able to set 21:45 as time.

Thank you.

owning_y0u 05-11-2012 09:44 AM

Getting the following error 4.1.12

Deprecated: Assigning the return value of new by reference is deprecated in vbookie.php on line 721

Deprecated: Assigning the return value of new by reference is deprecated in vbookie.php on line 1441

dartho 05-11-2012 12:52 PM

Quote:

Originally Posted by owning_y0u (Post 2328335)
Getting the following error 4.1.12

Deprecated: Assigning the return value of new by reference is deprecated in vbookie.php on line 721


Deprecated: Assigning the return value of new by reference is deprecated in vbookie.php on line 1441

Edit the vbookie.php file, search for
Code:

$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
and replace with
Code:

$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());
The 2 occurrences will be on lines 721 and 1441

New Joe 05-11-2012 12:55 PM

Quote:

Originally Posted by dartho (Post 2328389)
Edit the vbookie.php file, search for
Code:

$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
and replace with
Code:

$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());
The 2 occurrences will be on lines 721 and 1441

Should we all do this if using or upgrading to 4.1.12?

palalu 05-11-2012 01:50 PM

dartho, can u teach me how to add the 'points' if i post something in a thread? like u said.. i must write a plugin.. how? im so newbie T_T please dont be mad lol

dartho 05-11-2012 11:00 PM

I'm a bit too busy for anythjing but basic support at the moment.

By the way, your status suggests that you haven't even downloaded this script?

palalu 05-15-2012 10:37 AM

download vbookie 4.0.9

admincp--manage product--import the file (product-bookiehack-4.0.9)

when i click vbookie menu.. got eror 404..

my vbulletin version is 4.1.11 its compatible? or im wrong?

dartho 05-15-2012 08:56 PM

404 error means file not found which would suggest you either did not upload the files, or they were uploaded to the incorrect directory. Did you upload the contents of the upload directory in the zip to your forum root?

Pandemikk 05-17-2012 04:43 AM

Quote:

Originally Posted by New Joe (Post 2328390)
Should we all do this if using or upgrading to 4.1.12?

It's more of your PHP version instead of your vB version. There is no functional change because the version of PHP that shows you that warning already assigns instantiated classes by reference.

Anyone know if this works flawlessly on 4.1.12?

UK CHI3F 05-23-2012 06:44 AM

Yes we had it on 4.1.12 and it was working fine,

Unfortunately we have finished the 4.2 upgrade and all the navigation bar options have disappeared, ie blog, articles etc.

Appears on all other tabs just not bookie.

Trevor Hannant 05-23-2012 03:28 PM

Quote:

Originally Posted by UK CHI3F (Post 2331840)
Yes we had it on 4.1.12 and it was working fine,

Unfortunately we have finished the 4.2 upgrade and all the navigation bar options have disappeared, ie blog, articles etc.

Appears on all other tabs just not bookie.

Find this near the bottom of vbookie.php:

Code:

$templater = vB_Template::create('VBOOKIE');
and add these lines above:

Code:

$navbits = construct_navbits($navbits);
$navbar = render_navbar_template($navbits);

And add a new link to vbookie.php in the Navigation Manager and the relevant sub-nav until the product gets updated

UK CHI3F 05-27-2012 01:27 PM

Thanks for the promp reply, and apologies for the delay in my reply

Quote:

Find this near the bottom of vbookie.php:

Code:
$templater = vB_Template::create('VBOOKIE');
and add these lines above:

Code:
$navbits = construct_navbits($navbits);
$navbar = render_navbar_template($navbits);
And add a new link to vbookie.php in the Navigation Manager and the relevant sub-nav until the product gets updated
Worked like a charm, thank you very much

VieNoc 05-28-2012 04:21 PM

Quote:

Originally Posted by Trevor Hannant (Post 2331967)
Find this near the bottom of vbookie.php:

Code:

$templater = vB_Template::create('VBOOKIE');
and add these lines above:

Code:

$navbits = construct_navbits($navbits);
$navbar = render_navbar_template($navbits);

And add a new link to vbookie.php in the Navigation Manager and the relevant sub-nav until the product gets updated

Thanks :up:

sutto 05-29-2012 05:26 AM

Quote:

Originally Posted by Trevor Hannant (Post 2331967)
Find this near the bottom of vbookie.php:

Code:

$templater = vB_Template::create('VBOOKIE');
and add these lines above:

Code:

$navbits = construct_navbits($navbits);
$navbar = render_navbar_template($navbits);

And add a new link to vbookie.php in the Navigation Manager and the relevant sub-nav until the product gets updated

Followed these steps, however I don't quite understand how to add the subnav aswell.
The nav is there and is working, however I just don't see any other options.

cheers

mentalageof2 05-30-2012 06:36 AM

Hi all,

After an upgrade to 4.2.0 I've now got this message when trying to install plugins:

Quote:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:
Bitfield Collision: canwrtmembers = canpostvbookieevent
A quick look through /includes/xml/bitfield_vbulletin.xml shows:

Code:

<bitfield name="canwrtmembers" group="forum_viewing_permissions" phrase="can_wrt_members" install="5,6,7">67108864</bitfield
>
And in /includes/bitfield_bookiehack.xml:

Code:

<bitfield name="canpostvbookieevent" group="vbookie_permissions" phrase="can_post_vbookieevents" install="2,5,6,7">67108864</bitfield>
So direct conflict with a core vb permissions bitfield in the new version by the look of it.

Have had to disable my vBookie for now to get vbseo running again, so any advice greatly appreciated.

Cheers
J

nektar 05-30-2012 06:42 AM

I'm having the same problem.

I tried to update one plugin and I got this message:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:
  • Bitfield Collision: canwrtmembers = canpostvbookieevent

dartho 05-30-2012 10:46 AM

I think that bitfield file is left over from vb3! vBookie 4 has never used bitfields for permissions, feel free to delete it (/includes/xml/bitfield_bookiehack.xml)

nektar 05-30-2012 12:40 PM

Quote:

Originally Posted by dartho (Post 2334614)
I think that bitfield file is left over from vb3! vBookie 4 has never used bitfields for permissions, feel free to delete it (/includes/xml/bitfield_vbulletin.xml)

Excuse me but can you please be more precise on what to delete?
Delete /includes/xml/bitfield_vbulletin.xml file???

Thank you.

mentalageof2 05-31-2012 04:53 AM

Quote:

Originally Posted by dartho (Post 2334614)
I think that bitfield file is left over from vb3! vBookie 4 has never used bitfields for permissions, feel free to delete it (/includes/xml/bitfield_vbulletin.xml)

Thanks mate, resolved, looks like a good clean-out is required on the board in question. (yay!)

nektar 05-31-2012 04:57 AM

Quote:

Originally Posted by mentalageof2 (Post 2334943)
Thanks mate, resolved, looks like a good clean-out is required on the board in question. (yay!)

Can you tell me how you resolved it?

Thank you.

dartho 05-31-2012 05:04 AM

You need to delete the /includes/xml/bitfield_bookiehack.xml file.

nektar 05-31-2012 05:26 AM

Quote:

Originally Posted by dartho (Post 2334945)
You need to delete the /includes/xml/bitfield_vbulletin.xml file.


Are you sure?

I deleted it and then tried to install a product and I got the following error: (part of it as it is quite big)

PHP Code:

Fatal errorCould not open [path]/includes/xml/bitfield_vbulletin.xml in [path]/includes/class_bitfield_builder.php on line 130 


nektar 05-31-2012 05:36 AM

I deleted /bitfield_bookiehack.xml and it seems to be ok now.
I guess this is what you meant since the one you propose to delete is a vbulletin file...

dartho 05-31-2012 05:48 AM

OOPS.. yes - bitfield_bookiehack.xml - bad copy and paste on me behalf there. I'll edit my above posts.


All times are GMT. The time now is 05:14 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.02220 seconds
  • Memory Usage 1,839KB
  • 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
  • (12)bbcode_code_printable
  • (1)bbcode_php_printable
  • (17)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