Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Timeslip Database - for Automotive websites Details »»
vB Timeslip Database - for Automotive websites
Version: 1.2, by deathemperor deathemperor is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-17-2006 Last Update: 12-11-2006 Installs: 180
DB Changes Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

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



Quote:
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: https://vborg.vbsupport.ru/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: https://vborg.vbsupport.ru/showthrea...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: https://vborg.vbsupport.ru/showpost....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:

PHP Code:
###### In image.php find:

if ($_REQUEST['type'] == 'profile'// do not modify this $_REQUEST


###### REPLACE IT WITH:

if ($_REQUEST['type'] == 'profile' or $_REQUEST['type'] == 'timeslip'// do not modify this $_REQUEST


###### FIND:

    
else
    {
        
$table 'customavatar';
    }

###### ABOVE THIS ADD:

    
else if ($_REQUEST['type'] == 'timeslip')
    {
        
$data 'timeslippicdata';
        
$table 'customfile';
    } 
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. https://vborg.vbsupport.ru/vborg_mis...hreadid=110717

This hack is free (why not?) but donation are welcome, my paypal is bloodynightcrawler@gmail.com . Thank you.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
too_cool_3

Comments
  #362  
Old 11-19-2006, 02:02 AM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hotwheels View Post
Okay, i changed the instruction's for uploading the queries, and i changed the instruction's text file to show the same change.........thanks for this information.

queries to run

3.6 Instruction Text

After last count, we have over 40 member's using this update on 3.6........

hotwheels
Alright brother....I think I've waited long enough. I don't see that anyone has put out a specific hack for 3.6.x yet and my patience is done.

I'm gonna give this one a whirl this weekend with your instructions. Now, just because your a Stang enthusiast doesn't mean you gotta stir this Bowtie guy in the wrong direction.

Thanks for continuing your work on this Hotwheels. I'll hit you up if I hit some walls brother.

Gonzo
Reply With Quote
  #363  
Old 11-19-2006, 12:53 PM
SVT242 SVT242 is offline
 
Join Date: Dec 2004
Location: Sa, Tx
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smoknz28 View Post
Alright brother....I think I've waited long enough. I don't see that anyone has put out a specific hack for 3.6.x yet and my patience is done.

I'm gonna give this one a whirl this weekend with your instructions. Now, just because your a Stang enthusiast doesn't mean you gotta stir this Bowtie guy in the wrong direction.

Thanks for continuing your work on this Hotwheels. I'll hit you up if I hit some walls brother.

Gonzo

Bro, PLEASE KEEP US INFORMED!!! Us car enthusiast sites need this hack! LOL!

Good luck and if you need a lab rat email me at chris@mustangrodder.com
Reply With Quote
  #364  
Old 11-19-2006, 01:27 PM
wottech wottech is offline
 
Join Date: May 2006
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used the script and instructions to update my site last week, and I just upgraded the site to 3.6.3 yesterday, and it all appears to be working fine.
Reply With Quote
  #365  
Old 11-19-2006, 01:59 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Now, just because your a Stang enthusiast doesn't mean you gotta stir this Bowtie guy in the wrong direction.
lmao...........I wouldn't do that........hehehehe
Reply With Quote
  #366  
Old 11-19-2006, 02:03 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 92GreenGT View Post
I re-installed the XML file and clicked the overwrite button and it didnt fix it. I took a screenshot to show you what it does, it goes to the "Vehicle Profile" page which isnt even in the User CP options, I believe it used to do this in the 3.5.x version, not sure why its not updated?

Screen:
http://www.fullthrottleforums.com/Pics/Screen.jpg

-Edit-
I dont know if im the only one having this problem(probably is..lol) but if anyone else is having this problem do this:
Open the .xml file in a text editor(I use Notepad II) and go to line 433 and change "edittimeslip" to whatever you want the link to point to, in my case it was just Edit profile so I put in "editprofile" in place of "edittimeslip". Then save the file and upload it with Overwrite selected and your done.

Works perfect now, thanks again.
Right on bro, i am very happy that you got it working........only reason i haven't really done much to update this mod, is do to the fact that i never really recieved permission to mess with it. I just wanted to get it working on my website, and after alot of messing around with the code, i got it working and had alot of request's to share what i had done to get it working, hence, my half ass'd update...
Reply With Quote
  #367  
Old 11-19-2006, 02:47 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

K, I tried to help make this a product.......

I need someone with a pretty much a new set up to give this a whirl.....and then let me know what happen's.

I just don't have a way to test at this point since all i have is an online site, i don't have a test site.

Now, If you test this you will need to do all of the file edit's as per my original instructions, accept i added the query's to this, so you hopefully won't need to run the queries seperately......I believe what is happening is that i didn't make a couple change's in death's original .xml file, and when you add the queries, my queries are being overwritten.....Hopefully with the change's i made, you should be able to upload the product, edit your image.php file and it's good to go.....

If you already have this installed but are having issue's with the title's being posted, just upload this .xml and click overwrite......let me know what happens.....

Please remember, i don't claim to be a coder, i am just trying to help make a great product, work again......

This .xml isn't working yet........
hotwheels
Reply With Quote
  #368  
Old 11-19-2006, 03:39 PM
wottech wottech is offline
 
Join Date: May 2006
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just setup a development site so I can test out mods before putting them on our live site, so I decided to help you out. Well, it didn't get very far...

Code:
Database error in vBulletin 3.6.3:

Invalid SQL:
ALTER TABLE vb_profilefield ADD `title` VARCHAR( 25 ) DEFAULT `aa` NOT NULL AFTER profilefieldid;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'aa` NOT NULL AFTER profilefieldid' at line 1
Error Number : 1064
Date         : Sunday, November 19th 2006 @ 09:38:23 AM
Reply With Quote
  #369  
Old 11-19-2006, 05:09 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wottech View Post
I just setup a development site so I can test out mods before putting them on our live site, so I decided to help you out. Well, it didn't get very far...

Code:
Database error in vBulletin 3.6.3:

Invalid SQL:
ALTER TABLE vb_profilefield ADD `title` VARCHAR( 25 ) DEFAULT `aa` NOT NULL AFTER profilefieldid;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'aa` NOT NULL AFTER profilefieldid' at line 1
Error Number : 1064
Date         : Sunday, November 19th 2006 @ 09:38:23 AM
okay, that mean's that the query didn't take the 'aa'.......let me do something real quick.....I am helpin smokinZ and if we get this right, i will help ya next.....
Reply With Quote
  #370  
Old 11-19-2006, 05:13 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will work on the .xml again and reupload here shortly......
Reply With Quote
  #371  
Old 11-19-2006, 05:17 PM
wottech wottech is offline
 
Join Date: May 2006
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, no need to help me. I have your previous patch working fine on my live site. I was just helping you out since I have a bare 3.6.3 site for development.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08357 seconds
  • Memory Usage 2,344KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete