vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vB Timeslip Database - for Automotive websites (https://vborg.vbsupport.ru/showthread.php?t=110717)

john.friel 10-29-2007 01:18 PM

Quote:

Originally Posted by webgod (Post 1297010)
I PM'd him on the 18th.. he read it the same day, but did not respond

Well, I for one would love to see the XML patch to this. At least I now know what to tell my 9 second users as to why they are so low on the list!

In the mean time, I'm having all sub 10.000 E/T times enter a leading ZERO (09.911x etc..) so that they sort correctly.

John

uglyduck 10-29-2007 07:58 PM

I can now see what's going on with my 1/8mi guys. The conditional check in timeslips.php is only looking for values greater than 0 to produce the list....and the list currently sorts by 1/4mi ET by default.

else if ($_REQUEST['do'] == 'quarter')
{
$cond.=" WHERE userfield.field55>0";
$condition.=" AND userfield.field55>0";

$orderby="userfield.field55";
$direction=ASC;
$bracket3="<b>[</b>";
$bracket4="<b>]</b>";

I could change the list to default the sort by 1/8mi but I would rather default to 'username'. Unfortunately the 'username' sort also requires field55 to be greater than 0. Field55 is 1/4mi ET.

else if ($_REQUEST['do'] == 'username')
{
$cond.=" WHERE userfield.field55>0";
$condition.=" AND userfield.field55>0";

$orderby="user.username";
$direction=ASC;
$bracket11="<b>[</b>";
$bracket12="<b>]</b>";

too_cool_3 10-30-2007 02:35 AM

Quote:

Originally Posted by uglyduck (Post 1367689)
Is there anyway to fix the following:

members posting single digit 1/4mi times are sorted to the bottom of the list. A user with a 10.0 would be listed at the top but anyone 9.99 and lower would be at the bottom.

Same problem here... I hope there is a way to fix this soon so all my users running 9's aren't listed at the BOTTOM :(

Tru2Chevy 10-30-2007 12:51 PM

Quote:

Originally Posted by uglyduck (Post 1367689)
Extra brackets [like these] around the 1/4mi column header.

The brackets just show what the list is sorted by. If you change the sort to 1/8 mile or 60 foot time, the brackets will move to that column.


Quote:

Originally Posted by uglyduck (Post 1371379)
I can now see what's going on with my 1/8mi guys. The conditional check in timeslips.php is only looking for values greater than 0 to produce the list....and the list currently sorts by 1/4mi ET by default.

else if ($_REQUEST['do'] == 'quarter')
{
$cond.=" WHERE userfield.field55>0";
$condition.=" AND userfield.field55>0";

$orderby="userfield.field55";
$direction=ASC;
$bracket3="<b>[</b>";
$bracket4="<b>]</b>";

I could change the list to default the sort by 1/8mi but I would rather default to 'username'. Unfortunately the 'username' sort also requires field55 to be greater than 0. Field55 is 1/4mi ET.

else if ($_REQUEST['do'] == 'username')
{
$cond.=" WHERE userfield.field55>0";
$condition.=" AND userfield.field55>0";

$orderby="user.username";
$direction=ASC;
$bracket11="<b>[</b>";
$bracket12="<b>]</b>";

The reason that it always requires 1/4 mile ET to be greater than 0 is because all members have a default entry of 0.00 for all of their times on the list. You could change it so that 1/8 mile ET would have to be greater than 0, but then you would have to go through your entire list and make sure that all the users with 1/4 mile times also included their 1/8 mile times, or else they won't be listed.

- Justin

Tru2Chevy 10-30-2007 12:52 PM

Quote:

Originally Posted by too_cool_3 (Post 1371631)
Same problem here... I hope there is a way to fix this soon so all my users running 9's aren't listed at the BOTTOM :(

There is a way to fix it, I just can't remember how I did it. It must be listed in this thread somewhere though....

Mine: http://www.njfboa.org/forums/timeslips.php?

- Justin

uglyduck 10-30-2007 01:49 PM

10-4 on the brackets, thanks

I started reading back at page 1 and found a reference to a decimal value change on page2 but I can't determine if that is for this particular issue. Also, can't determine where exactly to change the values or I would give it a shot.

Look back at post #s 26, 29, (post #31 bug#5). Is this what we're dealing with?

Thanks Tru2Chevy!!

USAMustangs.com 11-01-2007 03:36 AM

Yes, it would be nice to figure how to fix the 9 second problem. The quickest cars are dead last on the list. This needs to be fixed.

Tru2Chevy 11-01-2007 09:01 PM

Back in March of '06 I got a version of this with bug fixes from Sidewindr. That is prolly where the fixes I have came from.

- Justin

rdrunnr 11-03-2007 01:15 AM

Any ideas on this? I installed this on my 3.6.4 and everything works except for user profiles now give this error:

Invalid SQL:

SELECT profilefieldid, required, title, type, data, def, height
FROM profilefield
WHERE profilefieldid NOT IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65) AND form = 0
ORDER BY displayorder;

MySQL Error : Unknown column 'title' in 'field list'
Error Number : 1054
Date : Friday, November 2nd 2007 @ 07:13:47 PM
Script : http://www.clickclickracing.com/foru...lastposter&f=8
Referrer : http://www.clickclickracing.com/forums/
IP Address : 76.99.159.63
Username : RdRunnr
Classname : vb_database

0ptima 11-03-2007 02:29 AM

Quote:

Originally Posted by rdrunnr (Post 1374552)
Any ideas on this? I installed this on my 3.6.4 and everything works except for user profiles now give this error:


MySQL Error : Unknown column 'title' in 'field list'

You're missing the 'title' field. Take a look at this

https://vborg.vbsupport.ru/showpost....&postcount=374

Probably need to run these two queries
Code:


ALTER TABLE `profilefield` ADD `title` VARCHAR( 25 ) DEFAULT 'aa' NOT NULL AFTER `profilefieldid` 

ALTER TABLE `profilefield` ADD `description` VARCHAR( 250 ) DEFAULT 'a' NOT NULL AFTER `title`



All times are GMT. The time now is 02:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02532 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete