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 08-09-2011 07:24 AM

Quote:

Originally Posted by RollaJedi (Post 2223337)
I love this mod, but i dont want it for cars. I run a star wars site where my members collect the toys. I would love to use this mod for them to show off their collections, but there are some things that wouldnt make sense on the adding a new vehicle (collection) and viewing the vehicle (collection) i wish i could take off:

-the color question
-mileage
-purchase date
-no year
-no timeslips
-and just have one of the model/make dropdowns

Is there anyway at all i could do this as maybe a custom non-vehicle garage? I'm not a coder so i dont wanna screw anything up. It would probably be really useful for others like me that want to use this to display a collection.

Thank you!!

Quote:

Originally Posted by RollaJedi (Post 2230890)
any help with my question??

I'm sorry about that, I must have missed it.
You can remove all the fields you mentioned besides the make/model. Those two are tied in too much to remove one without screwing up a lot of stuff. it would be possible only if you tweaked some of the code, kind of messy though.
Timeslips can be turned off through the ACP settings. Garage Page Settings

If you want to give me temp admin I can go in there and remove the fields and change any of the language you want.

thebucky84 08-22-2011 12:13 PM

So i did everything right to the " T ".. but when I import the xml (which loads just fine), I click on my forum homepage and get this meesage:

Warning: require_once([path]/includes/garage_plugin_func.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(517) : eval()'d code on line 84

Fatal error: require_once() [function.require]: Failed opening required '/home/content/68/6995168/html/includes/garage_plugin_func.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/68/6995168/html/includes/class_bootstrap.php(517) : eval()'d code on line 84


once I delete the plugin the site goes back to normal. Any idea?

Dylanblitz 08-22-2011 06:03 PM

Quote:

Originally Posted by thebucky84 (Post 2236535)
So i did everything right to the " T ".. but when I import the xml (which loads just fine), I click on my forum homepage and get this meesage:

Warning: require_once([path]/includes/garage_plugin_func.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(517) : eval()'d code on line 84

Fatal error: require_once() [function.require]: Failed opening required '/home/content/68/6995168/html/includes/garage_plugin_func.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/68/6995168/html/includes/class_bootstrap.php(517) : eval()'d code on line 84



once I delete the plugin the site goes back to normal. Any idea?

It looks like the includes/garage_plugin_func.php file didn't get moved over to the server.
It should be at <your forum directory>/includes/garage_plugin_func.php

thebucky84 08-23-2011 12:18 AM

well i got it to work now. When i click on the garage tab i get this:


Not Found

The requested URL /garage.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at xxxxxx.com Port 80



Then when i enter in http://www.mysite.com/vgb/ (the garage.php file is in the sub folder "vgb") under admincp>Settings>options>Garage General Settings>Garage Files URL I get this:



Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/xx/xxxxxx/html/vbg/garage.php on line 118

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/xx/xxxxxxx/html/vbg/garage.php on line 118



any clue?

thebucky84 08-23-2011 10:23 PM

bump for help

maupz 08-24-2011 03:39 AM

On line 158 oin garage.php what saids?

Dylanblitz 08-24-2011 06:06 AM

Quote:

Originally Posted by thebucky84 (Post 2236812)
well i got it to work now. When i click on the garage tab i get this:


Not Found

The requested URL /garage.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at xxxxxxxx.com Port 80



Then when i enter in http://www.mysite.com/vgb/ (the garage.php file is in the sub folder "vgb") under admincp>Settings>options>Garage General Settings>Garage Files URL I get this:



Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in
/home/xxxxhtmlpathxxxx/vbg/garage.php on line 118

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5/lib/php') in /home/
xxxxhtmlpathxxxx/vbg/garage.php on line 118


any clue?

EDIT:
Oh sorry, just read it again. You also need to update the garage_directory.php file with the absolute path to your forum root.

So open the file and change
PHP Code:

//$forum_directory = 'C:/doc_root/www/domain/forums/'; 

to whatever the path is, something like

PHP Code:

$forum_directory '/home/xxxxhtmlpathxxxx/forums/'

btw, might want to edit the post and remove your domain name and directory structure :)

MotMann 08-24-2011 06:51 AM

Have someone german phrases?

thebucky84 08-24-2011 12:27 PM

Quote:

Originally Posted by Dylanblitz (Post 2237308)
EDIT:
Oh sorry, just read it again. You also need to update the garage_directory.php file with the absolute path to your forum root.

So open the file and change
PHP Code:

//$forum_directory = 'C:/doc_root/www/domain/forums/'; 

to whatever the path is, something like

PHP Code:

$forum_directory '/home/xxxxhtmlpathxxxx/forums/'

btw, might want to edit the post and remove your domain name and directory structure :)

thanks for the heads up! lol


well I've changed the directory already. Line 24

PHP Code:

$forum_directory '/home/account/public_html/forums/'

now there is another line underneath the direcory thats the 'C/doc_root/xxxxxx (sorry at work and obviously cant see my directory file lol) do i need to change that line as well?

I have the directory pointed where I need it to. What exactly do i need to put in the URL block under the garage settings in the admincp?

Dylanblitz 08-24-2011 04:42 PM

Quote:

Originally Posted by thebucky84 (Post 2237406)
thanks for the heads up! lol


well I've changed the directory already. Line 24

PHP Code:

$forum_directory '/home/account/public_html/forums/'

now there is another line underneath the direcory thats the 'C/doc_root/xxxxxx (sorry at work and obviously cant see my directory file lol) do i need to change that line as well?

I have the directory pointed where I need it to. What exactly do i need to put in the URL block under the garage settings in the admincp?

You only needto uncomment the forum directory and modify the variable to the path of your forum.

The Garage URL field should have the url of the garage files. Like http://www.yoursite.com/vgb/

thebucky84 08-24-2011 06:35 PM

Quote:

Originally Posted by Dylanblitz (Post 2237531)
You only needto uncomment the forum directory and modify the variable to the path of your forum.

The Garage URL field should have the url of the garage files. Like http://www.yoursite.com/vgb/

well its uncommented and still gives me the error about some ./global.php file, what up with that?

thebucky84 08-24-2011 11:45 PM

OMG... it works lol.. I said screw it to the files in the vbg folder and just moved them all to the html, and bam up and running! Thanks for the help, appreciate it

thebucky84 08-25-2011 01:54 AM

Quote:

Originally Posted by bosken (Post 2228938)
Noticed this feature on an another forum.. (FYI running vB 3.7.1)

Is it possible to add this feature? I like it..

https://vborg.vbsupport.ru/external/2012/01/59.jpg



any update on this?


also under "Browse Vehicles" each Make has a (1) next to it even though there are multiple vehicles in that Make.. any idea?

Dylanblitz 08-25-2011 06:33 AM

Quote:

Originally Posted by thebucky84 (Post 2237700)
any update on this?


also under "Browse Vehicles" each Make has a (1) next to it even though there are multiple vehicles in that Make.. any idea?

I'll have to update a good chunk of code to add that.

I'll check the vehicle count calculation.

thebucky84 08-25-2011 01:50 PM

Thanks man, just let me know on the vehicle count. And keep us posted on the side bar link

markis13446 08-25-2011 06:10 PM

Is there a way to better integrate this to VB blogs?

I want to use this for users to post their rides, but want to use the blogs for users to document their builds.

Ideally something that automatically determines if a blog exists for that user and it provides a link to it.

Thanks and great work.

Dylanblitz 08-26-2011 04:24 PM

Quote:

Originally Posted by markis13446 (Post 2238028)
Is there a way to better integrate this to VB blogs?

I want to use this for users to post their rides, but want to use the blogs for users to document their builds.

Ideally something that automatically determines if a blog exists for that user and it provides a link to it.

Thanks and great work.

I don't have any integration into the blog system for it.

markis13446 08-26-2011 04:35 PM

Ok, got some feedback from users:

- question - is there a way to comment per picture?
- bug - an extra drop down under the the mileage, looks like a bug, anyone else have this?
- feature request - is there a way to make VOTM a widget on the CMS?

Great app!

Dylanblitz 08-26-2011 06:21 PM

Quote:

Originally Posted by markis13446 (Post 2238387)
Ok, got some feedback from users:

- question - is there a way to comment per picture?
- bug - an extra drop down under the the mileage, looks like a bug, anyone else have this?
- feature request - is there a way to make VOTM a widget on the CMS?

Great app!

When you are viewing a vehicle, you see it's images and text underneath that, ie Vehicle Image(0). If you click on the text it will open the image with the ability to read/add comments on that image.

Here is the post on dealing with the extra field when adding a vehicle
https://vborg.vbsupport.ru/showpost....&postcount=554

I created a few widgets for the CMS but they're available for pro version only

glad you like the script :)

markis13446 08-27-2011 12:23 AM

Hi tried to leave a comment on a photo, but getting this error:

Invalid SQL:
SELECT COUNT(image_id) AS ImageCommCount FROM garage_image_comments WHERE image_id = '82' WHERE active = '1';

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 'WHERE active = '1'' at line 1
Error Number : 1064

maupz 08-27-2011 01:44 AM

Dylan, We really appreciate this app it works wonderfull

Just one quick question

How do I do to center the app, my forum has a center frame just like this forum but when i access the garage everything appears on left side!!!

THANKS IN ADVANCE!!!!!!

maupz 08-27-2011 01:44 AM

And how do I remove or move to another part of the forum the Random garage in the main screen

maupz 08-27-2011 07:29 PM

We are working in the Spanish Language, when We Finish, I will send the mod to the Developer!

And please if someone could help us with my questions I will really appreciate this!

Regards

Dylanblitz 08-28-2011 05:36 AM

Quote:

Originally Posted by markis13446 (Post 2238539)
Hi tried to leave a comment on a photo, but getting this error:

Invalid SQL:
SELECT COUNT(image_id) AS ImageCommCount FROM garage_image_comments WHERE image_id = '82' WHERE active = '1';

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 'WHERE active = '1'' at line 1
Error Number : 1064

Open includes/garage_func_var.php
Find
PHP Code:

$img_comm_cnt_query $vbulletin->db->query_read("SELECT COUNT(image_id) AS ImageCommCount FROM " TABLE_PREFIX "garage_image_comments WHERE image_id = '$data[id]' WHERE active = '1'"); 

replace with

PHP Code:

$img_comm_cnt_query $vbulletin->db->query_read("SELECT COUNT(image_id) AS ImageCommCount FROM " TABLE_PREFIX "garage_image_comments WHERE image_id = '$data[id]' && active = '1'"); 


Dylanblitz 08-28-2011 05:42 AM

Quote:

Originally Posted by maupz (Post 2238562)
Dylan, We really appreciate this app it works wonderfull

Just one quick question

How do I do to center the app, my forum has a center frame just like this forum but when i access the garage everything appears on left side!!!

THANKS IN ADVANCE!!!!!!

I would play with the garage_css template. You should be able to center it in there.
Maybe at the bottom where it has body change it to.

PHP Code:

