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)

Big Kahuna 01-30-2005 04:55 PM

MY BAD -- very stupid mistake on my part. I created a templates called Times instead of times.

Works

Thanx

EvilLS1 01-30-2005 05:11 PM

Quote:

Originally Posted by Big Kahuna
MY BAD -- very stupid mistake on my part. I created a templates called Times instead of times.

Works

Thanx

Glad it worked for ya.

BTW, I was just checking out your site .. Thats a nice group of Mopars in your sig. I love the red road runner! :up:

Limey-YMR 01-30-2005 05:45 PM

I've been running 3.06 since it was first released and this hack just kept on chugging, when I put it back into the changed files.

Big Kahuna 01-30-2005 06:51 PM

I have it live now at www.moparstyle.com and credit you on the footer of each page.

Thanx for the comment on the Red Road Runner -- it is 8.95 on the bottle that I'm selling. I race www.texasblackmagic.com which just got a 540 dropped in it. I also race www.rudedodge.com in Nostalgia Super Stock and building www.texaswhale.com for next year. My 16-year-old was the National Points Champ in 2004 for Nostalgia Muscle Car in www.eldiabloblanco.com and my daughter starts racing a low 12-second Aspen this year.

On that Top 10 Confirmed on the Index page - how could I have a condition where the member also has to have a 100 posts? I already see people from other sites signing up just to be in the Top 10 -- but have no intention of becoming an active member?

Dave

EvilLS1 01-30-2005 07:28 PM

Quote:

Originally Posted by Big Kahuna
I have it live now at www.moparstyle.com and credit you on the footer of each page.

Thanx for the comment on the Red Road Runner -- it is 8.95 on the bottle that I'm selling. I race www.texasblackmagic.com which just got a 540 dropped in it. I also race www.rudedodge.com in Nostalgia Super Stock and building www.texaswhale.com for next year. My 16-year-old was the National Points Champ in 2004 for Nostalgia Muscle Car in www.eldiabloblanco.com and my daughter starts racing a low 12-second Aspen this year.

On that Top 10 Confirmed on the Index page - how could I have a condition where the member also has to have a 100 posts? I already see people from other sites signing up just to be in the Top 10 -- but have no intention of becoming an active member?

Dave

Dave,
Those are some very impressive cars! A member of my site who calls himself "The OLE MAN" has built a few quick Mopars including an 8 second B-Body drag car and a SB 72 Demon. I'll have to tell him about moparstyle.com. He may already be registered there.

To limit the top ten list to members with more than 100 posts try this..

In the code you added to forums/index.php find:
Code:

$condition.=" AND (userfield.field57!='' OR customtimeslippic.dateline!='') AND userfield.field55>0";
Replace it with:
Code:

$condition.=" AND (userfield.field57!='' OR customtimeslippic.dateline!='') AND userfield.field55>0 AND user.posts>100";
That should do it.

Thanks for the credits btw.

Dewayne

Big Kahuna 01-31-2005 04:12 PM

Thanx again Dewayne

zurih 01-31-2005 05:15 PM

How can I make some of the fields to be *Required* to sumbit your timeslip???

EvilLS1 01-31-2005 09:38 PM

Quote:

Originally Posted by zurih
How can I make some of the fields to be *Required* to sumbit your timeslip???


You can do that with javascript in your modifytimeslip template..

For example, if you wanted to require field 50 you could do it like this:

In the modifytimeslip template find (two places):
Code:

<script language="javascript">
<!--
function validate(theform) {

Below both instances add this:
Code:


        if (theform.field50.value=="") {
                alert("You have not filled in one or more required fields. Please add all required information and try again.");
                return false; }

The users will get a javascript alert when they submit the form if a required field is missing.

zurih 02-01-2005 04:16 PM

hmmm... not working

Added the lines and nothing... no error

EvilLS1 02-01-2005 07:59 PM

Quote:

Originally Posted by zurih
hmmm... not working

Added the lines and nothing... no error

Are you using v2.1?


All times are GMT. The time now is 10:58 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.01714 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)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