Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-29-2007, 04:08 AM
nbaphenom nbaphenom is offline
 
Join Date: May 2007
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vbookie

Okay for vbookie at http://invertedflash.com how do i edit the defualt amount members get? Also it says do this
Installation
------------
1) Upload all files in floder upload
2) Import product-bookiehack.xml
3) In Template newthread
FIND
--------------------------------------------------
$threadmanagement
--------------------------------------------------

ABOVE that ADD
--------------------------------------------------
<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>

also how do i set my users defualt vcash to 500. I do up to step 3 here and i dont get where to go
Reply With Quote
  #2  
Old 09-07-2007, 06:18 AM
gaxpox gaxpox is offline
 
Join Date: Jun 2007
Location: Munich
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBookie
=======
Description
-----------
vBookie is a 'bookmakers' or betting extension to vBulletin. It enables authorised members to post
Events and Outcomes that forum members can bet on. Each Outcome has its own set of odds, and odds
can be modified through the life of an Event (bets that are placed are stored with the prevailing
odds, so even if the odds change, your users are paid at the correct rate).

Once the results are known, Events can be settled and forums members awarded their winnings.

vBookie uses its own vCash by default, but this has no more use than as 'bragging rights'. However,
vBookie also comes with a built-in switch to allow it to use uCash or eBux instead. That means that
all bets are paid for and settled using uCash or eBux, making betting even more attractive than just
for fun on forums with uShop installed. Although vBookie does not have any built-in facility to
integrate with any other store hacks, it's a very simple to integrate it with any store/points
system you care to use.

Details
-------
1 Product XML
1 Bitfield XML
1 Hooks XML
1 PHP Script
1 Image

Installation
------------
1) Upload all files in floder upload
2) Import product-bookiehack.xml
3) In Template newthread
FIND
--------------------------------------------------
$threadmanagement
--------------------------------------------------

ABOVE that ADD
--------------------------------------------------
<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>
--------------------------------------------------

In Templates postbit/postbit_legacy
FIND
--------------------------------------------------
$vbphrase[posts]: $post[posts]
--------------------------------------------------

BELOW that ADD
--------------------------------------------------
<if condition="$vboptions['vbookiecashon']">
<br />$vbphrase[vbookie_vcash]: $post[vbookie_cash]
</if>
--------------------------------------------------

In Template
FIND
--------------------------------------------------
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
--------------------------------------------------

BELOW that ADD
--------------------------------------------------
<td class="vbmenu_control"><a href="vbookie.php?$session[sessionurl]">$vbphrase[vbookie]</a></td>
--------------------------------------------------

Usage
-----
Go to vBulletin Options / vBookie Settings to make your settings

Setup your permissions in Usergroups / Usergroup Manager (and, if necessary, in Forums & Moderators / Forum Permissions too)

Integrations with cash/points/store systems
-------------------------------------------
vBookie does have built-in support for uCash and eBux.

To integrate it with other systems, you have to write plugins for the following hooks:
* vbookie_do_charity
* vbookie_get_richest
* vbookie_get_user_cash
* vbookie_give_user_cash
* vbookie_take_user_cash

If you are unsure how to do this, please ask the author of those
Reply With Quote
  #3  
Old 09-07-2007, 06:30 AM
G0F0RBR0KE G0F0RBR0KE is offline
 
Join Date: Mar 2005
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't they put vBookie in the graveyard due to security?
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 01:24 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.03186 seconds
  • Memory Usage 2,184KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete