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)

BullTaco 01-17-2005 12:53 PM

Well thats my probelm...I do not see that when I click on new thread. I have the usergroups I want checked so they can use it..and I have it turned on in my adminpanel.

I got no errors when I installed it. Everything seems to be working...I just have no option to post a vbookie event.......I even went back and re did the newthread template portion..to make sure I did not do something wrong...

I am at a lost.

BullTaco 01-17-2005 12:56 PM

Well after much thought....I just went back to all the usergroups to check to make sure I had them set to "allow vbookie events"...they all we're.....so I just updated them...instead of baking out ofthem....and voila.....there they are!!

Thanks so much for the help!

BullTaco 01-17-2005 01:09 PM

Well...I shouldnt have been so fast....LOL

I can see it in some forums and not in others...I cant see a difference in settings of the forums....is there something in a particuliar forum is to why that would not show up in the newthread ??

xjussix 01-21-2005 09:53 AM

Any idea why the following code in the end of global.php causes " Warning: Invalid argument supplied for foreach() in /includes/functions.php" after upgrading from 3.0.5 to 3.0.6?

Code:

if (DB_QUERIES)
{
    $pageendtime = microtime();
    $starttime = explode(' ', $pagestarttime);
    $endtime = explode(' ', $pageendtime);
    $aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
    echo "End call of global.php: $aftertime\n";
    echo "\n<hr />\n\n";
}

// +++ vBookie
// get general settings for vBookie
$vbookiesettings = convert_bits_to_array($vbookiesettings,$_VBOOKIE);
// --- vBookie

/*======================================================================*\
|| ####################################################################
|| # Downloaded: 02:21, Fri Jan 21st 2005


skinny 01-21-2005 11:21 AM

Quote:

Originally Posted by xjussix
Any idea why the following code in the end of global.php causes " Warning: Invalid argument supplied for foreach() in /includes/functions.php" after upgrading from 3.0.5 to 3.0.6?

Code:

if (DB_QUERIES)
{
    $pageendtime = microtime();
    $starttime = explode(' ', $pagestarttime);
    $endtime = explode(' ', $pageendtime);
    $aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
    echo "End call of global.php: $aftertime\n";
    echo "\n<hr />\n\n";
}

// +++ vBookie
// get general settings for vBookie
$vbookiesettings = convert_bits_to_array($vbookiesettings,$_VBOOKIE);
// --- vBookie

/*======================================================================*\
|| ####################################################################
|| # Downloaded: 02:21, Fri Jan 21st 2005


I had terrible problems with my functions.php file when I had to edit it. Try making the changes in a simple text editor like notepad or wordpad. I always have to when editing functions.php otherwise it adds spaces into the file which cause errors like you are having.

trackpads 01-21-2005 12:16 PM

I recommend CuteFTP Pro from globascape. You can open the files on the server and then just click save. Never had a problem that wasnt my fault. It is a great program:

http://www.globalscape.com

-Jason

Roxie 01-22-2005 01:58 AM

When I edit includes/adminfuctions_forum.php with this code:

Code:

// +++ vBookie
    print_description_row($vbphrase['vbookie_permissions'], 0, 2, 'thead', 'center');
    print_yes_no_row($vbphrase['can_post_vbookieevents'], 'forumpermission[canpostvbookieevent]', $forumpermission['canpostvbookieevent'], $extra);
    print_yes_no_row($vbphrase['can_edit_others_vbookieevents'], 'forumpermission[caneditothersvbookieevents]', $forumpermission['caneditothersvbookieevents'], $extra);
    print_yes_no_row($vbphrase['can_bet_on_vbookieevents'], 'forumpermission[canbet]', $forumpermission['canbet'], $extra);
    // --- vBookie

After this

Code:

print_yes_no_row($vbphrase['can_vote_on_polls'], 'forumpermission[canvote]', $forumpermission['canvote'], $extra);
I get the attached. Notice the vbookie settings at the top. I have tried to fix it about 3 times. Any ideas? I'm not sure if it's causing any issues. Everything else seems to work. Although the settings in usergroup manager won't stick sometimes.

Roxie 01-22-2005 02:38 AM

Quote:

Originally Posted by Lionel
The problem was in the bitfield. They were both using the same bitfield number. I doubled the other hack bitfield, and the permissions are holding and the other hack appears to be fine.

However, I am confused on how Vbookie works. I gave full permission to admin, and when I go to vbookie.php I do not see how to input a bet.

Thanks. This fixed 1/2 of my issue.

teamgofast 01-24-2005 12:06 AM

anyone help me with this?

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

i had a template issue and tried to reinstall everything but get this error?

Spikeh 01-24-2005 11:14 AM

Hey all,

I installed this last night on my fresh install of 3.0.6 and everything seemed to go ok and I think I got everything working. However when I try and alter the setting in the ACP they just revert back to "No".

Anyone else get this problem and know how to sort it?


All times are GMT. The time now is 12:27 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.02645 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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