Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Credit drop for some user
Author Message
crazyboy168
Junior Member


Posts: 35
Joined: Sep 2008
Reputation: 0
Post: #1
Credit drop for some user
Anyone experience this. For some user, their credit just drop back to 0 credit and start again. Some of them have over 1000 credit and it went back to 0 credit.
11-27-2008 05:19 AM
ak47
MyBBSource Themer


Posts: 77
Joined: Aug 2008
Reputation: 0
Post: #2
RE: Credit drop for some user
same thing happening on my community. credits drop to 0. lol even mine, i hope nick fix this problem soon. :)

[Image: edj6o.jpg]
We Make Themes On Request
11-27-2008 05:57 AM
Dalton
Super Moderator


Posts: 799
Joined: Aug 2008
Reputation: 3
Post: #3
RE: Credit drop for some user
This has been happening. Can you say what caused this? What the members were doing? Also, changing the theme drops them to zero. There's a fix to this, which is somewhere on here..

Chicago Bears
7 - 6
11-27-2008 06:41 AM


crazyboy168
Junior Member


Posts: 35
Joined: Sep 2008
Reputation: 0
Post: #4
RE: Credit drop for some user
I don't think they did anything. It just happen after they did a reply to a thread.

I didn't enable changing theme for user so they cannot do that. In admin area, I try to change theme for myself and credit didn't drop.

I remember there is a fix for this but for some reason I cannot find it. I already look at all forum that related to credit but cannot find it. Is it deleted?
11-27-2008 06:54 AM
Nickman
Administrator



Posts: 776
Joined: May 2008
Reputation: 20
Post: #5
RE: Credit drop for some user
EVERYONE TRY THIS

This may fix some of the bugs you guys are having...

Open inc/plugins/mycreds.php, find
PHP Code:
function mycreds_do_edit(&$user)
{
    global 
$db;
    
$user->user_update_data['credits']=$db->escape_string($_POST['credits']);
    return 
$user;


Replace with
PHP Code:
function mycreds_do_edit(&$user)
{
    global 
$db;
    if (
defined("IN_ADMINCP"))
    {
        
$user->user_update_data['credits']=$db->escape_string($_POST['credits']);
        return 
$user;
    }

SAVE

Please tell me if this works.



Everything-Network.com Owner || My Blog
11-27-2008 06:57 AM
NetSage
Super Moderator


Posts: 282
Joined: Aug 2008
Reputation: 3
Post: #6
RE: Credit drop for some user
I'm not sure if I had the problem but I did it .

[Image: netsage.jpg]
I'll be over at the Admin Lounge.
All pms about support or asking me to register will be ignored.
11-27-2008 07:47 AM


crazyboy168
Junior Member


Posts: 35
Joined: Sep 2008
Reputation: 0
Post: #7
RE: Credit drop for some user
Ok added that. I will do a recount on all users and I will post here after a few days if it get drop again. Thanks for the help.
11-27-2008 08:27 AM
ak47
MyBBSource Themer


Posts: 77
Joined: Aug 2008
Reputation: 0
Post: #8
RE: Credit drop for some user
I have added this fix before but still the same problem continues dropping credits.

[Image: edj6o.jpg]
We Make Themes On Request
11-27-2008 12:15 PM
Nickman
Administrator



Posts: 776
Joined: May 2008
Reputation: 20
Post: #9
RE: Credit drop for some user
(11-27-2008 12:15 PM)ak47 Wrote:  I have added this fix before but still the same problem continues dropping credits.

well please be more specific. I'm not a mind reader, and I can't reproduce it so someone has to help me....



Everything-Network.com Owner || My Blog
11-27-2008 12:50 PM


l2tecno
Junior Member


Posts: 33
Joined: Sep 2008
Reputation: 0
Post: #10
RE: Credit drop for some user
My credits back to 0 Again, but this time only my credits,i pass the 20.000 credits and back to 0
11-29-2008 01:14 AM
 


Forum Jump: