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
  #2162  
Old 03-27-2009, 01:34 PM
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Mar 2004
Location: Morecambe, UK
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JJ the Fox View Post
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".
Reply With Quote
  #2163  
Old 03-27-2009, 01:45 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tjdrico View Post
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:
Reply With Quote
  #2164  
Old 03-31-2009, 04:48 PM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #2165  
Old 03-31-2009, 06:14 PM
jonah1892 jonah1892 is offline
 
Join Date: Jul 2008
Location: Newcastle, UK
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hiranmanu View Post
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
Reply With Quote
  #2166  
Old 04-01-2009, 01:24 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blue6995 View Post
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
Reply With Quote
  #2167  
Old 04-01-2009, 03:01 PM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DS MrSinister View Post
to fix that you need to edit vbookie.php file.

https://vborg.vbsupport.ru/showpost....postcount=1617
Worked a treat. Thank you so much
Reply With Quote
  #2168  
Old 04-02-2009, 05:46 AM
opsman opsman is offline
 
Join Date: Oct 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jonah1892 View Post
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
Reply With Quote
  #2169  
Old 04-03-2009, 06:28 AM
plazzman plazzman is offline
 
Join Date: Oct 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #2170  
Old 04-06-2009, 10:17 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #2171  
Old 04-06-2009, 12:02 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk_aus View Post
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.
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 02:30 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.11505 seconds
  • Memory Usage 2,330KB
  • 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
  • (3)bbcode_php
  • (7)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