vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBookie for vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=94128)

tjdrico 03-27-2009 01:34 PM

Quote:

Originally Posted by JJ the Fox (Post 1771648)
Read the top of the thread. There will never be another version. The mod is abandoned.

Ah, that's a shame. I wrote the original mod 5 years ago, but I don't have the latest version of vBulletin (my forum is 3.6.8).

Still, never say "never".

bobster65 03-27-2009 01:45 PM

Quote:

Originally Posted by tjdrico (Post 1778234)
Ah, that's a shame. I wrote the original mod 5 years ago, but I don't have the latest version of vBulletin (my forum is 3.6.8).

Still, never say "never".

well, enough people want this mod updated that I am positive that you would receive more than enough in donations to purchase the latest version of vb ;)

btw, thank you for the original mod.. it is by far my favorite all time mod. It deserves a spot in the Hall of Fame of Modifications :up:

blue6995 03-31-2009 04:48 PM

I have this working with vb 3.8.1, but it won't let me move past Page 1 of the Settled bets or the Closed bets. When I select say Page 2 it just remains on the first page. I am sure I found the solution to this somewhere in here, but can't for the life of me find it again! Any ideas

jonah1892 03-31-2009 06:14 PM

Quote:

Originally Posted by Hiranmanu (Post 1770679)
I have this working for 3.8.1 PL1. This works for any forum version with the right modifications done. I will write up exactly what you guys need to do to get it working.


1: Upload all files in upload folder
2: Import product-bookiehack.xml
3: Goto ACP > Plugins & Products > Plugin Manager
4: Edit Redirect to vbookie.php when posting new Event by replacing the entire 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)); 


5: In template Newthread find
PHP Code:

$threadmanagement 

. Above that add the following code
PHP Code:

<if condition="$show['vbookieevent']">
    <
fieldset class="fieldset">
        <
legend>$vbphrase[post_a_vbookieevent]</legend>
        <
div style="padding:$stylevar[formspacer]px">
            <
div><label for="cb_postvbookieevent"><input type="checkbox" name="postvbookieevent" value="yes" id="cb_postvbookieevent" tabindex="1" $checked[postvbookieevent] />$vbphrase[yes_post_a_vbookieevent_thread]</label></div>
        </
div>
    </
fieldset>
   </if> 

6: Download ICash and install
7: Change ICash Options. Change the Money Row to vbookie_cash


This will definately work for you. I have left off showing the points in the postbit and the link in the navbar. If you need to add these the code is the same as the original.

that worked a treat, and i'm using vbcredits without any issues

DS MrSinister 04-01-2009 01:24 PM

Quote:

Originally Posted by blue6995 (Post 1781178)
I have this working with vb 3.8.1, but it won't let me move past Page 1 of the Settled bets or the Closed bets. When I select say Page 2 it just remains on the first page. I am sure I found the solution to this somewhere in here, but can't for the life of me find it again! Any ideas

to fix that you need to edit vbookie.php file.

https://vborg.vbsupport.ru/showpost....postcount=1617

blue6995 04-01-2009 03:01 PM

Quote:

Originally Posted by DS MrSinister (Post 1781723)
to fix that you need to edit vbookie.php file.

https://vborg.vbsupport.ru/showpost....postcount=1617

Worked a treat. Thank you so much

opsman 04-02-2009 05:46 AM

Quote:

Originally Posted by jonah1892 (Post 1781220)
that worked a treat, and i'm using vbcredits without any issues

Higot one small issue I have a member named L'Raine and she can earn points but when someone tries to donate we get a database error with the username having the @ in it, see error below

Invalid SQL:
update frmuser set vbookie_cash = vbookie_cash + '500' where username = 'l'raine';

you can see the ' is causing a problem, this happened when I tried donating manually from admincp

plazzman 04-03-2009 06:28 AM

Yes, finally got this working. Excellent.

Last question, if I want to write a plugin for richest users (by using vbookie_get_richest), what exactly do I have to write?

merk_aus 04-06-2009 10:17 AM

Thanks hopefully we can convince a coder to come up with a new version of this so we do not have to continue to edit files

fly 04-06-2009 12:02 PM

Quote:

Originally Posted by merk_aus (Post 1784932)
Thanks hopefully we can convince a coder to come up with a new version of this so we do not have to continue to edit files

Apparently, Andreas won't allow it for some reason.


All times are GMT. The time now is 09:01 PM.

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.04800 seconds
  • Memory Usage 1,759KB
  • 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
  • (3)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
  • (4)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