vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - vBookie for vBulletin 4 (https://vborg.vbsupport.ru/showthread.php?t=233473)

ProFifaLeagues 01-19-2010 02:39 PM

Working great and a simple install.Thanks

halkum 01-19-2010 02:49 PM

Wow. Thanks!

GreigM 01-19-2010 02:55 PM

Quote:

Originally Posted by jonty (Post 1960107)
Code:

ALTER TABLE user CHANGE COLUMN vbookie_cash vbookie_cash BIGINT(20) UNSIGNED NULL DEFAULT 1000  ;
Changes the default value to '1000' for new members (if you've already imported the product)

Thanks :)

ProFifaLeagues 01-19-2010 03:31 PM

Are the vcash points only gained by winning bets??
or does this work like other cash systems and count posts etc towards amounts?
thanks

Magz 01-19-2010 05:02 PM

Works just for the bets.

Use ucash, or the soon to be released vbcredits for vb4

cbehan 01-19-2010 06:25 PM

dartho, you're my freaking hero. My board loves this mod and now can love it once we upgrade to vb4 too!

Love it.

Hornstar 01-20-2010 06:26 AM

yeah nice work dartho! tagged for when I upgrade.

bandare 01-20-2010 09:10 AM

When I used this a long time ago, it wasn't supported any more and there wasn't an easy way to reset everyone's money to a set amount. Is this or will this be possible in this version?

dartho 01-20-2010 10:26 AM

I'll support as I can, see 1st post (F.A.Q.) for an easy way to reset peoples cash. I will likely add some admincp functions for doing things such as this.

badawidollah 01-20-2010 11:29 AM

not work at VB4.0.1
installed but cant open events

www.nusantaraku.org

dartho 01-20-2010 11:32 AM

what do you mean "Can't Open" events?

1. Have you followed the install instructions (particularly permissions)
2. Did you read teh F.A.Q. in post 1 (particularly the bit about rebuilding bitfields)
3. Now you can click install :)

bandare 01-20-2010 11:47 AM

Quote:

Originally Posted by dartho (Post 1961041)
I'll support as I can, see 1st post (F.A.Q.) for an easy way to reset peoples cash. I will likely add some admincp functions for doing things such as this.

thanks very much...

badawidollah 01-20-2010 01:01 PM

<a href="http://www.nusantaraku.org/forum/vbookie.php?type=OPEN" target="_blank">http://www.nusantaraku.org/forum/vbookie.php?type=OPEN</a>

installed
but cant click anything there

cbehan 01-20-2010 01:44 PM

Quote:

Originally Posted by bandare (Post 1961000)
When I used this a long time ago, it wasn't supported any more and there wasn't an easy way to reset everyone's money to a set amount. Is this or will this be possible in this version?

It's pretty easy to run some php scripts to set/update money via mySQL.

I have some cron jobs resetting everyone to 1000 vbux every 6 months as well as giving everyone an allowance of 500 every week.

fly 01-20-2010 02:02 PM

dartho is my new hero

bandare 01-20-2010 02:04 PM

One thing that was annoying in the previous versions was the ability to make a private bet. Is there a way when setting up an event to have a tick box to allow private bets or not.?

GreigM 01-20-2010 02:50 PM

You wish to stop private bets? no don't think there is such an option

bandare 01-20-2010 05:10 PM

Quote:

Originally Posted by GreigM (Post 1961269)
You wish to stop private bets? no don't think there is such an option

I know there isn't currently but I'd like a way for that not to be available.... I think it's good to see who votes for what, so public only, unless you tick to allow private :)

something for the future maybe...

TimberFloorAu 01-20-2010 07:17 PM

Quote:

Originally Posted by badawidollah (Post 1961170)
http://www.nusantaraku.org/forum/vbookie.php?type=OPEN

installed
but cant click anything there

You need to add a BET on the system, those tabs are not tabs just tab headings.

If you cannot add a bet then usergroup permissions havent been set properly.

Quite frustrating, but well worth the 5 minutes it takes
( in my case : that is )

1.I set vbookie to be used in 3 forums
2.Then in usergroups i set which users could do what ( registered , admins mods and supermods ) each time having clicked save I rebuilt bitfields. ( easiest way to do that is...(see note 1 )
3. then in forum group permissions for each forum, and each usergroup I again set the permissions, and after clicking save on each one, I rebuilt bitfields. ( see note 1 )

Note 1.
Step 1
Open one window with admincp ( with forums link open ) Change permissions one step at a time, so click Administrators under a certain forum, change vbookie permissions, click save ) then move onto step 2

Step 2
Open another window tab ( and in notepad type this out. )

http://yourdomain.com/forum//admincp...buildbitfields
Changing the path to suit your domain. Highlight it, click CTRL+C then each time you have saved usergroup changes in STEP 1 , paste this link into the open tab, hit ENTER

Then go back to Step 1, and move to next usergroup. Repeat until you have done this for all usergroups, and all forum permissions.

STe

dartho 01-20-2010 08:54 PM

4.0.1 released - Just cleaned up some "testing code" that was still in the templates and files and added a global option to allow/disallow Private Bets

bandare 01-20-2010 10:08 PM

Quote:

Originally Posted by dartho (Post 1961658)
4.0.1 released - Just cleaned up some "testing code" that was still in the templates and files and added a global option to allow/disallow Private Bets

holy moses... that's fantastic... thankyou :)

dartho 01-20-2010 10:53 PM

it was a very simple addition, so just slipped it in

badawidollah 01-21-2010 02:32 AM

Quote:

Originally Posted by TimberFloorAu (Post 1961501)
You need to add a BET on the system, those tabs are not tabs just tab headings.

If you cannot add a bet then usergroup permissions havent been set properly.

Quite frustrating, but well worth the 5 minutes it takes
( in my case : that is )

1.I set vbookie to be used in 3 forums
2.Then in usergroups i set which users could do what ( registered , admins mods and supermods ) each time having clicked save I rebuilt bitfields. ( easiest way to do that is...(see note 1 )
3. then in forum group permissions for each forum, and each usergroup I again set the permissions, and after clicking save on each one, I rebuilt bitfields. ( see note 1 )

Note 1.
Step 1
Open one window with admincp ( with forums link open ) Change permissions one step at a time, so click Administrators under a certain forum, change vbookie permissions, click save ) then move onto step 2

Step 2
Open another window tab ( and in notepad type this out. )

http://yourdomain.com/forum//admincp...buildbitfields
Changing the path to suit your domain. Highlight it, click CTRL+C then each time you have saved usergroup changes in STEP 1 , paste this link into the open tab, hit ENTER

Then go back to Step 1, and move to next usergroup. Repeat until you have done this for all usergroups, and all forum permissions.

STe

not work

TimberFloorAu 01-21-2010 03:42 AM

Quote:

Originally Posted by badawidollah (Post 1961935)
not work

Thanks for the info !

GreigM 01-21-2010 06:46 AM

create a new thread and tick the vbookie event box make sure the permissions are set correctly

GreigM 01-21-2010 06:57 AM

I would like to manually add the vcash on the postbit, so I guess I would disable the postbit plugin, and then manually add the vcash command to the postbit template?

this is the plugin code

PHP Code:

$template_hook[postbit_userinfo_right_after_posts] .= "<dt>".$vbphrase['vbookie_vcash']."</dt> <dd>".$post['vbookie_cash']."</dd>"

how would I call it manually in the postbit template, just use the .$post['vbookie_cash'] ?

Answering myself, but this seems to work fine for manually adding the vcash to the postbit

PHP Code:

<dt>{$vbphrase[vbookie_vcash]}</dt> <dd>{$post[vbookie_cash]}</dd


dartho 01-21-2010 07:54 AM

putting the following code where you want
Code:

<dt>{vb:rawphrase vbookie_vcash}</dt><dd>{vb:raw post.vbookie_cash}</dd>
would probably me correct. Using things like $post[vbookie_cash] in templates is supposedly not the way to do it anymore...

GreigM 01-21-2010 08:12 AM

Thanks works fine, thanks for the update as well :) great!

mandingo 01-21-2010 12:23 PM

Quote:

Although vBookie does not have any built-in facility to integrate with any other store hacks, it's a very simple job to hack vBookie itself to integrate it with any store/points system you care to use.
Can anyone point me in the right direction as to how to do this? Using uCash fyi

dcuellar 01-21-2010 12:25 PM

Holy crap!!

My eyes MUST be deceiving me!!

THANK YOU SO MUCH!!

I just saw your post on the 3.5 thread and went crazy. You wouldn't happen to be taking suggestions for add-ons/features would you? There's one in particular I want. PM me if you interested. I am willing to pay.

dartho 01-21-2010 08:05 PM

Quote:

Originally Posted by mandingo (Post 1962263)
Can anyone point me in the right direction as to how to do this? Using uCash fyi

Try setting the "Cash/Points System" option in Admincp->Settings->Options->vBookie Settings to "uCash"

@dcuellar - I'll always listen to (well, read) suggestions, can't promise any more though

bart6767 01-21-2010 08:11 PM

Is there any way of adding a block to the CMS that shows all Vbookie games ?

dcuellar 01-21-2010 08:56 PM

I just want one on one bets. I want to allow my members to challenge others personally.

For example. dartho, I bet you 50K that the Orlando Magic will lose against the Cleveland Cavaliers. Challenges can be sent through PM's, e-mails, etc.

iguano 01-21-2010 09:49 PM

I have installed uCash and turn in vbookie option from vcash to ucash, but in the posts i see again the vcash :o

dartho 01-21-2010 10:07 PM

Sorry - my bad. You should be set the option to uCash in vBookie settings and disable the vBookie: Add Cash to Postbit plugin.

When bets are placed, is it being deducted ffrom uCash balances?

dartho 01-21-2010 10:12 PM

I'll also look more at uCash (as the only vb4.0 points syetm sop far) integration at the next release to try and make easy to do

mandingo 01-21-2010 10:38 PM

Quote:

Originally Posted by dartho (Post 1962836)
Sorry - my bad. You should be set the option to uCash in vBookie settings and disable the vBookie: Add Cash to Postbit plugin.

When bets are placed, is it being deducted ffrom uCash balances?

Oh right on. I just made a dummy bookie and won 500 uCashs, neat. thanks bro,didnt realize it was right there all along.

iguano 01-22-2010 09:05 AM

1 Attachment(s)
Quote:

Originally Posted by dartho (Post 1962836)
You should be set the option to uCash in vBookie settings and disable the vBookie: Add Cash to Postbit plugin.

Disabilited but see the pics, i see again the vcash sistem @_@

Steelersfan 01-22-2010 10:14 AM

Quote:

Originally Posted by iguano (Post 1963215)
Disabilited but see the pics, i see again the vcash sistem @_@

You need to go to the plugin manager and disable vBookie: Add Cash to Postbit. For some reason turning it off with the mod doesn't work. Least didn't for me.

dartho 01-22-2010 10:20 AM

hi iguano,
Did you disable the vBookie: Add Cash to Postbit Plugin - not a settings - I mean in Plugin Manager.

I need to change a couple more things to make teh Settiungs work properly



Edit - Yes - just as Steelersfan said. It should be fixed in next version


All times are GMT. The time now is 01:03 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.01720 seconds
  • Memory Usage 1,829KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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