|
#1
|
|||
|
|||
Bug in VIP bonus points?
Hi there, Recently I have just noticed with a friend of mine and me, that the bonus system has a bit of an issue, whenever we try to Purchase VIP from our bonus points it says this error.
Code:
Unfortunately this Item is unavailable, Please try again later. Code:
if ($kpsvip != 'yes') { $errors[] = $lang->mybonus['error3']; } else { if (($is_mod OR $usergroups['isvipgroup'] == 'yes')) { $errors[] = $lang->mybonus['error11']; } else { $vip_until = get_date_time (gmtime () + 28 * 86400); (sql_query ('REPLACE INTO ts_auto_vip (userid, vip_until, old_gid) VALUES (\'' . $Userid . '\', \'' . $vip_until . '\', \'' . $CURUSER['usergroup'] . '\')') OR sqlerr (__FILE__, 180)); if (mysql_affected_rows ()) { $KPSUSED = true; (sql_query ('UPDATE users SET usergroup = \'' . UC_VIP . '\', seedbonus = IF(seedbonus < ' . $Result['points'] . ', 0, seedbonus - ' . $Result['points'] . ') WHERE id = ' . sqlesc ($Userid)) OR sqlerr (__FILE__, 184)); update_user ($Userid, 'Purchased item: ' . $Result['bonusname'] . ' for ' . $Result['points'] . ' points.'); } else { $errors[] = $lang->global['dberror']; } } } break; } case 'gift_1': { -KnightRaider. |
#2
|
||||
|
||||
Make sure you have "Enable VIP Status Usage?" set to yes in settings panel.
|
The Following User Says Thank You to Daz For This Useful Post: | ||
KnightRaider (9th February 2013)
|
#3
|
|||
|
|||
Quote:
Code:
You have no permission to purchase this item! |
#4
|
||||
|
||||
Are you a mod or already a vip member? If so that might be why..
|
#5
|
|||
|
|||
I'm Team Leader/Owner, Is that maybe why I cant use it?
|
#6
|
||||
|
||||
Yeah only users can purchase the VIP status because if you think about it, you would be demoting yourself
|
The Following User Says Thank You to Daz For This Useful Post: | ||
KnightRaider (9th February 2013)
|
#7
|
|||
|
|||
Thanks again for your help Daz.
|
The Following User Says Thank You to KnightRaider For This Useful Post: | ||
Daz (10th February 2013)
|
#8
|
||||
|
||||
hi
phpmyadmin via kloxo open your database- users - click edit on your name and check donor box scroll down to the bottom save
you now have golden star
__________________
7.5 tsse future tracker source & hosting, vps trackers installs + Themes http://www.foxyhosting.co.uk http://www.downmy.top testing zone offshore vps & cpanel hosting & Shoutcast & VPN STOP cyberbullying any setups tracker installs vps hosting vps setups themes mods hit me up over the last three months ive become a snake breeder,pythons,hogs,boa,corn,rat,king,carpet and what joy it is |
Tags |
bonus , bug , points , vip |
|
|