vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbBux / vbPlaza (https://vborg.vbsupport.ru/forumdisplay.php?f=171)
-   -   User Points in Nigative - (https://vborg.vbsupport.ru/showthread.php?t=113612)

ForYou 04-20-2006 09:20 PM

User Points in Nigative -
 
Hello ,

There is problem with some users in my forum ,

they have alot of points in the bank some user have 92819.99532 point and the total points is 1999994.33 this points just for example , but the current points is -174.99 , I don't know why this - and the user can't enter the topic and cant view members information there is message told there is no points to do this ,

I hope there is understand and solve the problem ,

Regards

bashy 04-21-2006 05:19 AM

I too had this when a member tired to steal, he lost all his points and could not post anywhere, and lost a lot of permissions on the forum (hes a super MOD) Also i could not see his profile, i got the Not enough points to do tis" as well, why should i get that, i had 500k just in my pocket, not to metion the bank ;)

This does need resolving though as i had to put him back in credit (it was -24567.87) thats just no good at all even a mod or super mod cant even post :(

ForYou 04-21-2006 02:15 PM

Yes, that was happend with me ,

need help please ,

wholemama 04-21-2006 02:19 PM

You're not the only one...I've had this happen 4 times in the last month...

The last time, the person was in the arcade playing, came back to post, and was in the negative.

CMX_CMGSCCC 04-30-2006 06:43 PM

Do u have vBookie installed?

I know this issue exists with vBookie. I could probably solve the issue in vBookie by changing the integration hooks to verify the amount will be correct.

But u also say it happened while playing the arcade? Which arcade?

-CMX

bashy 04-30-2006 06:46 PM

Hi CMX

Yes we do have vBookie installed!!

CMX_CMGSCCC 04-30-2006 06:53 PM

I'm gonna look into the vBookie issue soon and see if I can fix it inside of the plugin integration that is included with vbPlaza to download.

-CMX

tei727 05-01-2006 03:30 AM

It's never happened to my people playing the arcade only in VBookie. I thought maybe they didn't have the points withdrawn when they were betting but even when making sure that they have enough points withdrawn from the bank it still happens.

Hell? 05-01-2006 09:07 PM

I found duplicated vBookie plugins when I was checking this issue, they where logically withdrawing double amount of points on bets, I just disabled/deleted the duplicates and apparently that fixed it for me.

tei727 05-01-2006 09:41 PM

Quote:

Originally Posted by Hell?
I found duplicated vBookie plugins when I was checking this issue, they where logically withdrawing double amount of points on bets, I just disabled/deleted the duplicates and apparently that fixed it for me.

I just looked at mine and saw three. Is it supposed to look like this?
I have moved my site twice, I wonder if each time I moved servers it installed the plugin

https://vborg.vbsupport.ru/external/2006/05/14.jpg

The last two are identical..Here are three of the take user's cash:
Code:

// take the user's cash
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET vbbux=vbbux-$amount WHERE userid=" . $vbulletin->userinfo['userid']);
$cash = (int)$vbulletin->userinfo['vbbux'];

Code:

// take the user's cash
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET " . $vbulletin->options['vbbux_pointsfield'] . "=" . $vbulletin->options['vbbux_pointsfield'] . "-" . $amount . " WHERE userid=" . $vbulletin->userinfo['userid']);
$cash = (int)$vbulletin->userinfo[$vbulletin->options['vbbux_pointsfield']];

Code:

// take the user's cash
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET " . $vbulletin->options['vbbux_pointsfield'] . "=" . $vbulletin->options['vbbux_pointsfield'] . "-" . $amount . " WHERE userid=" . $vbulletin->userinfo['userid']);
$cash = (int)$vbulletin->userinfo[$vbulletin->options['vbbux_pointsfield']];



All times are GMT. The time now is 08:24 AM.

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.01097 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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