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)

sinisterpain 02-16-2007 12:11 AM

Quote:

Originally Posted by bandare (Post 1183469)
Can anyone help... I really need a command to be able to set every users vcash back to 500 or a number.... anyone??????????????

seems stupid that wasnt included....

I dont believe vcash is even supported anymore I use Icash

bandare 02-16-2007 02:31 AM

Quote:

Originally Posted by sinisterpain (Post 1183508)
I dont believe vcash is even supported anymore I use Icash

never heard of icash......

just seeems odd that with all this talent around this forum, there isn't a database command that will reset everyones vcash to a value you want......

iamme1 02-16-2007 08:01 AM

Quote:

Originally Posted by bandare (Post 1183594)
never heard of icash......

just seeems odd that with all this talent around this forum, there isn't a database command that will reset everyones vcash to a value you want......

i know it's a simple SQL command.......i used it on our forum when we reset the totals for a contest.

the vcash totals for the users are located in the yourDB_user table. it's the vbookie_cash field. i don't remember off the top of my head, but i used a command to reset all the users back to 500.

maybe someone else can help

Eagle Creek 02-16-2007 08:06 AM

Code:

UPDATE user SET vbookie_cash = 'X';
Where X is the amount of money u want to set. (default is 100)

Haven't tested it so make a backup of your DB first.

bandare 02-16-2007 09:47 AM

Quote:

Originally Posted by iamme1 (Post 1183721)
i know it's a simple SQL command.......i used it on our forum when we reset the totals for a contest.

the vcash totals for the users are located in the yourDB_user table. it's the vbookie_cash field. i don't remember off the top of my head, but i used a command to reset all the users back to 500.

maybe someone else can help

great... good to know.....

MissKalunji 02-16-2007 05:19 PM

Quote:

Originally Posted by sinisterpain (Post 1183508)
I dont believe vcash is even supported anymore I use Icash

yes it does....

sinisterpain 02-19-2007 10:29 AM

Quote:

Originally Posted by bandare (Post 1183753)
great... good to know.....

Icash will let you donate to specific users or usergroups.

Foxsake 02-19-2007 11:16 AM

I wondered if this was possible?............

I currently run vbookie over a football season each member getting £500 vcash, is their any way i could allocate icash to member who have spent their £500 vcash before the season has ended as a seperate bookies for losers to still participate?

basically run vbookie with 2 cash systems, just give specific users the icash option?

Thanks for any help or suggestions

velleybolcu 02-19-2007 05:49 PM

Quote:

Originally Posted by Paul M (Post 1035092)
vBookie & 3.6

The posting of vbookie events in 3.6 is broken because the hook used has moved.

To fix this problem, the following plugin must be edited ;


vBookie: Redirect to vbookie.php when posting new Event

Replace the plugin 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));


Note: I'm not actually using vbookie atm so I can't comment on any other problems.

I am using vbulletin 3.6.4. i tryed to integrate vbookie but it didn't work. i used your plugin code. i can see "yes i want to post a new vbookie event" option while i open a new thread. but when i select it, it doesn't work. it isn't opening a new page for vbookie, it opening a new thread directly. then we tryed it on local host but it didn't work again. can you help me about this? what is the problem? thanks...

Coleccromos 02-22-2007 09:42 AM

Quote:

Originally Posted by Paul M (Post 1035092)
vBookie & 3.6

The posting of vbookie events in 3.6 is broken because the hook used has moved.

To fix this problem, the following plugin must be edited ;


vBookie: Redirect to vbookie.php when posting new Event

Replace the plugin 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));


Note: I'm not actually using vbookie atm so I can't comment on any other problems.


This modification where she puts on and that oh that to substitute exactly

Do I upgrade my forum to the version 3.6 and now when putting the events they don't subtract me the bet money where the problem can be?

Greetings


All times are GMT. The time now is 06:17 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.03510 seconds
  • Memory Usage 1,758KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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