The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
OK well since nobody else seems to know I'll do what I can to help.
One thing I might suggest also, is that you edit the custom profile field 'weight' and add this regular expression in the regular expression field: Code:
^[0-9]*$ Still it is up to you. Now, Lets see if we can't get this query to run successful. I ran apache on my computer to test the query myself, so I should eventually come up with something which I am positive works... I am testing it now while I am typing this message. --- Success so far! < I am now just doing a few quick last minute troubleshooting for any possible errors you may encounter, so I know in advance what to expect... > OK no errors encountered on my part. If any of your users have entered non-integer values for weight, it will omit them from the SUM(). I assumed it would error. Please tell me if this works for you. PHP Code:
Code:
$result_allweight[weight] Well, I hope this helps you, if you have any more troubles, I will see what I can do. Sorry for lengthy delay, it being Xmas and all. PS: Merry Xmas all. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|