The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Timeslip Database -for Automotive websites Details »» | |||||||||||||||||||||||||||
vB Timeslip Database -for Automotive websites
Developer Last Online: May 2021
I doubt this will be used by many people since its designed specifically for automotive websites.. But it has been requested here several times, so here ya go.
What does it do? This hack does a few things. First, it will add a separate Vehicle Profile page to your forum where your users can enter their type of vehicle, horsepower, best 60' time, 1/8 mile time, 1/4 mile time, a link to their timeslip and more. Once the data is entered the timeslips.php page will display the info sorted by the best times, highest trap speeds, highest horsepower #s, proof of ET, or ET brackets (user selectable). You can also ban users from editing their Vehicle Profile. This comes in handy if you have some users who insist on entering false data into the Timeslip Database just to be funny. To use this feature, just click on the user's profile, then click "user options" and set "Can edit vehicle profile" to no. The user will still be able to edit his regular profile, but not his vehicle profile. Demo: http://modernmusclecars.net/forums/timeslips.php (Note: I just added this to my board a couple of days ago so there's only a few entries right now.. It does have pagination and will display 25 per page by default once more ETs are entered.) Screenshot1: Vehcile Profile page Screenshot2: Edit Vehcile Profile page Features include: *The ability to sort by: -1/4 Mile ET -1/4 Mile MPH -1/8 Mile ET -1/8 Mile MPH -60' Time -Horsepower -Cars with proof of ET (actual timeslip) -Username -ET brackets (New!) *Show the average ET, MPH, and HP for your site. (New!) *Vehcile Profile (separate from user profile) (New!) *Ability to ban users from editing their vehicle profile (New!) *Installer Installation is easy: 1. Upload TDinstaller.php to your admin directory & run the installer. 2. Follow the hack instructions to edit the 4 php files. 3. Edit two templates. 4. Add five new templates. 5. Upload timeslips.php to your forum directory and slipicon.gif to your image directory. This has been tested on 2.2.8 - 2.3.2 and should work fine with any 2.X.X version. Note: I don't use vb 2.X anymore so this hack is no longer supported Download vB Timeslip Database v1.3 (Version 2.0 is availible for VB3 users here.) Add-ons: *Add-on: Display the Top Five 1/4 mile ETs on your front page portal *Add-on: Require a link to the actual timeslip for all ETs that are 11.99 or quicker. *Add-on: A "timeslips" button for your header (PSD and GIF). -by Optima *Add-on: Show the ET club that users belong to in the postbit. *How to: Add a "select" field & sort by it in the timeslip database. *How to: Change the default sort method Updated 10-29-03 to add new features: - Added the ability to sort by ET brackets. (ie. show 10 second cars only. 11 second cars only, 13 sec cars, etc). Requested by BrendonM Check the demo page to see it in action. Updated 10-31-03 (new feature): -Added a new action that will show the average ET, trap speed, and horsepower for your site. Go to the demo page and select "Site Averages" from the drop down menu to see what I mean. Updated 11-10-03: -Added the vehicle profile addon to the hack instructions. Added a few new fields to the vehicle profile page (race weight, track, D/A, mods, tranny type, etc). Added a "details" column to the Timeslip Database page which lets you view all vehicle profile fields when the details link is clicked (see demo). Instructions for upgrading all previous versions to v1.3. If you find this script useful please click install. Show Your Support
|
Comments |
#32
|
||||
|
||||
Hey EvilLS1, good work!
"Clicks Install" Do you know how i can add an extra field for a drop down menu for "Vehicle Make" |
#33
|
||||
|
||||
Thanks glo.
Yes its easy to add an extra field for a drop down menu. I have one myself. If you haven't already done so, install this hack (adds ability to make drop down menus in custom profile fields). Look in the last couple of pages of that thread to find updated instructions for later versions of vbulletin. Anyway, once you've added that hack, go into your admin panel and add the new profile field w/ drop down menu. Then hold your mouse over the "edit" link for the new field and make a note of the field ID # (at the end of the URL). Then open timeslips.php and find: Code:
} else if ($action=="username") { $cond.=" WHERE userfield.field55>'".intval($number)."'"; $condition.=" AND userfield.field55>'".intval($number)."'"; $orderby="user.username"; $direction=ASC; Code:
} else if ($action=="make") { $cond.=" WHERE userfield.field55>'".intval($number)."'"; $condition.=" AND userfield.field55>'".intval($number)."'"; $orderby="userfield.fieldXX"; $direction=ASC; Still in timeslips.php find: Code:
$ride= $userinfo[field50]; Code:
$make= $userinfo[fieldXX]; Now in your "timeslips" template find: Code:
<option value="$bburl/timeslips.php?s=$session[sessionhash]&action=username">Username</option> Code:
<option value="$bburl/timeslips.php?s=$session[sessionhash]&action=make">Vehicle Make</option> Code:
<td bgcolor="{categorybackcolor}" colspan="8"><normalfont color="{categoryfontcolor}"><CENTER><b> Timeslip Database</b></CENTER></normalfont></td> Code:
<td bgcolor="{categorybackcolor}" colspan="9"><normalfont color="{categoryfontcolor}"><CENTER><b> Timeslip Database</b></CENTER></normalfont></td> Code:
<td bgcolor="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}"><b>Username</b></smallfont></td> Code:
<td bgcolor="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}"><b>Vehicle Make</b></smallfont></td> Code:
<td bgcolor="{categorybackcolor}" colspan="8"> Code:
<td bgcolor="{categorybackcolor}" colspan="9"> In your "timeslipsbit" template find: Code:
<td bgcolor="{secondaltcolor}"><normalfont><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userinfo[userid]">$username</a></normalfont></td> Code:
<td bgcolor="{firstaltcolor}">$make</td> Dewayne |
#34
|
||||
|
||||
im good at ideas and you are a great hacker, thank you my friend
|
#35
|
||||
|
||||
Thanks corsa. That was a nice idea.
BTW, I made a small addition to the hack. Now the timeslips page will put brackets around the catagory that is currently being sorted by. Example (sorting by 1/4): Username - Ride - RWHP - 60' - 1/8 mile ET - [1/4 Mile ET] - Slip I updated the zip in the first post.. To upgrade just replace your timeslips template with the new one, then upload the new timeslips.php. |
#36
|
|||
|
|||
*clicks install*
Thanks EvilLS1... Great Hack. I just installed it on my board this morning. I had to make a few small modifications though. I changed RWHP to WHP (Subaru website... AWD cars) and I already had car info in the user profiles to I pulled that info instead or the new 'Ride' field. Teriffic hack though, I hope my members like using it. The only request I might make would be if it were possible to allow the timeslips to be uploaded like an attachment. Since you know users tend to change image hosts all the time, and or delete stuff. -Nick http://www.nasioc.com/ |
#37
|
|||
|
|||
***vb3***?
|
#38
|
||||
|
||||
NickCat,
Thanks. And sorry about the RWHP thing.. I just copied the template from my own site (about 99% of my members have rwd cars). Anyway, I will probably add the upload feature to v2.0. But for now, you could do what I do.. Next to the timeslip link field I posted a link to a thread in my drag racing forum that says "upload your images here". They can upload the images in that thread and then just put a link to the attachment in the field. MaxScript, I'll probably update this hack and a couple of others for VB3 once it goes final. Should be fairly easy to do. |
#39
|
|||
|
|||
Quote:
great thanks |
#40
|
|||
|
|||
Quote:
And good idea on the image attachment thread. I'll anxiously be awaiting the release of V2.0 with the built in attachment upload! -Nick http://www.nasioc.com/ |
#41
|
||||
|
||||
NOTE: This comes standard with version 1.3!
Add-on: Separate "Vehicle Profile" page for submitting Timeslip Data. Description: This add-on will remove the timeslip fields from your edit profle & registration pages and put them in thier own separate catagory called "Vehicle Profile". This should help cut down the number of users who submit false data when registering or editing their profile since the vehicle info is edited on a completely separate page. Instructions and screenshot attached: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|