Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBookie for vBulletin 3.5 Details »»
vBookie for vBulletin 3.5
Version: 1.0.7, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 08-11-2005 Last Update: 02-17-2006 Installs: 633
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

vBookie

Introduction

This is a Port of the original vBookie Hack created by tdjrico; full credits to him for the idea and the kind permission to port his work

A t t e n t i o n
This Hack is unsopported and incompatible with vBulletin 3.6+
You are hereby advised to not use it.
Please do not ask me about support and/or updates - there will be none.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2112  
Old 01-07-2009, 05:58 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On 3.6.x - How do I edit this to not show $vbphrase[anon] but show the word?

Code:
$vbphrase[anon] won
Reply With Quote
  #2113  
Old 01-08-2009, 01:17 AM
HFB HFB is offline
 
Join Date: Mar 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Polish Guy View Post
This was asked on the previous page, but has not been answered yet to my knowledge.

I am looking to reset all the vBookie stats (vCash amounts, bets placed, and totals on the stats page). I do not want to go into my database and redo everything since I'm iffy when it comes to SQL. Is there a way to reset these tables to get this done?
You can run the SQL queries in AdminCP in the Maintenance menu.

For a complete vBookie reset run these SQL queries:

Reset everyone's vCash:

UPDATE user SET vbookie_cash=X;
where X= vCash (eg 500)

To totally clear all past events:

DELETE FROM vbookie_news;
DELETE FROM vbookie_bets_placed;
DELETE FROM vbookie_item_options;
DELETE FROM vbookie_items;
DELETE FROM vbookie_groups;

Some other useful vBookies queries people might find useful:

To remove a specific event:
DELETE FROM vbookie_items WHERE item_id = 'X';

replace X with the item id which you can get by mousing over the info link in the affected vbookie event.

To remove a news event:
DELETE FROM vbookie_news WHERE news_id = X';

To Abandon/Mitigate a wrongly settled event:

UPDATE vbookie_items SET item_status='CLOSED' WHERE item_id= 'X';

This will change it from Settled to Closed. Then click the Abandon Event link in the thread. This only returns the original stakes. vCash won as a result of the incorrect settlement is not taken away and changing the winner in the thread has no effect.


Quote:
Originally Posted by punchbowl View Post
Me too. Any one else?
I've encountered the problem with ridiculously large vCash numbers too. Unfortunately there's a way to cheat which I won't go into. It can also occur unintentionally with slaved db servers. You can dramatically reduce it by not permitting events that allow more than one bet.
Reply With Quote
  #2114  
Old 01-12-2009, 08:10 AM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Following an update to vBulletin, the code below used to fix it so you could post vBookie events. It doesn't seem to work with vBulletin v 3.8.0 Any ideas on how I can get back the options to post vBookie events?

Thanks

if ($newpost['postvbookieevent'])
{
$vbulletin->url = 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
eval(print_standard_redirect('redirect_postthanks_ moderate', true, false));
}
Reply With Quote
  #2115  
Old 01-12-2009, 02:02 PM
Maxman1544 Maxman1544 is offline
 
Join Date: Jan 2006
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blue6995 View Post
Following an update to vBulletin, the code below used to fix it so you could post vBookie events. It doesn't seem to work with vBulletin v 3.8.0 Any ideas on how I can get back the options to post vBookie events?

Thanks



if ($newpost['postvbookieevent'])
{
$vbulletin->url = 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
eval(print_standard_redirect('redirect_postthanks_ moderate', true, false));
}

I am having the same problem. If anyone has this working in 3.8 any insight would be appreciated.

I believe that it was posted in here that this works with 3.8.
Reply With Quote
  #2116  
Old 01-12-2009, 08:57 PM
wicked80 wicked80 is offline
 
Join Date: Feb 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was working fine for me till 3.7.4 but after upgrading to 3.8.0 it has stopped working and not showing the option to create a vbookie event when i try to create a new thread...

Anyone experiencing the same issues????
Reply With Quote
  #2117  
Old 01-14-2009, 04:26 PM
JimmiOO JimmiOO is offline
 
Join Date: Nov 2007
Location: Channel Islands, Jersey
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I created a test event then deleted it, the problem i am having now is, when i go into the vbookie the test events is still listed as open but no option to delete it now. How can i get rid of this?
Reply With Quote
  #2118  
Old 01-15-2009, 07:12 AM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
vBookie & 3.6

The posting of vbookie events in 3.6 is broken because the hook used has moved.

To fix this problem, the following plugin must be edited ;


vBookie: Redirect to vbookie.php when posting new Event

Replace the plugin code with this ;

PHP Code:
if ($newpost['postvbookieevent']) 

    
$vbulletin->url 'vbookie.php?' $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent"
    eval(
print_standard_redirect('redirect_postthanks_moderate'truefalse));

Note: I'm not actually using vbookie atm so I can't comment on any other problems.
This used to work prior to vBulletin version 3.8.0. Unfortunately, it doesn't work with v3.8.0
Any ideas on how we can fix this?
Reply With Quote
  #2119  
Old 01-15-2009, 01:48 PM
Maxman1544 Maxman1544 is offline
 
Join Date: Jan 2006
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once I change that plugin as noted above, it now works fine. Thanks for the reminder!
Reply With Quote
  #2120  
Old 01-15-2009, 03:22 PM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The option to make a vbookie event doesn't show up anymore...it seems like this modification is going to die unfortunately unless someone updates it.
Reply With Quote
  #2121  
Old 01-15-2009, 09:31 PM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Maxman1544 View Post
Once I change that plugin as noted above, it now works fine. Thanks for the reminder!
I doesn't work on mine! Did you do anything different other than copy that code in?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07119 seconds
  • Memory Usage 2,323KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete