Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB Timeslip Database - for Automotive websites Details »
vB Timeslip Database - for Automotive websites
Mod Version: 1.2, by deathemperor (Member) deathemperor is offline
Developer Last Online: Jul 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (12 votes - 4.33 average) Installs: 180
Released: 18 Mar 2006 Last Update: 12 Dec 2006 Downloads: 812
Not Supported DB Changes Uses Plugins Template Edits Code Changes Additional Files  

Yes, finally I can release it here the converted version off Timeslips database for vbulletin 3.5.x. I made it as a product, try to change the file edits into plugin as best as I could but you still need to edit 2 files (optional). I can't think of an easy way to remove that but if anyone can, please pop in.

I've made the timeslips.php page XHTML valid. Of course the look has not been changed. Also made it fully phrased.

The permission is granted here

Please let me copy what EvilLS1 posted in the 3.0 hack



Originally Posted by EvilLS1
This is the newest version of EvilLS1's Timeslip Database hack. If you don't have an automobile related website ya might as well stop reading here because this will probably be of no use to you.. But if you do, read on!

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, engine, tranny, tires, horsepower, best 60' time, 1/8 mile time, 1/4 mile time, upload thier 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 vehicle 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.


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)
-N/A cars only
-Username
-ET brackets
*Show the average ET, MPH, and HP for your site.
*Vehicle Profile (separate from user profile)
*Ability to ban users from editing their vehicle profile
*Users can upload their timeslip in the vehicle profile. (New!)
*Timeslip uploads can be disabled in the admincp. (New!)
*Admin can delete user's uploaded timeslip. (New!)
*Maximum width, height and filesize for timeslip uploads can be set in the admincp. (New!)
*Admin can set an ET for which a timeslip is required if user's ET is quicker. (New!)
*Installer

Demo:

http://www.ls6.com.au/forum/timeslips.php?
Installation overview:
Files to edit: (2)- member.php (1), functions_user.php (2), image.php(2)
Files to upload: (2)- timeslips.php, slipicon.gif
Templates to edit: (2)- USERCP_SHELL, navbar
Templates to add: 0
Phrases to add: 0

Why do I still have to edit files ?
The reasons for those editions are because you don't want users to see the timeslips profile fields in the memberlist/member profile/edit profile

and just that. So that means if you exclude those the hack will still work whatever



Installation instructions:

BACK UP EVERYTHING BEFORE INSTALLING ANY HACK

Firstly please read the file Instructions.txt file on how to install this hack.

the steps are: Import the product-timeslips.xml file. Do file and template editions. Upload files to correct folder. Then enjoy it !


I have tried all that I can by installing this hack on a fresh board and solved *almost* all the problem. But if you find any errors, please post it here (just do not duplicate things :P ).


Upgrading

I haven't had a chance to do the upgrade because I convert this for a fresh vb3.5 board. I've set up things that I think it's ready for the upgrade. I'm willing to test the upgrade on your board if anyone can give.

For the upgrade to work, you must use the latest version of timeslips which can be taken from here: http://www.vbulletin.org/forum/showthread.php?t=60945



Support

I'll try my best to give supports. But please understand due to my heavy busy I may miss your post. Please understand.


Screenshots?

The shots from its 3.0 version are fine.
here's the link: http://www.vbulletin.org/forum/showt...ight=timeslips


Changes Logs

03/18/2006: version 1.1 Fully phrased the hack.
03/19/2006: fix the problem showing your current timeslip image when editing your timeslip. To upgrade simply re-import product-timeslips.xml.

03/19/2006: fixed a few bugs in this post: http://www.vbulletin.org/forum/showp...9&postcount=31 . Again to upgrade just reimport the product file.

03/20/2006: Hack version change to 1.1.3: Changed the field of field 52,53,55 to decimal (6,3). Added one more file editions into the instructions file to fix showing proper image. So bad to add another file edit but this is becaus there is no hook in image.php. this is how to do it:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Again to upgrade you need to import the product file again to overwrite. then do the above edit.

03/23/2006: Update: fix a JS error when submitting the new timeslip. (Thanks Sidewindr). Also the new product will attempt to remove your old vb3.0 options then add the new ones, this is for upgrading from timeslips for vb3.0 to vb3.5 . I didn't test that tho.

12/05/2006: Version 1.2 for vb3.6 released.

12/09/2006: minor fix for missing adding field50.

12/12/2006: fix the error: Fatal error: Call to undefined function build_hiddenprofilefield_cache() in C:\Program Files\xampp\htdocs\folder\admincp\plugin.php(1468) : eval()'d code on line 6

Please click install if you use this hack for updates. http://www.vbulletin.org/forum/vborg...hreadid=110717

This hack is free (why not?) but donation are welcome, my paypal is [email protected] . Thank you.

end of presentation, hope I don't miss anything.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vB Timeslip Database -for Automotive websites EvilLS1 vBulletin 3.0 Full Releases 753 05 Mar 2009 21:42
vB Timeslip Database -for Automotive websites EvilLS1 vBulletin 2.x Full Releases 212 24 May 2005 16:41

  #556  
Old 18 Mar 2007, 14:45
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Real name: Lucius Hunk
Originally Posted by garysawy View Post
I have a problem with mine done everythig right but it dont display the link on the navbar or the link to edit the thing in the profile any ideas??
go to phrase and language manager, search for "timeslips", choose edit and just press save (without modifying anything). This will rebuild your phrases so that it will show up correctly. I did rebuild it on my php code but I don't know why it's not working.
Reply With Quote
  #557  
Old 19 Mar 2007, 23:25
zincpony zincpony is offline
 
Join Date: Nov 2006
Real name: Tim
i had that problem also, but i uploaded the xml twice the 2nd upload worked perfectly.
__________________
Philadelphia Eagles

PhotoBucket [BB CODE]
Reply With Quote
  #558  
Old 25 Mar 2007, 02:13
grecostimpy grecostimpy is offline
 
Join Date: Mar 2005
Originally Posted by 0ptima View Post
I finally converted my 3.0 timeslips to the VB 3.6 version.
Please share.....I'm using a modified php file to make the 3.0.x version still work on my 3.6.5 board. I'd rather update then continue this rather buggy band-aid.
Reply With Quote
  #559  
Old 25 Mar 2007, 02:38
burntire burntire is offline
 
Join Date: Jun 2006
I am using this version and it is buggy. With all the auto sites out there I was hoping we could find a bug free solution.
Reply With Quote
  #560  
Old 25 Mar 2007, 22:45
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by grecostimpy View Post
Please share.....I'm using a modified php file to make the 3.0.x version still work on my 3.6.5 board. I'd rather update then continue this rather buggy band-aid.
I should have posted the steps I took when I did the conversion, but I did find some notes I took. I highly recommend that you test this out on a backup and use the following as a reference!

3.0 removal

//All old templates removed

//All old phrases removed

//Delete dfrom admin cp

DELETE FROM `settinggroup` WHERE CONVERT(`settinggroup`.`grouptitle` USING utf8) = 'timeslips' LIMIT 1;

DELETE FROM `setting` WHERE CONVERT(`setting`.`varname` USING utf8) = 'allowtimeslipupload' LIMIT 1;
DELETE FROM `setting` WHERE CONVERT(`setting`.`varname` USING utf8) = 'tdmaxwidth' LIMIT 1;
DELETE FROM `setting` WHERE CONVERT(`setting`.`varname` USING utf8) = 'tdmaxheight' LIMIT 1;
DELETE FROM `setting` WHERE CONVERT(`setting`.`varname` USING utf8) = 'tdmaxsize' LIMIT 1;
DELETE FROM `setting` WHERE CONVERT(`setting`.`varname` USING utf8) = 'tdsliprequired' LIMIT 1;


//userfields to change..... (May only needed if you have the 3.0 - 3.05 version of the //hack. The 3.06 hack has these changes)

ALTER TABLE `userfield` CHANGE `field50` `field50` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field57` `field57` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field58` `field58` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field59` `field59` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field60` `field60` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field61` `field61` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field62` `field62` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field63` `field63` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `temp` `temp` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field64` `field64` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field65` `field65` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field68` `field68` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL, CHANGE `field69` `field69` CHAR(250) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL


