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
  #1552  
Old 07-16-2007, 10:15 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pgowder View Post
How can I list vCash in the members list?
Anyone have a suggestion for this?
Reply With Quote
  #1553  
Old 07-16-2007, 10:28 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 pgowder View Post
Anyone have a suggestion for this?
Should be as simple as a template edit, just like getting it to show up in the Post Bit. If I get bored tonight, I'll take a look into it ..
Reply With Quote
  #1554  
Old 07-16-2007, 11:43 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bobster65 View Post
Should be as simple as a template edit, just like getting it to show up in the Post Bit. If I get bored tonight, I'll take a look into it ..
Thanks, or even a page that show the top 20 members.
Reply With Quote
  #1555  
Old 07-17-2007, 01:22 AM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pgowder View Post
How can I list vCash in the members list?
This is what I came up with. It involves 1 file edit and 2 template edits. The result is vcash showing up in the member list and is sortable...

Step 1: Edit memberlist.php

PHP Code:
================================
File Editmemberlist.php
================================
FIND:
--------------------------------
        case 
'posts':
            
$sqlsort 'user.posts';
            break;
--------------------------------
ADD BELOW:
--------------------------------
        case 
'vbookie_cash':
            
$sqlsort 'user.vbookie_cash';
            break; 

Step 2: Edit memberlist Template

PHP Code:
================================
Template Editmemberlist
================================
FIND:
--------------------------------
    <if 
condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=posts&amp;pp=$perpage$usergrouplink">$vbphrase[posts]</a$sortarrow[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
    <if 
condition="$vboptions['vbookiecashon']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=vbookie_cash&amp;pp=$perpage$usergrouplink">$vbphrase[vbookie_vcash]</a$sortarrow[vbookie_cash]</td></if> 

Step 3: Edit memberlist_resultsbit Template

PHP Code:
================================
Template Editmemberlist_resultsbit
================================
FIND:
--------------------------------
    <if 
condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
    <if 
condition="$vboptions['vbookiecashon'] AND exec_switch_bg() "> <td class="$bgclass">$userinfo[vbookie_cash]</td></if> 

Tested on my site and works perfectly...
Reply With Quote
  #1556  
Old 07-17-2007, 10:44 AM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bobster65 View Post
This is what I came up with. It involves 1 file edit and 2 template edits. The result is vcash showing up in the member list and is sortable...

Step 1: Edit memberlist.php

PHP Code:
================================
File Editmemberlist.php
================================
FIND:
--------------------------------
        case 
'posts':
            
$sqlsort 'user.posts';
            break;
--------------------------------
ADD BELOW:
--------------------------------
        case 
'vbookie_cash':
            
$sqlsort 'user.vbookie_cash';
            break; 

Step 2: Edit memberlist Template

PHP Code:
================================
Template Editmemberlist
================================
FIND:
--------------------------------
    <if 
condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=posts&amp;pp=$perpage$usergrouplink">$vbphrase[posts]</a$sortarrow[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
    <if 
condition="$vboptions['vbookiecashon']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=vbookie_cash&amp;pp=$perpage$usergrouplink">$vbphrase[vbookie_vcash]</a$sortarrow[vbookie_cash]</td></if> 

Step 3: Edit memberlist_resultsbit Template

PHP Code:
================================
Template Editmemberlist_resultsbit
================================
FIND:
--------------------------------
    <if 
condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
    <if 
condition="$vboptions['vbookiecashon'] AND exec_switch_bg() "> <td class="$bgclass">$userinfo[vbookie_cash]</td></if> 

Tested on my site and works perfectly...
That worked great!!! Thanks so much!
Reply With Quote
  #1557  
Old 07-17-2007, 03:53 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On bets like this:
http://www.luckpredictions.com/showthread.php?t=14

Where I've set the odds as 1/10. Does the person get back their bet amount and what they won?

So if a person bets 100 on this, how much do they get back total?

Thanks
Reply With Quote
  #1558  
Old 07-17-2007, 07:20 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 pgowder View Post
That worked great!!! Thanks so much!
Cool Beans
Reply With Quote
  #1559  
Old 07-19-2007, 12:50 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If people have bets placed on an open event and I zero out everyone's vcash, what happens to their pending bets?

Are they still good?

Thanks
Reply With Quote
  #1560  
Old 07-19-2007, 10:58 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to have a PM or email sent when a bet is settled?
Reply With Quote
  #1561  
Old 07-23-2007, 05:05 PM
pgowder's Avatar
pgowder pgowder is offline
 
Join Date: Nov 2001
Location: West Columbia, SC
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pgowder View Post
If people have bets placed on an open event and I zero out everyone's vcash, what happens to their pending bets?

Are they still good?

Thanks
Quote:
Originally Posted by pgowder View Post
Is it possible to have a PM or email sent when a bet is settled?
Anyone know about these?
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:56 AM.


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.06516 seconds
  • Memory Usage 2,356KB
  • 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
  • (6)bbcode_php
  • (8)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
  • (5)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