vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - VB Pro Garage Timeslips (https://vborg.vbsupport.ru/showthread.php?t=236888)

Dylanblitz 02-24-2010 10:00 PM

VB Pro Garage Timeslips
 
1 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 02-25-2010 06:25 PM

Reserved

Noerenberg 02-25-2010 06:54 PM

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 02-25-2010 07:03 PM

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 02-25-2010 07:04 PM

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 02-25-2010 07:11 PM

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

Noerenberg 02-25-2010 07:12 PM

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 02-25-2010 07:13 PM

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 02-25-2010 07:15 PM

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 02-25-2010 07:27 PM

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 02-25-2010 07:28 PM

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 02-25-2010 07:37 PM

i have vb 4.0.2

Dylanblitz 02-25-2010 07:41 PM

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 02-25-2010 07:48 PM

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 02-25-2010 09:01 PM

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.

Front Range 4x4 02-25-2010 09:01 PM

Thought I'd toss my errors up too.

Database error in vBulletin 4.0.2:

Invalid SQL:
TRUNCATE v_garage_makes;

MySQL Error : Table '------------.v_garage_makes' doesn't exist
Error Number : 1146
Request Date : Thursday, February 25th 2010 @ 04:58:42 PM
Error Date : Thursday, February 25th 2010 @ 04:58:42 PM
Script : http://www.--------------.com/forums...=productimport
Referrer : http://www.----------------.com/foru...?do=productadd
IP Address : ----------------
Username : ---------------
Classname : vB_Database
MySQL Version : 5.0.89-community

Dylanblitz 02-25-2010 09:16 PM

I just uploaded a new package. Try uninstalling the garage and install from the new xml files. None of the php files have changed so you don't have to reupload any of them.

Front Range 4x4 02-25-2010 09:36 PM

tried and got this:

Warning: 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 on line 7

Fatal error: require_once() [function.require]: Failed opening required '/home/xxxxx/public_html/forums\admincp\garage_update_2.0.0.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxx/public_html/forums/includes/adminfunctions_plugin.php(450) : eval()'d code on line 7

Noerenberg 02-25-2010 09:39 PM

i get this

i cant install

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 7)

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 7

Dylanblitz 02-25-2010 09:41 PM

man, I wonder if it's because I tested on windows and you're installing on linux. It might not like the \ instead of a /, I'll have to work that out for future upgrades.

If you can edit vb_pro_garage.xml and delete line 291 which is

Quote:

require_once(DIR . '\admincp\garage_update_2.0.0.php');
Uninstall and reinstall, see if that works.

Noerenberg 02-25-2010 10:05 PM

the same error, i cant install

Noerenberg 02-25-2010 10:08 PM

ok, now i can install,
but the tab is clera and when i klick i get this error

Fatal error: Call to undefined function most_modified_block() in /www/htdocs/w00b7234/das-grosse-tierforum/html/garage.php on line 575

Dylanblitz 02-25-2010 10:08 PM

Quote:

Originally Posted by Noerenberg (Post 1991583)
the same error, i cant install

Not sure how you would get the error if the line is removed that's causing the error?
Is it still giving you the error that the file can't be found? It shouldn't be calling the file anymore.

sticky 02-25-2010 10:08 PM

Perfect timing ;)

Just bought the commercial version, thank you so much and I look forward to customizing it!

Dylanblitz 02-25-2010 10:38 PM

Quote:

Originally Posted by Noerenberg (Post 1991586)
ok, now i can install,
but the tab is clera and when i klick i get this error


Fatal error: Call to undefined function most_modified_block() in /www/htdocs/w00b7234/das-grosse-tierforum/html/garage.php on line 575

ok, I'll fix that in the package. For you though, can you run

ACP->Maintenance->Execute SQL Query

Quote:

delete from garage_blocks where func_name = 'most_modified'

Trumpetrhapsody 02-25-2010 10:48 PM