body {
    
width:{vb:stylevar doc_width};
    
min-width:{vb:stylevar doc_minWidth};
    
max-width:{vb:stylevar doc_maxWidth};
    
margin: {vb:stylevar doc_margin};
    
font-size:{vb:stylevar font.fontSize}px;
    
color:{vb:stylevar body_color};
    
line-height:{vb:stylevar line_height};
    
text-aligncenter;


Quote:

Originally Posted by maupz (Post 2238563)
And how do I remove or move to another part of the forum the Random garage in the main screen

It isn't designed to go anywhere else. It's a forumhome block.

thebucky84 08-28-2011 05:56 AM

Quote:

Originally Posted by Dylanblitz (Post 2237784)
I'll have to update a good chunk of code to add that.

I'll check the vehicle count calculation.

Just wondering if you have taken a look yet. Also the models don't count either. There are 2 WRX's and the count has (1)

also "admin" account gets all the notifications about trim requests and all. How do i change the "admin" value to another username?

thanks

Dylanblitz 08-28-2011 06:29 AM

Quote:

Originally Posted by thebucky84 (Post 2239038)
Just wondering if you have taken a look yet. Also the models don't count either. There are 2 WRX's and the count has (1)

also "admin" account gets all the notifications about trim requests and all. How do i change the "admin" value to another username?

thanks

Try running the rebuild counts in the ACP maintenance section and let me know if it fixes it.
The notification user(s) are set in the Garage Notifications Settings area. The field is called Users to Notify

thebucky84 08-28-2011 07:36 AM

Got it thanks! As for the vehicle count i wont know if it works until a new vehicle joins. I updated my sql so thats why i wont know if it worked. I will let you know though.

edit: the recount works, guess i have to do it every time a vehicle is added though. appreciate the help!

maupz 08-30-2011 03:57 AM

Quote:

Originally Posted by Dylanblitz (Post 2239028)
I would play with the garage_css template. You should be able to center it in there.
Maybe at the bottom where it has body change it to.

PHP Code:

body {
    
width:{vb:stylevar doc_width};
    
min-width:{vb:stylevar doc_minWidth};
    
max-width:{vb:stylevar doc_maxWidth};
    
margin: {vb:stylevar doc_margin};
    
font-size:{vb:stylevar font.fontSize}px;
    
color:{vb:stylevar body_color};
    
line-height:{vb:stylevar line_height};
    
text-aligncenter;



It isn't designed to go anywhere else. It's a forumhome block.

Thanks but the issue persist!

The whole forum body is center like this vbuletin.org forum but when I open the garage everythign appears to the left.

On the other hand, I'm almost finishing the spanish translation if you are interested in include in your downloads.

Regards

thebucky84 08-31-2011 04:42 AM

Is there a fix so every time someone adds a vehicle I don't have to go into the Admincp and reset vehicle and trim count?

Dylanblitz 08-31-2011 05:04 PM

Quote:

Originally Posted by thebucky84 (Post 2240289)
Is there a fix so every time someone adds a vehicle I don't have to go into the Admincp and reset vehicle and trim count?

Not yet, I can't figure out where the problem is on it, the code looks right. You could turn that block off if you want for now until I get it worked out.

Dylanblitz 08-31-2011 05:06 PM

Quote:

Originally Posted by maupz (Post 2239765)
Thanks but the issue persist!

The whole forum body is center like this vbuletin.org forum but when I open the garage everythign appears to the left.

On the other hand, I'm almost finishing the spanish translation if you are interested in include in your downloads.

Regards

Did you download the style from here? It sounds like it's a style issue. The default style will have it centered without having to add anything. I'd like to get ahold of the style to try and figure it out, hard to troubleshoot the problem if I can play with it heh.

markis13446 09-03-2011 02:29 PM

Thanks for all the support Dylanblitz,

Two other issues:

- The timeslips on the Garage mainpage is not showing ascending. It looks like its grabbing the middlge of the pack. I tried adjusting settings with no luck.
- Some vehicles cant be rated, why is this? Some have ratings, but now can longer be rated.

zeus_r6 09-03-2011 10:09 PM

Did a fix ever come up with skewing the display of subforums when enabling the random garage images in IE?

g00gl3r 09-04-2011 03:55 PM

Dylanblitz,

Firstly what a brilliant mod. Rated Excellent and nominated for MOTM for you.

I've installed it all, but I have VBSEO running and it appears when I add the htaccess code, and turn on the SE friendly URL's, I get "page not found".

Does it conflict with VBSEO? I can't seem to find anything after a quick search in this thread.

sekel 09-08-2011 03:13 PM

Hi, I love this add-on. One question though, is it possible that when a user clicks on a username, it links to their profile instead of the cars in their garage? Thanks in advance.

trophyrider 09-11-2011 02:48 AM

I keep getting this database error when deleting a vehicle from the garage. I also get a similar error emailed to me when someone adds a vehicle to the garage. Any ideas?

Database error in vBulletin 4.1.5:

Invalid SQL:
UPDATE vb_userfield SET field43 = '
<div class=\"imlinks\">
<div class=\"popupmenu vehicleaction\">
<a class=\"popupctrl\" href=\"#\"><strong>Motorcycles</strong></a>
<ul class=\"popupbody popuphover vehicleaction_body\">

<li class=\"left\"><a href=\"http://www.sporttouring.us/garage_vehicle.php?do=view_vehicle&amp;id=251\"><i mg src=\"images/garage/attach/7/0/6/garage_vehicle-251-13125381311_thumb.jpg\" alt=\"View Motorcycle\" width=\"75\" border=\"0\" />2011 Ducati MultiStrada S Touring</a></li>

</ul>
</div>
</div><br />

' WHERE userid = '706';

MySQL Error : Unknown column 'field43' in 'field list'
Error Number : 1054
Request Date : Saturday, September 10th 2011 @ 10:43:11 PM
Error Date : Saturday, September 10th 2011 @ 10:43:12 PM
Script : http://www.sporttouring.us/garage_ve...vehicle&id=250
Referrer : http://www.sporttouring.us/garage_ve...vehicle&id=250
IP Address : 50.41.141.155
Username : VersysRider
Classname : vB_Database
MySQL Version : 5.0.92-community

Dylanblitz 09-14-2011 05:13 PM

Sorry, been a busy couple of weeks with kids, vacation and inlaws in town.
Quote:

Originally Posted by markis13446 (Post 2241545)
Thanks for all the support Dylanblitz,

Two other issues:

- The timeslips on the Garage mainpage is not showing ascending. It looks like its grabbing the middlge of the pack. I tried adjusting settings with no luck.
- Some vehicles cant be rated, why is this? Some have ratings, but now can longer be rated.

You should be able to adjust the asc/desc in the ACP. Let me know if you've done that and it doesn't work. I haven't heard of that being a problem anywhere else.
Vehicles can only be rated once by a user. Have you rated those vehicles or not seeing the ability to rate on something you haven't rated?

Quote:

Originally Posted by zeus_r6 (Post 2241662)
Did a fix ever come up with skewing the display of subforums when enabling the random garage images in IE?

I can't replicate the problem, I'm not sure what's causing it :(

Quote:

Originally Posted by g00gl3r (Post 2241890)
Dylanblitz,

Firstly what a brilliant mod. Rated Excellent and nominated for MOTM for you.

I've installed it all, but I have VBSEO running and it appears when I add the htaccess code, and turn on the SE friendly URL's, I get "page not found".

Does it conflict with VBSEO? I can't seem to find anything after a quick search in this thread.

Yes, vBSEO takes over all friendly URL's on the forum. You need to either create custom vBSEO rules and not use mine or disable the garage from vBSEO in the htaccess file. It's a bit tricky to disable it as you have to plan out your naming, but I've had it work on 3 of the 4 I tried. The 4th would not turn of vBSEO on the garage for some reason I couldn't figure out.

Quote:

Originally Posted by sekel (Post 2243419)
Hi, I love this add-on. One question though, is it possible that when a user clicks on a username, it links to their profile instead of the cars in their garage? Thanks in advance.

You could change it. You would need to open includes/garage_func_var.php and find
Code:

$user_link = $vbulletin->options[garage_url_path] . 'garage.php?do=user_garage_view&id=' . $user_id;
to change it.

Quote:

Originally Posted by trophyrider (Post 2244476)
I keep getting this database error when deleting a vehicle from the garage. I also get a similar error emailed to me when someone adds a vehicle to the garage. Any ideas?

Database error in vBulletin 4.1.5:

Invalid SQL:
UPDATE vb_userfield SET field43 = '
<div class=\"imlinks\">
<div class=\"popupmenu vehicleaction\">
<a class=\"popupctrl\" href=\"#\"><strong>Motorcycles</strong></a>
<ul class=\"popupbody popuphover vehicleaction_body\">

<li class=\"left\"><a href=\"http://www.sporttouring.us/garage_vehicle.php?do=view_vehicle&amp;id=251\"><i mg src=\"images/garage/attach/7/0/6/garage_vehicle-251-13125381311_thumb.jpg\" alt=\"View Motorcycle\" width=\"75\" border=\"0\" />2011 Ducati MultiStrada S Touring</a></li>

</ul>
</div>
</div><br />

' WHERE userid = '706';

MySQL Error : Unknown column 'field43' in 'field list'
Error Number : 1054
Request Date : Saturday, September 10th 2011 @ 10:43:11 PM
Error Date : Saturday, September 10th 2011 @ 10:43:12 PM
Script : http://www.sporttouring.us/garage_ve...vehicle&id=250
Referrer : http://www.sporttouring.us/garage_ve...vehicle&id=250
IP Address : 50.41.141.155
Username : VersysRider
Classname : vB_Database
MySQL Version : 5.0.92-community

It looks like the custom user field isn't there for the postbit dropdown. You could create it pretty easily if you have mysql access or you could remove the code to write to it. Unfortunately it's hard coded to that field so you can't just create a new one.

sekel 09-19-2011 09:47 AM

Quote:

Originally Posted by Dylanblitz (Post 2245976)
You could change it. You would need to open includes/garage_func_var.php and find
Code:

$user_link = $vbulletin->options[garage_url_path] . 'garage.php?do=user_garage_view&id=' . $user_id;
to change it.

Thanks for the response. Unfortunately, I'm not too good with coding, what would i need to replace that line with? Thanks in advance!

Dylanblitz 09-21-2011 10:09 AM

Quote:

Originally Posted by sekel (Post 2247794)
Thanks for the response. Unfortunately, I'm not too good with coding, what would i need to replace that line with? Thanks in advance!

Change it to

Code:

$user_link = 'member.php?u=' . $user_id;
That should work


All times are GMT. The time now is 04:25 PM.

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.02274 seconds
  • Memory Usage 1,899KB
  • 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
  • (3)bbcode_code_printable
  • (10)bbcode_php_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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