RENAME TABLE `tmp`.`customtimeslippic` TO `tmp`.`customfile` ;

// may not be needed!!!!!!!! (dont remember why)
ALTER TABLE `customfile` CHANGE `timeslippicdata` `filedata` MEDIUMTEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL


// needed for 3.6
http://www.vbulletin.org/forum/showp...&postcount=374


ALTER TABLE `profilefield` ADD `title` VARCHAR( 25 ) DEFAULT 'aa' NOT NULL AFTER `profilefieldid`

ALTER TABLE `profilefield` ADD `description` VARCHAR( 250 ) DEFAULT 'a' NOT NULL AFTER `title`
I also had to modify the product file, which I have attached
I remember having problem with the phrases and had to edit and re save one of them and then the all worked. Take a look at this post....
http://www.vbulletin.org/forum/showp...&postcount=556
Attached Files
File Type: xml 0ptima product-timeslips1.2.xml (41.2 KB, 21 views)
Reply With Quote
  #561  
Old 26 Mar 2007, 07:46
BackSideSA BackSideSA is offline
 
Join Date: Oct 2005
Thanks for everyone's work! I was able to remove the old version and install the new one.!!!!
Reply With Quote
  #562  
Old 27 Mar 2007, 01:13
grecostimpy grecostimpy is offline
 
Join Date: Mar 2005
Originally Posted by BackSideSA View Post
Thanks for everyone's work! I was able to remove the old version and install the new one.!!!!
Did you use Optima's instructions above? If so...I'll be trying that out on a test board. I've been looking to get this updated for about a year now.
Reply With Quote
  #563  
Old 27 Mar 2007, 01:14
grecostimpy grecostimpy is offline
 
Join Date: Mar 2005
Originally Posted by 0ptima View Post
I should have posted the steps I took when I did the conversion, but I did find some notes I took.
Thanks for those instructions, I'll be giving it a try on my test board.
Reply With Quote
  #564  
Old 27 Mar 2007, 01:25
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by grecostimpy View Post
Thanks for those instructions, I'll be giving it a try on my test board.
Download the 3.0 version of the hack to see what phrases and templates were installed.
Reply With Quote
  #565  
Old 28 Mar 2007, 02:44
grecostimpy grecostimpy is offline
 
Join Date: Mar 2005
Originally Posted by 0ptima View Post
Download the 3.0 version of the hack to see what phrases and templates were installed.
Will do, I'm a bit concerned more of the database changes that were made.
Reply With Quote
  #566  
Old 28 Mar 2007, 03:05
0ptima 0ptima is offline
 
Join Date: Feb 2002
Originally Posted by grecostimpy View Post
Will do, I'm a bit concerned more of the database changes that were made.
If you have the latest version of the 3.0 hack, you just need to rename the table used to hold the timeslip image. The adding of the 2 fields in the profilefiled table is needed as this hack was written for VB 3.5 which has those fields. They were removed from vb 3.6 and need to be added back.
Reply With Quote
  #567  
Old 28 Mar 2007, 04:00
grecostimpy grecostimpy is offline
 
Join Date: Mar 2005
I'm currently running v2.1 (which I believe was the last version for 3.0.x)
Reply With Quote
  #568  
Old 04 Apr 2007, 19:26
BackSideSA BackSideSA is offline
 
Join Date: Oct 2005
yes I followed the instructions
Reply With Quote
  #569  
Old 06 Apr 2007, 06:50
USAMustangs.com USAMustangs.com is offline
 
Join Date: Mar 2007
i installed this and i like it so far.

however, is there a way i can make it default sort to 1/8th mile e.t instead of 1/4 mile e.t?

that would be great if i could do that.

any suggestions?
Reply With Quote
  #570  
Old 06 Apr 2007, 07:00
USAMustangs.com USAMustangs.com is offline
 
Join Date: Mar 2007
nevermind.

i figured it out.

you just change 'quarter' to 'eight' in 2 places in the timeslips.php
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:15.

Layout Options | Width: Wide Color: