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)

EvilLS1 06-10-2004 09:04 PM

Quote:

Originally Posted by ucsigep
it's at http://gs8.inmotionhosting.com/~colu.../timeslips.php (URL hasn't updated to our new host yet).

Thats why you're having the problem with the "page not found" error when sorting. Your domain name isn't set yet and the timeslip software is pointing to $bburl/timeslips.php. The $bburl variable is replaced with http://www.columbusdsm.com/forum/ in your browser and that won't work until your domain has updated.

To get around this, in your timeslips template you can find all instances of $bburl/ and remove it..

For example, you would replace this:
Code:

<option value="$bburl/timeslips.php?s=$session[sessionhash]&action=quarter">1/4 Mile ET</option>
with this:
Code:

<option value="timeslips.php?s=$session[sessionhash]&action=quarter">1/4 Mile ET</option>
Do that for all sort options & also the url for submitting timeslip data.

Or you could just wait until your domain is working and it will work fine.

As for the parse error in register.php if you'll email me the file I'll find the problem and correct it for you. Email it to webmaster@modernmusclecars.net

EvilLS1 06-10-2004 10:07 PM

ucsigep,
Check your email. I found what was causing your parse error. :)

94supratt 09-08-2004 03:38 AM

All I get is a blank white screen when I try to post a timeslip.

EvilLS1 09-08-2004 03:49 AM

Quote:

Originally Posted by 94supratt
All I get is a blank white screen when I try to post a timeslip.

Make sure you added all of the new templates to all styles. Thats about the only thing that could be causing it.

More specifically, check to make sure that you added the "modifytimeslip" template. If so, check the spelling of the template name for a typeo.

EvilLS1 09-08-2004 04:00 AM

Also check to make sure that you didn't miss an edit in member.php.. You should have this code:
Code:

// ############################### start modify Timeslip Data #######################
if ($action=="edittimeslip") {
  $templatesused = 'timeslips_customfields,usercpnav,modifytimeslip';
  include("./global.php");
  // do modify profile form

  if ($bbuserinfo[userid]==0  or $bbuserinfo[vpban]==0 or $permissions['canmodifyprofile']==0) {
    show_nopermission();
  }

  // get extra profile fields
  $customfields = '';
  $profilefields=$DB_site->query("SELECT *
                                  FROM profilefield
                                  WHERE editable = 1
                                  AND profilefieldid IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63)
                                  ORDER BY displayorder");
  while ($profilefield=$DB_site->fetch_array($profilefields)) {
    $profilefieldname="field$profilefield[profilefieldid]";
   
if ($bgcolor=="{firstaltcolor}") {
      $bgcolor="{secondaltcolor}";
    } else {
      $bgcolor="{firstaltcolor}";
    }
       
    eval("\$customfields .= \"".gettemplate("timeslips_customfields")."\";");
  }

  if ($allowhtml) {
    $htmlonoff=$ontext;
  } else {
    $htmlonoff=$offtext;
  }
  if ($allowbbcode) {
    $bbcodeonoff=$ontext;
  } else {
    $bbcodeonoff=$offtext;
  }
  if ($allowbbimagecode) {
    $imgcodeonoff=$ontext;
  } else {
    $imgcodeonoff=$offtext;
  }
  if ($allowsmilies) {
    $smiliesonoff=$ontext;
  } else {
    $smiliesonoff=$offtext;
  }

  // draw cp nav bar
  $cpnav[1]="{secondaltcolor}";
  $cpnav[2]="{firstaltcolor}";
  $cpmenu[2]="class=\"fjsel\" selected";
  $cpnav[3]="{secondaltcolor}";
  $cpnav[4]="{secondaltcolor}";
  $cpnav[5]="{secondaltcolor}";
  $cpnav[6]="{secondaltcolor}";
  $cpnav[7]="{secondaltcolor}";
  eval("\$cpnav = \"".gettemplate("usercpnav")."\";");

  eval("dooutput(\"".gettemplate("modifytimeslip")."\");");
}


94supratt 09-08-2004 12:36 PM

Quote:

Originally Posted by EvilLS1
Make sure you added all of the new templates to all styles. Thats about the only thing that could be causing it.

More specifically, check to make sure that you added the "modifytimeslip" template. If so, check the spelling of the template name for a typeo.

I didn't add that template. :( I added all the others but somehow skipped over that one. Thanks.

94supratt 09-08-2004 02:01 PM

Any ideas whats going on with mine?

http://www.tidewaterracing.com/forums/timeslips.php

I thought it was fine. But soon as someone tried to post a time it got all jumbled up.

94supratt 09-08-2004 02:23 PM

I got it straight.

94supratt 09-08-2004 10:55 PM

Is there any way to post times for users with multiple times? I quite a few that do.

EvilLS1 09-08-2004 11:22 PM

Quote:

Originally Posted by 94supratt
Is there any way to post times for users with multiple times? I quite a few that do.

Not at the moment. The timeslips page can only sort one ET per user.


All times are GMT. The time now is 03:07 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.01262 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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