vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Timeslip Database -for Automotive websites (https://vborg.vbsupport.ru/showthread.php?t=60945)

Grant Sherwood 09-21-2004 08:51 PM

So is there a place i can stick it where it will have the same effect?

Grant Sherwood 09-21-2004 09:26 PM

Also do i have to enable users to use this? Because its only showing up in thier UserCP where they can edit it. theres no link anywhere to look at anyones car info. and when they try to submit there timeslip's it just sends them back to there UserCP where they can edit there info... :-(

Leave it to me to screw stuff up.

EvilLS1 09-21-2004 10:12 PM

Grant Sherwood,
The part that you add to the navbar template will add a link to the timeslip database in your header so that its easy to access from any page. Your header has been modified so you'll have to experiment with it a little to find out where the link looks best. Or you could just make a timeslips button to put with the rest of your buttons. You can find a button in the other Timeslip Database thread (for vb2).
I just registered at your forum to test and your Timeslip Database is working fine. When you submit your info it forwards you to the timeslips.php page just like its supposed to. Your users can submit their times by clicking the link at the bottom of the timeslips page (http://www.ntsr.org/forums/timeslips.php? ) or by going to their usercp and clicking "edit vehicle profile". You just need to add a link to timeslips.php somewhere and you also need to upload the timeslip icon.

Grant Sherwood 09-21-2004 10:20 PM

everytime i click "submit your timeslip data" it sends me back to the profile page, then i click save changes then i go look and its still not there. Also for some reason the "slipicon" is trying to pull itslef from http://www.ntsr.org/forums/classic_i...//slipicon.gif ..lol, how do i get rid of the extra / ?

Thanks again for your help.

Grant Sherwood 09-21-2004 10:43 PM

Ok, well i figured out why it wasnt submiting mine, you have to put a 1/4 time in or it wont submit. now all i need to do is fix the f'in icon..

Grant Sherwood 09-21-2004 10:46 PM

NVM, i got it to work...Thanks for all your help. :-)

Great hack BTW.

EvilLS1 09-21-2004 10:55 PM

Quote:

Ok, well i figured out why it wasnt submiting mine, you have to put a 1/4 time in or it wont submit.
You don't have to put in a 1/4 mile ET to submit your info. The default sort method is 1/4 and will only show users who have entered the 1/4 mile time.. but you can view 1/8 mile ETs aswell. Just select 1/8 mile ET from the drop down menu at the top right hand side of the page and it'll list everyone who entered it..

Quote:

Thanks for all your help. :-)

Great hack BTW.
You're welcome, and thanks. :)

Grant Sherwood 09-21-2004 10:58 PM

Is there a way to set the default as 1/8th ET? The only 1/4 track around our area is Ennis and its not very close so 90% of the people only have 1/8 ET's.

EvilLS1 09-21-2004 11:07 PM

In timeslips.php find:
Code:

// If no action is set order by quarter
if (empty($_REQUEST['do']))
{
  $_REQUEST['do'] ='quarter';
}

Replace it with:
Code:

// If no action is set order by eighth
if (empty($_REQUEST['do']))
{
  $_REQUEST['do'] ='eighth';
}

find
Code:

  else
  {
        $cond.=" WHERE userfield.field55>0";
        $condition.=" AND userfield.field55>0";
        $orderby="userfield.field55";
        $direction=ASC;
        $bracket3="<b>[</b>";
        $bracket4="<b>]</b>";
}

replace it with
Code:

  else
  {
        $cond.=" WHERE userfield.field53>0";
        $condition.=" AND userfield.field53>0";
        $orderby="userfield.field53";
        $direction=ASC;
        $bracket5="<b>[</b>";
        $bracket6="<b>]</b>";
}


Grant Sherwood 09-21-2004 11:22 PM

Works Perfectly :banana:

Thanks again.


All times are GMT. The time now is 07:41 PM.

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.01622 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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