
09-20-2009, 07:34 PM
|
|
|
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by dannyrulez
I have a problem that prevent me from get my plugin for vBExperience working right.
I have customs columns in the users table. I need to pass this columns to "$xPerience->CalculateXP" and calculate them over there without calling another query in the SQL.
The problem is that vBExperience only use some users columns and no all the columns from the users table.
I recommend change this:
PHP Code:
SELECT
u.lastactivity,
u.username,
u.userid,
u.joindate,
u.lastactivity,
u.reputation,
u.usergroupid,
u.membergroupids,
u.ipoints,
u.posts,
u.xperience_ppd
FROM " . TABLE_PREFIX . "user as u
for this
PHP Code:
SELECT *
FROM " . TABLE_PREFIX . "user as u
I know that the first one is faster but is not scalable.
Sorry for my english
|
Will add a hook for this. A * is really a big oversize.
Quote:
Originally Posted by Digital Jedi
I was going to mention this earlier, as I just noticed it today, but I noticed a few errors in the HTML output, but can't quite seem to find where to edit. For instance, the Achievements images have a duplicate border attribute in them. And the alt tag is not specificied:
That's turning up quite a few validation errors for me.
|
Fixed in next beta.
Quote:
Originally Posted by flashwave
There's a bug within the achievement "Days registered"...
The calculation for the days seems to be wrong: It shows more than twice the amount of days people really have been registered.
|
Quote:
Originally Posted by War.Frog
I get this too, as well as number of friends. It seems to be a multiple rather than a straight sum. I think I have 9 friends on my profile but Experience tells me it's 27. I also started my forum August 31 yet it's showing I've been registered 41 days.
|
No, no, no... this is NOT A BUG. It has been described many times, also it states in readme and changelog:
Just a short note: Condition in Achievements and Promotions are calculated in POINTS, not in counts of items.
If you choose 10 Day, you must enter the points needed for this.
For example: You have an achievement for 10 days. You have set 2 points for every day since registering. Calculation: 10*2 = 20
You will have to set 20 as the condition.
Quote:
Originally Posted by flashwave
Edit: Also, is there a way to disable the Award Showcase? It's redundant with the awards appended to the username, and members seem to like that best. More showy. :-D
|
Options...
|