Thread: Add-On Releases - vBExperience 3.8
View Single Post
  #1411  
Old 09-20-2009, 07:34 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dannyrulez View Post
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 
for this

PHP Code:
 SELECT *
 
FROM " . TABLE_PREFIX . "user as 
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 View Post
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 View Post
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 View Post
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 View Post
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...
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01142 seconds
  • Memory Usage 1,791KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete