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)

psybernaut 05-07-2006 09:59 AM

Quote:

Originally Posted by cmbehan
It works well, and I made a cron job to run it, but we've decided to change our system to just give everyone an "allowance" of 500 vcash per month.

I know I've seen the SQL query to simply add (x) vcash to each user somewhere here, but I can't find it now.

Can anyone point me in the right direction?

Thanks!

I think something like this should work:
Code:

    $rs = mysql_query('UPDATE vb_user SET vbookie_cash = vbookie_cash + 500');
I haven't tried it, so I'd recommend you test it first before making a permanent change ;)

Quote:

Originally Posted by lowandloudinc
my vbookie stopped working now that we have moved out of ebux and into vbplaza. is there a fix for me to use my new vbplaza points with my vbookie? if so what do i do?

You need to install the vbookie hooks provided with vbplaza, then switch vbookie over to a custom cash type.

AM Guvnor 05-07-2006 10:58 AM

Hi Guys

Installed and displaying fine etc etc however when I go to switch on the permissions to yes for all (i.e for me to be bookmaker) when I save it defaults to no everytime and will not save as 'yes'

Any ideas? Ahhhh! LOL

AM Guvnor 05-07-2006 11:06 AM

Sorry bout that last post, read back and rebuilt bifields

What a cool addition this will be to the site. To the creator, thank you and you are a star :)

cmbehan 05-09-2006 09:11 PM

Quote:

Originally Posted by psybernaut
I think something like this should work:
Code:

    $rs = mysql_query('UPDATE vb_user SET vbookie_cash = vbookie_cash + 500');
I haven't tried it, so I'd recommend you test it first before making a permanent change ;)


You need to install the vbookie hooks provided with vbplaza, then switch vbookie over to a custom cash type.


PERFECT...that worked like a charm!

Thanks a ton and big props to the author also....vBookie is a ton of fun!

VBUsers 05-10-2006 05:19 AM

Quote:

Originally Posted by psybernaut
You need to install the vbookie hooks provided with vbplaza, then switch vbookie over to a custom cash type.


where would those be? thanks for your help by the way

psybernaut 05-10-2006 05:46 AM

Quote:

Originally Posted by lowandloudinc
where would those be? thanks for your help by the way

In the vbplaza zip file (not the vbookie download, the vbplaza one), there's a directory called 'vbookie integration'. That contains the hooks you need and a readme explaining how to install it.

Stubager 05-12-2006 10:06 AM

Hey!

On my site I made a betting competition. Now I am going to made another competition and I want to reset everybodys point to default (500 on my site).

How do I do this?

cmbehan 05-12-2006 12:35 PM

Quote:

Originally Posted by Stubager
Hey!

On my site I made a betting competition. Now I am going to made another competition and I want to reset everybodys point to default (500 on my site).

How do I do this?

Run the SQL statement
Code:

UPDATE vb_user SET vbookie_cash = (500)
That should set everyone back to 500.

Stubager 05-12-2006 03:27 PM

Quote:

Originally Posted by cmbehan
Run the SQL statement
Code:

UPDATE vb_user SET vbookie_cash = (500)
That should set everyone back to 500.

Okay, thanks. But I'm not very familar with doing SQL. How do I excactly do this? I use phpmyadmin.

cmbehan 05-12-2006 03:31 PM

Quote:

Originally Posted by Stubager
Okay, thanks. But I'm not very familar with doing SQL. How do I excactly do this? I use phpmyadmin.

-select your database
-select the SQL tab
-paste the code into the SQL statement box, press go.


All times are GMT. The time now is 03:48 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.03143 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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