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)

dartho 02-21-2011 10:14 AM

I said unsupported, but ...

I think I see what the problem is there, you've obviously lost and gone into negative but the vcash column is unsigned. You need to make teh vbookie_cash column on the user table signed. Make it a bigint(20) and you should have plenty of scope for growth ...?
SQL Command:

Code:

ALTER TABLE `user` CHANGE `vbookie_cash` `vbookie_cash` BIGINT( 20 ) NULL DEFAULT '500'
or do it via PhpMyAdmin

BenWCF 02-21-2011 10:36 AM

Quote:

Originally Posted by dartho (Post 2164905)
I said unsupported, but ...

I think I see what the problem is there, you've obviously lost and gone into negative but the vcash column is unsigned. You need to make teh vbookie_cash column on the user table signed. Make it a bigint(20) and you should have plenty of scope for growth ...?
SQL Command:

Code:

ALTER TABLE `user` CHANGE `vbookie_cash` `vbookie_cash` BIGINT( 20 ) NULL DEFAULT '500'
or do it via PhpMyAdmin

thanks for your help.

where do I find vbookie_cash within the admincp?

dartho 02-21-2011 10:39 AM

not in your admincp - in your database

BenWCF 02-21-2011 10:41 AM

Quote:

Originally Posted by dartho (Post 2164911)
not in your admincp - in your database

can i not access the database through the admincp or is it something i have to do through ftp?

I apologise for all the questions - I've never dealt with anything like this before.

BenWCF 02-21-2011 11:34 AM

right, I've been looking around on here, logged onto my hosts cpanel and put that bit of code into the Phpmyadmin section.

I now have a total of 9223372036854775807.

Where have I gone wrong now?

dartho 02-21-2011 08:54 PM

That sounds right - that number is half of the previous balance as a bit is now use for the sign. Now change your balance to what you want by editing the 'user_cash' figure against your name in the user table of your database. You could manually work out how much people won against you if you want it to be accurate, or just start with 500 again

BenWCF 02-21-2011 09:25 PM

where is the user table situated so i can edit it?

dartho 02-21-2011 10:30 PM

In your database - use phpmyadmin in cPanel

nickk96 05-20-2011 06:23 PM

Removed.

nickk96 05-23-2011 06:58 PM

Removed.


All times are GMT. The time now is 09:07 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.04744 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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