Quote:
Originally Posted by Erwin
The bank IS buggy, and causing some errors and negative points too. Weird.
|
It did for my users too. It was apparently because no one had actually clicked the link after depositing some points. Since that entire page, IMO, was useless, I just edited the ushop.php file and added a meta tag to automatically refresh the page to the URL.
uttstore/action.bank.php
PHP Code:
// Send them home....
$current = $_REQUEST['points'] . " deposited into the bank successfully! (Go back to the <a href='ushop.php?do=a&aid=".$action['actionid']."'>main bank page</a> for it to update.)";
}
And replace with:
PHP Code:
$current = $_REQUEST['points'] . " deposited into the bank successfully! (Go back to the <a href='ushop.php?do=a&aid=".$action['actionid']."'>main bank page</a> for it to update.) <meta http-equiv=\"refresh\" content=\"2; url=http://www.YOURSITE.com/forums/ushop.php?do=a&aid=".$action['actionid']."\" />";
}
I don't even know what the 'aid' crap is for, but it seems to have stopped users from complaining about points being taken by the bank...