
07-15-2008, 07:43 AM
|
|
|
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by gorentals
I am having a slight issue with the shop. I created an item, etc. Went thru and purchased it, I use a costfield of Experience. I had a user with 139 User experience points, purchased item for 100 exp points. Says I bought it. It never subtracted the user points, and the item I bought was sent to some other user. I went into the transaction log, and it went to some totally different user.
Am I doing something wrong or is this a bug. This is by far an excellent product
Thanks for your time.
PS: Setup a new user. Purchased another item, and the shop item went to the same user as the first one did. So anyone on my forum who buys something from the shop, it keeps going to one particular user. 
|
I will take a deeper look. A fix will be included in 3.7.16
Quote:
Originally Posted by Vegetrunks
Ok, I see that promotion system must be edited manually by vbexperience_level_XXX.xml file. 
But, how I "freeze" promotion for others usergroup (moderator and similar) like administrator?
Phalynx, I believe in you.
EDIT
I try to replace in class_xperience.php this code
PHP Code:
if ($level_current['usergroupid']<>0 AND $user['usergroupid']<>$level_current['usergroupid'] AND $user['usergroupid']<>6)
with this
PHP Code:
if ($level_current['usergroupid']<>0 AND $user['usergroupid']<>$level_current['usergroupid'] AND $user['usergroupid']<>6 AND $user['usergroupid']<>5)
and seems works correctly: moderators (usergroup 5) are not promoted.
Is it right? Thanks. 
|
Correct. Admin = 6, it's already excluded. This will be an option in next version.
|