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)

Carnage Media 02-24-2004 11:19 AM

I entered my info as a test but it didnt' show, this morning I had a user.php error so its probably in there. I'm having to work around the "miserable users" hack also.

EvilLS1 02-25-2004 03:12 AM

Quote:

Originally Posted by Carnage Media
I entered my info as a test but it didnt' show, this morning I had a user.php error so its probably in there. I'm having to work around the "miserable users" hack also.

Weird. Not sure what could be causing it. I registered at your site (1SLlivE) last night to test it and it worked fine for me.

glo 02-29-2004 02:57 AM

hey EvilLS1,

1.3 great addition to an already great hack! (Now i just have to do the upgrade!) :)

Great work!

glo 02-29-2004 04:52 AM

EvilLS1, is there anyway to add an image of the vehicle in the "vehicle profile"?

Also, is it easy to sort by any of the other fields?

EvilLS1 02-29-2004 10:20 PM

Thanks glo. Zzed has released a hack which allows you to add images to the profile. You can easily apply it to the vehicle profile aswell. Check his profile page for a link to the hack.

Check this post to change the default sort method:
https://vborg.vbsupport.ru/showpost....8&postcount=15

EvilLS1 03-16-2004 04:32 AM

Add on:
This will show the ET club that each user belongs to in the postbit. For example, if a user has a 12 second ET it will display "12 Second Club Member" in the postbit below his username.

##### In admin/functions.php find:

Code:

//highlight words for search engine
Above it add:
Code:


if ($post[field55]>=14 && $post[field55]<15)
{
$poop = "<smallfont><a href=\"timeslips.php?s=$session[sessionhash]&action=14seccars\" STYLE=\"text-decoration: none\">14 Second Club Member</a></smallfont>";
}
else if ($post[field55]>=13 && $post[field55]<14)
{
$poop = "<smallfont><a href=\"timeslips.php?s=$session[sessionhash]&action=13seccars\" STYLE=\"text-decoration: none\">13 Second Club Member</a></smallfont>";
}
else if ($post[field55]>=12 && $post[field55]<13)
{
$poop = "<smallfont><a href=\"timeslips.php?s=$session[sessionhash]&action=12seccars\" STYLE=\"text-decoration: none\">12 Second Club Member</a></smallfont>";
}
else if ($post[field55]>=11 && $post[field55]<12)
{
$poop = "<smallfont><a href=\"timeslips.php?s=$session[sessionhash]&action=11seccars\" STYLE=\"text-decoration: none\">11 Second Club Member</a></smallfont>";
}
else if ($post[field55]>=10 && $post[field55]<11)
{
$poop = "<smallfont><a href=\"timeslips.php?s=$session[sessionhash]&action=10seccars\" STYLE=\"text-decoration: none\">10 Second Club Member</a></smallfont>";
}
else if ($post[field55]>0 && $post[field55]<10)
{
$poop = "<smallfont><a href=\"timeslips.php?s=$session[sessionhash]&action=singledigitcars\" STYLE=\"text-decoration: none\">Single Digit Club Member</a></smallfont>";
}
else
{
$poop = "";
}

Then put $poop in your postbit template where you want it to show up.

ucsigep 06-10-2004 06:03 AM

kind of bringing up a semi-dead thread, but great hack!! I run a DSM board, and I love the hack! Makes my job a lot easier in keeping track and updating best 1/4 mile times for our club. It's even better that my 12.5 is at the top of the list. :)

A couple issues, however...

After installing the hack, I get an error when trying to register on the board. The error reads:

Parse error: parse error in /home/columb7/public_html/forum/register.php on line 402

If I return register.php back to it's previous state, there are no problems.


Second issue: when on the actual list, I click to sort by (anything), and I get "The requested URL /forum/timeslips.php was not found on this server." I get the same error when clicking on "Submit your timeslip data."

Any assistance in these issues is greatly appreciated! The hack is very beneficial even in it's current state, but I'd like to fix these issues and get it working properly. Oh, I'm using vB 2.3.4, only hacks are this one, xx posts to make new thread, xx days to make new thread, and usertrade rating system.

EvilLS1 06-10-2004 07:50 AM

ucsigep,
A parse error usually means that something was not pasted correctly when editing the files (maybe a missing ; ).. Try re-applying the file edits to a fresh (unhacked) register.php and see if it works.
As for the other issue, if you'll provide me with a link to your timeslips page I'll take a look at it for you.

Dewayne

ucsigep 06-10-2004 05:51 PM

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

It may not let you on, we've got it set up to only allow registered users to view. But feel free to register. :)


I'll double check the register.php, but I've tried it about 3 or 4 times and had the same result. I've glanced over the instructions that I'm copying and pasting, I don't see anything that appears to be missing. Thank you for your help, though!!

SVTOA 06-10-2004 07:13 PM

Make sure you are putting your edit in the right place an have not left anything off.
Perhaps you can post the edit file for examination?


All times are GMT. The time now is 12:52 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.01278 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_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