vb.org Archive

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

PranK 11-17-2003 06:41 AM

Evil - you rock!

Thanks mate!

oly51 11-18-2003 12:59 AM

EvilLS1, I am very impressed with the amount of support you have shown for this hack!
Great job, keep up the good work!

EvilLS1 11-18-2003 12:08 PM

Thank you. :)

carlitosz 11-18-2003 04:00 PM

EvilLS1,

Please check your mail.

Carlos.

EvilLS1 11-19-2003 02:56 AM

carlitosz,
I replied to your email but it bounced back to me. Please check your PMs.

EvilLS1 11-26-2003 12:09 AM

Here's a little add-on that some of you might want..

Require a link to the actual timeslip for all ETs that are 11.99 or quicker.

{edit} This is for v1.3 only.

This bit of javascript will check the 1/4 mile ET field and the timeslip link field. If the 1/4 mile ET is less than 12.00 and the timeslip link field is empty, users will get a small pop-up box when they click the submit button telling them that a timeslip is required for ETs that are 11.99 or quicker.

Of coarse you can easily change it to any ET for the slip requirement.

In your modifytimeslip template find:
Code:

</head>
Above it add:
Code:

<script language="javascript">
<!--
function validate(theform) {
        if ((theform.field55.value<12) && (theform.field55.value>0) && (theform.field57.value=="")) {
                alert("A link to your timeslip is required if your 1/4 mile ET is 11.99 or quicker.");
                return false; }
}
//-->
</script>

Find:
Code:

<form action="member.php" method="post">
Replace it with:
Code:

<form action="member.php" name="vbform" method="post" onSubmit="return validate(this)">
Done.

Silverstangs 11-28-2003 12:26 AM

I now have it installed on vb2.3.3 and it works great. I did make a dumb mental error, I added the templates to only one set. Just remember they all need the same templates.

I am going to modify the hack a little and add "Torque" for one of the fields.

--Scott
aka Silver

PranK 11-28-2003 08:15 AM

I was using this on my old VB 233... i now use VB3 B7... what are the possibilities of me getting it to work on that?

Thanks in advance!

EvilLS1 11-28-2003 07:25 PM

PranK,
The hack will have to be re-written for VB3 since the code is all new. I do plan to port this over for VB3 once the RC versions are released though.

PranK 11-28-2003 10:53 PM

Ahh sweet - you rock!

Thanks mate!

Christian


All times are GMT. The time now is 06:08 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.01323 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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