Uninstalled the old version (didn't work, lots of database errors, it seems to have not installed all the tables in the database for some reason).

Reinstalling the new version makes all the tables in my database, but hangs at the import screen. Deleted the tables and tried two more times... no dice.

Dylanblitz 02-25-2010 10:53 PM

Quote:

Originally Posted by Trumpetrhapsody (Post 1991606)
Uninstalled the old version (didn't work, lots of database errors, it seems to have not installed all the tables in the database for some reason).

Reinstalling the new version makes all the tables in my database, but hangs at the import screen. Deleted the tables and tried two more times... no dice.

Did you delete line 291 in the product xml? Seems that it's not liking an included php.



Sorry about all these install problems guys.

Trumpetrhapsody 02-25-2010 11:08 PM

Ah, I saw that suggestion above just didn't know it would apply to everyone. Removing that line allowed me to install, and I haven't seen an error yet going through the settings and AdminCP menus.

Only problem is that loading the garage.php page shows nothing... blank page. No errors, just blank.



And no problem, VB4 is a challenge for all. I'm just glad this is finally becoming available! :D

Dylanblitz 02-25-2010 11:22 PM

Quote:

Originally Posted by Trumpetrhapsody (Post 1991625)
Ah, I saw that suggestion above just didn't know it would apply to everyone. Removing that line allowed me to install, and I haven't seen an error yet going through the settings and AdminCP menus.

Only problem is that loading the garage.php page shows nothing... blank page. No errors, just blank.



And no problem, VB4 is a challenge for all. I'm just glad this is finally becoming available! :D

Can you see if the templates were created?

ACP->Styles & Templates -> Template Manager
Select Edit Templates on the dropdown and see if there are VB Pro Garage Templates
There should be about 58 templates under that heading.

Trumpetrhapsody 02-25-2010 11:35 PM

Yes, I see lots of templates under that heading, didn't count but it seems like 50+


On an unrelated note, when I try to add permissions for another usergroup, I get this:
Code:

Invalid SQL:
INSERT INTO vbgarage_permissions (id, access_read, access_write, access_approve, access_del_own_comm, access_del_other_comm, access_reassign_vehicle, access_submit, access_submit_makes, access_submit_models, access_submit_trims, access_submit_engine, access_submit_club, vehicle_quota, image_quota_type, image_quota, image_quota_vehicle, max_quota_qtrmile, image_quota_qtrmile, image_vehicle_enable, image_qtrmile_enable, image_max_size) VALUES ('10', '1', '1', '1', '0', '0', '0', '', '1', '1', '0', '0', '5', '1', '20', '5', '0', '5', '1', '1', '1024');

MySQL Error  : Column count doesn't match value count at row 1
Error Number  : 1136

And I notice when editing any of the permissions, the text for the option below the "Can Submit new Trims" is missing.


Also, when I try "restructure sort tables" under management I get this:
Code:

Invalid SQL:
SELECT id FROM vbgarage_categories ORDER BY field_order;

MySQL Error  : Table 'nwams.vbgarage_categories' doesn't exist
Error Number  : 1146

Looking in my database this table is indeed missing.

Dylanblitz 02-26-2010 12:05 AM

okay, I need to fix those two things.

The main page not showing isn't related to that though, must be some kind of template issue. If I try to look at other pages I can see them.

http://www.nwamotorsports.net/garage.php?do=browse

It's just the main page.

If I had to guess, which I do lol, I'd say it's a missing template that's used only on the front page. Can you send me a screenshot of your templates?

Noerenberg 02-26-2010 12:38 AM

1 Attachment(s)
Quote:

Originally Posted by Dylanblitz (Post 1991603)
ok, I'll fix that in the package. For you though, can you run

ACP->Maintenance->Execute SQL Query

I do this and now i can see, but i dont know is it right

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

and look the admincp right?

i install this addon my first time, and i dont found the settings

Noerenberg 02-26-2010 12:40 AM

delete

Front Range 4x4 02-26-2010 12:46 AM

How does this differ from the pay version? How much is that one and is it working as is?

Noerenberg 02-26-2010 01:00 AM

please tell me where can i change the word vehicle?

Deleting a {1} in the Garage

venom2124 02-26-2010 02:12 AM

I'll wait till some of the kinks are worked out of this one. I tried to install and got an error.

Quote:

Warning: 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 on line 7

Fatal error: require_once() [function.require]: Failed opening required '/home/content/c/o/l/coloradohpj/html/forums\admincp\garage_update_2.0.0.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/c/o/l/coloradohpj/html/forums/includes/adminfunctions_plugin.php(450) : eval()'d code on line 7
I'll keep an eye for an update though.

Noerenberg 02-26-2010 02:14 AM

hi,

how i can change this things:

i need by the trim only a text fild, how i get this?

how i can delete mileage, i dont need it?

and the last thing

how i get by the year [REQUIRED] - a calendar?

thanks for your help

Noerenberg 02-26-2010 02:15 AM

Quote:

Originally Posted by venom2124 (Post 1991719)
I'll wait till some of the kinks are worked out of this one. I tried to install and got an error.



I'll keep an eye for an update though.


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

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.

Dylanblitz 02-26-2010 02:24 AM

Quote:

Originally Posted by Front Range 4x4 (Post 1991686)
How does this differ from the pay version? How much is that one and is it working as is?

Pay one has a lot more on it. Dyno runs, modifications, events, clubs, fuel tracking. You can check it out at my site.

There are a few people running it on production with no problems, we got most of the style and templating kinks worked out.

www.vbprogarage.com

Dylanblitz 02-26-2010 02:26 AM

Quote:

Originally Posted by Noerenberg (Post 1991720)
hi,

how i can change this things:

i need by the trim only a text fild, how i get this?

how i can delete mileage, i dont need it?

and the last thing

how i get by the year [REQUIRED] - a calendar?

thanks for your help

You can't make the trim a text field, I would need to redo the code for that.

If you want to remove mileage you can remove it from the garage_vehicle_view and garage_vehicle_edit templates. It's not required so you wouldn't need to change any code.

You can add the text to the garage_vehicle_edit template if you want the required text there but you would have to change the code to actually make the script check it. Wouldn't be too hard though, I can give you instructions on what to modify if you want. Let me know.


All times are GMT. The time now is 09:15 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.01993 seconds
  • Memory Usage 1,861KB
  • 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
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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