vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=236888

VB Pro Garage Timeslips
by Dylanblitz
25 Feb 2010 20:24

9 Attachment(s)
Description
VB Pro Garage Timeslips (formerly CND Garage/Timeslips) is a free vehicle and timeslips add on for vBulletin 4. This is a great way to allow members to show off their rides, whether they are cars, motorcycles, atv's, etc. Site administrators have dozens of options to tailor the way the garage is displayed and the number of vehicles, images and timeslips the user can enter. User vehicle creation is done through a simple screen with dropdowns and simple text fields. Users can enter either miles or km and system will automatically calculate differences for front page statistics.

** New Features **

* SEO Friendly URLs (htaccess only)
* Page Caching - physical html files which make a HUGE reduction in sql queries
* Front Categories - a category system as an alternate front page to the block layout. I believe it will increase the garage ranking in search engines greatly when used with SEO URL's and the included dynamic meta tags.
* Thread Creation - Automatically create new threads in the forum of your choosing with the text of your choosing when a new vehicle is created in the garage.

Main Features

* No vb template modification needed
* Ajax driven menu's to keep load time down if you have a very large lists of makes/models
* Usergroup level permissions to set the amount of vehicles, images, timeslips allowed
* 99.9% of the text is phrased so that it can be translated for multinational sites
* On the fly image/text watermarking ability to make sure images are tied to your site
* Lytebox image presentation

Installation
Instructions, tips and more are now in the included chm file. If you have problems with the chm I have the document published at:
http://www.vbprogarage.com/forums/docs/html_vb4_ts_300/

The quick and dirty install:
1) Upload all files in the upload folder
2) Import vb_pro_garage.xml into Product Manager
3) Import vb_pro_garage_language_english.xml into Languages & Phrases
4) If you want all makes and models I've collected, import vb_pro_garage_vehicles^^new_install_only.xml into Product Manager

Post Installation
So you don't have to find it in the instructions. After install, there is a button up top in the navbar. This button by default is admin only. This is so you can configure and test without having to close the garage. When you are ready to deploy to the community:
ACP->Settings->Options->Garage General Settings - Set Garage Menu Button to Enabled.

The garage is developed on vb 4.0.7 and tested back to 4.0.0. The garage will run on PHP 5.x+ compiled with GD/GD2 and MySQL 5.x+

Additional options for the garage like adding featured businesses that support your site, fuel tracking, dyno charts, modifications and lots more are included in the commercial version.

Many thanks to Coroner for his stylebridge which led me on a path that saved me hours and hours of template editing :)

There are a few bugs that you might run into on this version. Instead of working on correcting them in the files and working on getting a new package up here, I'm working on the next version and including the posts that fix the errors here.

Change Log:
v3.0.9 - 09/29/2012
-----------------------------
Fixed sql injection problem
Replaced depreciated split function usage
Fixed sql error on image comments
Fixed Make/Model count on front page resetting to 1
Fixed extra unlabeled field on vehicle create/edit (Timeslips only)
Fixed postbit dropdown showing character code
Fixed tables incorrectly set with TYPE instead of ENGINE
Added navigation manager links to product xml

v3.0.8 - 12/9/2010
-----------------------------
Fixed missing vehicle comment code

v3.0.7 - 12/1/2010
-----------------------------
Fixed error with non existant garage_special_track table

v3.0.6 - 11/21/2010
-----------------------------
Fixed who's online error
Fixed map infowindow colors

v3.0.5 - 11/15/2010
-----------------------------
Fixed error with member profile vehicle block
Fixed member tab url path
Fixed error on vehicle map with apostrophes in title

v3.0.4a - 11/12/2010
-----------------------------
Corrected package error

v3.0.4 - 11/11/2010
-----------------------------
Fixed error with front blocks
Fixed style error with vB4.0.8 changes

v3.0.3 - 11/2/2010
-----------------------------
Fixed duplicate countries
Fixed vehicle view slideshow image size
Fixed username browse error
Fixed geocode error on missing zip
Fixed postbit error with vehicles that have a apostrophe in the name

v3.0.2 - 10/25/2010
-----------------------------
Fixed missing add vehicle button on member profile
Added bbcode capabilities to welcome box on garage front page
Moved vehicle count to db table to ease db queries
Added notification scheduled task to send message to new users about adding a garage entry
Added default clear image for watermark
Fixed code to disregard watermark option if image is missing
Fixed search username error
Updated obsolete data queries
Added SEO Friendly URLS
Added page caching capabilities
Fixed sql error with moving vehicle class and color to new selection on deletion in ACP
Added function to replace non english characters with english characters in ajax selection lists
Added image comments
Added notification for image and vehicle comments
Added option to add page title
Added zip code to vehicle and googlemap
Added ability to disable and ability to hide info for googlemap

Dylanblitz 25 Feb 2010 20:25

Reserved

Noerenberg 25 Feb 2010 20:54

hi,
i get this error

Invalid SQL:
TRUNCATE garage_makes;

MySQL-Fehler : Table 'd00b87cb.garage_makes' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Thursday, 25.02.2010 @ 21:53:46
Datum : Thursday, 25.02.2010 @ 21:53:47
Skript : admincp/plugin.php?do=productimport[/url]
Referrer : admincp/plugin.php?do=productadd[/url]

Dylanblitz 25 Feb 2010 21:03

Quote:

Originally Posted by Noerenberg (Post 1991445)
hi,
i get this error

Invalid SQL:
TRUNCATE garage_makes;

MySQL-Fehler : Table 'd00b87cb.garage_makes' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Thursday, 25.02.2010 @ 21:53:46
Datum : Thursday, 25.02.2010 @ 21:53:47
Skript : admincp/plugin.php?do=productimport[/url]
Referrer : admincp/plugin.php?do=productadd[/url]

You need to import the vb_pro_garage.xml file first. That one will create the tables. The one you tried to run will add new vehicles make/model/trim options to the exisiting tables.

Noerenberg 25 Feb 2010 21:04

Hi

then i get this error

Parse error: syntax error, unexpected T_STRING in /www/htdocs/w00b7234/das-grosse-tierforum/html/includes/adminfunctions_plugin.php(450) : eval()'d code on line 145

Warnung: require_once([path]/admincp/garage_update_2.0.0.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/adminfunctions_plugin.php(450) : eval()'d code (Zeile 4)

Fatal error: require_once() [function.require]: Failed opening required '/www/htdocs/w00b7234/das-grosse-tierforum/html/admincp/garage_update_2.0.0.php' (include_path='.:/usr/share/php:..') in /www/htdocs/w00b7234/das-grosse-tierforum/html/includes/adminfunctions_plugin.php(450) : eval()'d code on line 4

Dylanblitz 25 Feb 2010 21:11

Are all the files uploaded? Can you verify the garage_update_2.0.0.php file is in the admincp directory?

Noerenberg 25 Feb 2010 21:12

now i have install

you can see the tab

http://www.das-grosse-tierforum.de/forum.php

but it is clear and when you cklick then you get this error

Invalid SQL:
SELECT COUNT(vehicle_id) AS vehicles FROM garage_user_vehicle WHERE active = '0';

MySQL-Fehler : Table 'd00b87cb.garage_user_vehicle' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Thursday, 25.02.2010 @ 22:12:23
Datum : Thursday, 25.02.2010 @ 22:12:23
Skript : http://www.das-grosse-tierforum.de/garage.php
Referrer : http://www.das-grosse-tierforum.de/forum.php

Noerenberg 25 Feb 2010 21:13

Quote:

Originally Posted by Dylanblitz (Post 1991466)
Are all the files uploaded? Can you verify the garage_update_2.0.0.php file is in the admincp directory?

yes

Noerenberg 25 Feb 2010 21:15

and this in the admincp

Datenbankfehler in vBulletin 4.0.2:

Invalid SQL:
SELECT id, make, active FROM garage_makes ORDER BY LOWER(make);

MySQL-Fehler : Table 'd00b87cb.garage_makes' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Thursday, 25.02.2010 @ 22:14:33
Datum : Thursday, 25.02.2010 @ 22:14:34
Skript : http://www.das-grosse-tierforum.de/a...?do=make_model
Referrer : http://www.das-grosse-tierforum.de/a...dex.php?do=nav

Noerenberg 25 Feb 2010 21:27

i uninstall and instell new
and i see quick this error

Parse error: syntax error, unexpected T_STRING in /www/htdocs/w00b7234/das-grosse-tierforum/html/includes/adminfunctions_plugin.php(450) : eval()'d code on line 145

i have no idea, sorry

Dylanblitz 25 Feb 2010 21:28

What vb version are you on?
I'll install it and try the import, so much changed between 4.0.0 and 4.0.1 and 4.0.2 it could just be the version you're on.

Noerenberg 25 Feb 2010 21:37

i have vb 4.0.2

Dylanblitz 25 Feb 2010 21:41

Hmm, ok that's not it because that's the version I dev on.

If you want to try
Uninstall the garage
Open up vb_pro_garage.xml in a text editor and delete line 291, it's not needed for new installs.
Line 291 is

Quote:

require_once(DIR . '/admincp/garage_update_2.0.0.php');
Then try and import the edited xml file, see if you get that same error.

Noerenberg 25 Feb 2010 21:48

nup,
by the install this error


Parse error: syntax error, unexpected T_STRING in /www/htdocs/w00b7234/das-grosse-tierforum/html/includes/adminfunctions_plugin.php(450) : eval()'d code on line 145

i can see the clear tab whe i click,
this error

Invalid SQL:
SELECT COUNT(vehicle_id) AS vehicles FROM garage_user_vehicle WHERE active = '0';

MySQL-Fehler : Table 'd00b87cb.garage_user_vehicle' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Thursday, 25.02.2010 @ 22:47:44
Datum : Thursday, 25.02.2010 @ 22:47:44
Skript : http://www.das-grosse-tierforum.de/garage.php
Referrer : http://www.das-grosse-tierforum.de/forum.php

Dylanblitz 25 Feb 2010 23:01

I just went through and installed on a test 4.0.2 server and got the same errors. It worked fine for me when I first installed on 4.0.0

I almost have the product xml fixed. I'll post a new package when it's done.


All times are GMT. The time now is 20:08.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.