View Full Version : Add-On Releases - VB Pro Garage Timeslips
Trumpetrhapsody
02-16-2011, 08:27 PM
On my forum when you put that gallery block on the main forum homepage set to "under who's online" it wedges it between Today's Events and Forum Statistics. Would be nice to be all the way under in it's own block.
Also would be good to touch up the looks of when you have it showing "All vehicles" in the postbit, I think they're a bit far apart, maybe need some sort of <HR> above them to separate from the rest of the info, maybe a header title or something?
EDIT: Somehow updating to this latest version has messed up something in my vb user profiles, some code is showing haha. Oh and I'm still getting 500 server errors trying to upload images, and it's very buggy in IE8.
Dylanblitz
02-17-2011, 04:09 PM
On my forum when you put that gallery block on the main forum homepage set to "under who's online" it wedges it between Today's Events and Forum Statistics. Would be nice to be all the way under in it's own block.
Also would be good to touch up the looks of when you have it showing "All vehicles" in the postbit, I think they're a bit far apart, maybe need some sort of <HR> above them to separate from the rest of the info, maybe a header title or something?
EDIT: Somehow updating to this latest version has messed up something in my vb user profiles, some code is showing haha. Oh and I'm still getting 500 server errors trying to upload images, and it's very buggy in IE8.
The WGO box doesn't have a template hook underneath it unfortunately. I'll see if I can get it into the ad location down there in the next version.
If you have an option to display all vehicles in the postbit then it's not OOB code. That was developed by a user. I incorporated it into the core product but it works differently now.
What kind of code is showing in the user profile? It's probably the new postbit data. It's stored in a custom profile field, but it's only visible to the admin.
With the image error, does it show you any code errors or just a 500 page?
Trumpetrhapsody
02-17-2011, 04:15 PM
My mistake, that was a mod for the garage, I've disabled it for now but the code in the profile, and breaking of the PM system remains.
This shows in some user profiles:
About FlatBlack
<div class="imlinks">
<div class="popupmenu vehicleaction">
<a class="popupctrl" href="#"><strong>Vehicles</strong></a>
<ul class="popupbody popuphover vehicleaction_body">
<li class="left"><a href="http://www.nwamotorsports.net/garage_vehicle.
And I get a 500 Internal Server error when viewing PM's and trying to upload an image. No code errors, just the page:
0
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, cgiadmin@yourhostingaccount.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
With "500 Internal Server Error" in the tab.
EDIT: Fixed the PM issue by fully uninstalling that modification (was Bzopi's). Now just the image upload issue is the last crippling problem.
And yeah it seems like the:
{vb:raw template_hook.forumhome_wgo_pos5} or {vb:raw ad_location.board_below_whats_going_on}
Hooks would've worked better. Guess i'll just move it manually for now if I can, just looks wonky.
Dylanblitz
02-17-2011, 05:06 PM
My mistake, that was a mod for the garage, I've disabled it for now but the code in the profile, and breaking of the PM system remains.
This shows in some user profiles:
And I get a 500 Internal Server error when viewing PM's and trying to upload an image. No code errors, just the page:
With "500 Internal Server Error" in the tab.
EDIT: Fixed the PM issue by fully uninstalling that modification (was Bzopi's). Now just the image upload issue is the last crippling problem.
And yeah it seems like the:
{vb:raw template_hook.forumhome_wgo_pos5} or {vb:raw ad_location.board_below_whats_going_on}
Hooks would've worked better. Guess i'll just move it manually for now if I can, just looks wonky.
Could you pm me a temp account that has access to create vehicles? I'll see if I can find out the problem.
The pos5 hook is still part of the block. I'll try and attach to the below_whats_going_on later, it would be the best bet since it's outside of the WGO box but it's not a hook so you can't just attach to it unfortunately.
bszopi's addon hasn't been updated in a while since I incorporated it, there was probably some conflict between the addon and changed code in the garage. Glad that's worked out though :)
Trumpetrhapsody
02-17-2011, 05:11 PM
Actually it's still giving issues, that one user has that code back again, and now his postbit even shows this:
<div class="imlinks"> <div class="popupmenu vehicleaction"> <a class="popupctrl" href="#"><strong>Vehicles</strong></a> <ul class="popupbody popuphover vehicleaction_body"> <li class="left"><a href="http://www.nwamotorsports.net/garage_vehicle.
I'll PM you an account. Thanks!
EDIT: Fixed that user's postbit and profile issue by using the garage's "rebuild postbit" feature. Must have been a conflict between your new system and bzopi's old one. Now just the image uploading issue remains!
DoubleEdit:
I fixed the position of the forumhome gallery bar, thusly:
Edit your ForumHome template, find and move {vb:raw template_hook.forumhome_wgo_pos5} Two </div>'s down.
Then open up the product xml (vb_pro_garage), find template_hook.forumhome_wgo_pos3 and change the 3 to a 5.
Now re-import the product xml you just edited.
As far as I know nothing is using the 5 position, so it should be fine. Works and looks great on my board (could use a little padding underneath though). This should work till Dylan gets it fixed properly in the next release.
Trumpetrhapsody
02-18-2011, 04:31 PM
Image issue resolved! My PHP memory limit was set to 8MB, increased it to 64MB and now everything is working like it should.
One style problem i'm still having though, in the forumHome gallery bar if you have a really wide pic it'll shove everything off the screen to the right. Looks like it needs a width constraint along with the height limit.
venom2124
02-24-2011, 09:55 PM
Okay keep getting the following message
Warning: getimagesize() [function.getimagesize]: Filename cannot be empty in [path]/includes/garage_func_var.php on line 2797]
I'm also getting an error that my picture ,which is JPG format, Not a supported image type (jpg, gif, png).
Would like to see if we can resolve the issue.
Dylan,
How can you edit colors?
I have been trying to edit the colors when viewing garage.php. My forum has a black background and white text. I read one of your posts and you said to edit .alt1 and .alt2 in garage_css, I did that and saved the CSS, but it did not change anything when viewing the website.
What am I missing??
Thanks!!
Also need to edit the background of the "slideshow" area on garage.php
Dylanblitz
02-26-2011, 10:30 AM
Dylan,
How can you edit colors?
I have been trying to edit the colors when viewing garage.php. My forum has a black background and white text. I read one of your posts and you said to edit .alt1 and .alt2 in garage_css, I did that and saved the CSS, but it did not change anything when viewing the website.
What am I missing??
Thanks!!
Also need to edit the background of the "slideshow" area on garage.php
Are you sure you edited the template in the right style? It should match the style of the forum. PM me a link and I'll take a look. If the garage requires an account to view it send me one with access as well :)
Dylanblitz
02-26-2011, 10:33 AM
Okay keep getting the following message
Warning: getimagesize() [function.getimagesize]: Filename cannot be empty in [path]/includes/garage_func_var.php on line 2797]I'm also getting an error that my picture ,which is JPG format, Not a supported image type (jpg, gif, png).
Would like to see if we can resolve the issue.
Is this on one specific jpg or any jpg you try and upload? It looks like I see a bunch of vehicles with images on your site so I'm not sure.
deadbolt80
03-02-2011, 07:16 AM
Hey Dylan,
Long time no talk. I recently updated to 4.1.2 vB and the garage is not working at all. I remember you helped me install it, and i'm not sure where to begin or how you did it...
Any tips would be appreciated. I already uploaded the .xml file for your latest version in my products section.. but I think somewhere in my database transfer to the new server, the language .xml isn't uploaded and it won't let me upload it.
PM me please so we can figure this out.
Thanks for everything.
venom2124
03-03-2011, 12:09 AM
Is this on one specific jpg or any jpg you try and upload? It looks like I see a bunch of vehicles with images on your site so I'm not sure.
I think it was one specific picture I was trying to upload. It wasn't on my site it was on another site that I'm working as an admin on. I was able to upload the same picture from a different site.
Dylanblitz
03-05-2011, 06:30 PM
Hey Dylan,
Long time no talk. I recently updated to 4.1.2 vB and the garage is not working at all. I remember you helped me install it, and i'm not sure where to begin or how you did it...
Any tips would be appreciated. I already uploaded the .xml file for your latest version in my products section.. but I think somewhere in my database transfer to the new server, the language .xml isn't uploaded and it won't let me upload it.
PM me please so we can figure this out.
Thanks for everything.
Did you install the language file through the language area?
http://www.vbprogarage.com/forums/docs/html_vb4_300/index.html?installation_script2.htm
Make sure you install it like the images in the instructions. If it doesn't work you can pm me with a temp admin account and I'll work on it.
Are you sure you edited the template in the right style? It should match the style of the forum. PM me a link and I'll take a look. If the garage requires an account to view it send me one with access as well :)
I tweaked the style a little bit, removed some {vb:stylevar} code and used this to get what I want.
.alt1, .alt1Active
{
background: #242424;
color: #FFFFFF;
padding: 5px;
}
.alt2, .alt2Active
{
background: #141414;
color: #FFFFFF;
padding: 5px;
}
html {
background: #000000;
}
Feature request.
Dylanblitz,
I like the feature that creates a thread for new vehicles. I also like that you can edit the thread subject and body. BUT, Can you make it so you can use things like {username} and {vehicle} in the subject as well as the body?
I have a thread just for new vehicles, and all I see on the page is thread after thread of the same thing. "A new vehicle has been created in the garage!" I want it to be more specific! Like
"John has added a Corvette to his garage!"
Can you make this change in the next release? Or post how to make the changes to do that?
Thanks!!!
Dylanblitz
03-16-2011, 07:19 AM
Feature request.
Dylanblitz,
I like the feature that creates a thread for new vehicles. I also like that you can edit the thread subject and body. BUT, Can you make it so you can use things like {username} and {vehicle} in the subject as well as the body?
I have a thread just for new vehicles, and all I see on the page is thread after thread of the same thing. "A new vehicle has been created in the garage!" I want it to be more specific! Like
"John has added a Corvette to his garage!"
Can you make this change in the next release? Or post how to make the changes to do that?
Thanks!!!
I can add it with the next release. If you want to do it for now, change the text in the subject to have the {username} and {vehicle} and then
open includes/garage_func_var.php
Find
$pagetext = str_replace('{vehicle}', $full_veh_link, $pagetext);After add
$title = str_replace('{username}', $new_veh_user['username'], $title);
$title = str_replace('{vehicle}', $veh_name, $title);That will show the username and the full vehicle name in the subject. If you want to just display part of the vehicle name you will need to write some code in there to select just the part you want.
Club XJ
03-16-2011, 10:15 AM
Installed on 4.1.2 in less than 10 minutes. So far so good.
I can add it with the next release. If you want to do it for now, change the text in the subject to have the {username} and {vehicle} and then
open includes/garage_func_var.php
Find
After add
That will show the username and the full vehicle name in the subject. If you want to just display part of the vehicle name you will need to write some code in there to select just the part you want.
Thanks! That works perfectly now! Now instead of seeing a page full of threads all with the same boring name over and over, we can easily take a glance at the page and see WHO added WHAT to the garage, and view the ones that spark our interest!
Thanks again!
Well after looking it over, it works but doesn't.
It does show the name and vehicle in the subject title, but, the thread body text is using the same text as the thread subject.
In my admin, I have
title: {username} added their {vehicle} to the garage!
body: {username} has created a new vehicle in the garage. Go check out their {vehicle}!
But the thread shows up as:
title - brian added their 2011 BMW M3 to the garage!
body - brian added their 2011 BMW M3 to the garage!
Dylanblitz
03-16-2011, 03:41 PM
Well after looking it over, it works but doesn't.
It does show the name and vehicle in the subject title, but, the thread body text is using the same text as the thread subject.
In my admin, I have
title: {username} added their {vehicle} to the garage!
body: {username} has created a new vehicle in the garage. Go check out their {vehicle}!
But the thread shows up as:
title - brian added their 2011 BMW M3 to the garage!
body - brian added their 2011 BMW M3 to the garage!
Hmm, does the code look like this now? I just tried it in my dev and it works
$pagetext = str_replace('{username}', $full_user_link, $vbulletin->options[garage_post_text]);
$pagetext = str_replace('{vehicle}', $full_veh_link, $pagetext);
$title = str_replace('{username}', $new_veh_user['username'], $title);
$title = str_replace('{vehicle}', $veh_name, $title);
$threaddm->set_info('forum', $foruminfo);
Whoops, I had an error from me playing with it before hand.
Reloaded the original garage_func_var.php and added the code above and it works as intended!
Thanks!
southeastminis
03-16-2011, 10:43 PM
I keep getting the following error message when trying to upload a picture to the garage.
Warning: mkdir() [function.mkdir]: Permission denied in [path]\includes\garage_func_var.php on line 2744
Warning: move_uploaded_file(images/garage/attach/1/garage_vehicle-3-13003189071_full.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]\includes\garage_func_var.php on line 2821
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\Temp\php\php5A27.tmp' to 'images/garage/attach/1/garage_vehicle-3-13003189071_full.jpg' in [path]\includes\garage_func_var.php on line 2821
any help would be appreciated@!
southeastminis
03-16-2011, 11:17 PM
Forgot to put that I tried to change the permissions to 777, but got the following error message with my FTP.
Response: 500 'SITE CHMOD 777 attach': command not understood
Club XJ
03-20-2011, 07:05 PM
Found one issue. I'm not sure if its been discussed before or not. When you're on the main garage page the facebook connect icon does not show up. When you are connected with facebook as normal its also not there.
Dylanblitz
03-24-2011, 12:36 AM
Found one issue. I'm not sure if its been discussed before or not. When you're on the main garage page the facebook connect icon does not show up. When you are connected with facebook as normal its also not there.
If you edit the template garage_main and change the top to be the following it should show it after that.
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
Dylanblitz
03-24-2011, 12:37 AM
Forgot to put that I tried to change the permissions to 777, but got the following error message with my FTP.
Response: 500 'SITE CHMOD 777 attach': command not understood
I'm not sure what would cause that. You could see if you have a file manager in your domain control panel. Most of them allow you to set permissions there as well. Just make sure you are setting the permissions on the right folder. images/garage/attach
zeus_r6
03-27-2011, 08:53 PM
Any idea what's causing this when I try to post a comment on a vehicle image?
Database error in vBulletin 4.1.2:
Invalid SQL:
SELECT COUNT(image_id) AS ImageCommCount FROM garage_image_comments WHERE image_id = '33' 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
Request Date : Sunday, March 27th 2011 @ 04:50:40 PM
Error Date : Sunday, March 27th 2011 @ 04:50:40 PM
Script : http://www.xxxxxx.com/forums/garage_comments.php
Referrer : http://www.xxxxx.com/forums/garage-image-comments-33.html
IP Address : xx.xxxx.10.30
Username : xxxxxx
Classname : vB_Database
MySQL Version : 5.1.52
Dylanblitz
03-28-2011, 05:15 AM
Open includes/garage_func_var.php
Find
$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
$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'");Any idea what's causing this when I try to post a comment on a vehicle image?
Database error in vBulletin 4.1.2:
Invalid SQL:
SELECT COUNT(image_id) AS ImageCommCount FROM garage_image_comments WHERE image_id = '33' 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
Request Date : Sunday, March 27th 2011 @ 04:50:40 PM
Error Date : Sunday, March 27th 2011 @ 04:50:40 PM
Script : http://www.xxxxxx.com/forums/garage_comments.php
Referrer : http://www.xxxxx.com/forums/garage-image-comments-33.html
IP Address : xx.xxxx.10.30
Username : xxxxxx
Classname : vB_Database
MySQL Version : 5.1.52
Club XJ
03-28-2011, 09:30 AM
If you edit the template garage_main and change the top to be the following it should show it after that.
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
That didn't change it.
zeus_r6
03-28-2011, 12:22 PM
Open includes/garage_func_var.php
Find
$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
$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'");
That got rid of the database error, thank you...what it does now is shows the vbulletin message "could not find the phrase 'addedgb'" and I notice none of the comments show up in the latest comments block on the garage home...it says "no listings in the database at this time"
zeus_r6
03-30-2011, 12:37 AM
When the random garage images on forumhome is enabled it does this to my forums/subforums....any idea what's going on ?
Dylanblitz
03-30-2011, 03:49 AM
When the random garage images on forumhome is enabled it does this to my forums/subforums....any idea what's going on ?
Hmm, not sure. If you want you can pm me a link to your site and I'll take a look.
Derekclarke
03-30-2011, 10:16 PM
Hi,
I have just installed this and get an error within the configuration page, it leaves a load of balnk options.
I have taken a cople of screen shots, I uninstalled the garage and this corrects the issue, but i want to get this up and running asap.
can u help me out please?
http://www.ultimate-cruisin.co.uk/images/garage.jpg
http://www.ultimate-cruisin.co.uk/images/garage2.jpg
Dylanblitz
04-04-2011, 08:59 AM
Hi,
I have just installed this and get an error within the configuration page, it leaves a load of balnk options.
I have taken a cople of screen shots, I uninstalled the garage and this corrects the issue, but i want to get this up and running asap.
can u help me out please?
http://www.ultimate-cruisin.co.uk/images/garage.jpg
http://www.ultimate-cruisin.co.uk/images/garage2.jpg
Check out the instructions, it looks like you didn't install the language file.
http://www.vbprogarage.com/forums/docs/html_vb4_300/index.html?installation_script.htm
Dylanblitz
04-04-2011, 09:15 AM
When the random garage images on forumhome is enabled it does this to my forums/subforums....any idea what's going on ?
That is weird. Works fine in firefox but it does it in IE. I'll check the code on my dev box, you can turn the random images off for now if you want.
zeus_r6
04-05-2011, 01:09 AM
That is weird. Works fine in firefox but it does it in IE. I'll check the code on my dev box, you can turn the random images off for now if you want.
The random images are the only thing that gets people in the garage :)
hopefully it's something simple
Dylanblitz
04-05-2011, 04:46 AM
The random images are the only thing that gets people in the garage :)
hopefully it's something simple
Do you use the sub forum manager or something else to modify how the forums are layed out? I want to replicate as much as I can to try and track it down.
zeus_r6
04-05-2011, 01:16 PM
Yes I'm using the sub-forum manager :)
RMonster
04-06-2011, 02:28 AM
Hi i've installed this mod and imported my phpbb cars and images successfully, however i'm having a problem.
So far users are unable to add new vehicles as the "model" dropdown box has nothing in it but a ---. Trim seems blank also.
The funny thing is when you edit and imported car all the model information is there.
I did run restructure and the other update counters but that didnt help.
Can you tell me how to fix this? my club loves this mod.
[edit]
Nevermind i got it sorted out :)
theoutlawed
04-19-2011, 07:06 PM
For anyone on the fence from the free version to the pro version I just wanted to take a minute and let you all know that Dylan's level of support redefines the word exceptional.
I had some big issues when moving servers. It wasn't related to the software itself, but a corruption that unfortunately hit the block of mysql data the garage was in. Dylan busted his ass helping me out countless nights figuring out record by record what happened and how to correct it and we now have a fixed and saved Garage. Sure, mine wasn't a 5,000 car garage, it has a couple hundred vehicles in it maybe. But you wouldn't know it from the support I received. I was treated like I'm the be all end all of car sites and that kind of support we all know as forum admins and owners is few and far between.
So thanks Dylan, I know you have no clue I'm posting this but you deserve the standing O for all the hard work, dedication, and quality support you give this product. I'll PM you a link now to put a smile on the end of a work day.
-Steve
Dylanblitz
04-20-2011, 02:48 AM
Thanks for the kind words, it's not necessary but very appreciated :)
Kolbi
04-20-2011, 05:27 AM
Nice story :)
This improves my mind to migrate from DTO Garage to Dylans Garage tool ;)
indreksi
04-20-2011, 05:21 PM
Hi,
I have some problems with template. And i dont find a solution.
Can someone help me please?
Dylanblitz
04-20-2011, 09:30 PM
Hi,
I have some problems with template. And i dont find a solution.
Can someone help me please?
Do you have a fixed width style?
indreksi
04-21-2011, 07:03 AM
Edit:
Never mind. The problem is fixed ;) .
josephu
04-27-2011, 03:26 AM
Installed and was working, not sure exactly what changed, but now registered logged on users cant even see the "garage" tab, let alone access it, Ive checked all the permissions and everything seems ok, I dont understand why users cant see the "garage: can anyone help?
Dylanblitz
04-27-2011, 02:13 PM
Installed and was working, not sure exactly what changed, but now registered logged on users cant even see the "garage" tab, let alone access it, Ive checked all the permissions and everything seems ok, I dont understand why users cant see the "garage: can anyone help?
Look at the garage general settings tab, does it say that the nav button is admin only?
upperme
05-01-2011, 02:30 AM
I am getting this error when trying to add or delete vehicles in VB Pro Garage Timeslips 3.0.8/vB 4.1.3.
Any ideas?
Thanks...
Database error in vBulletin 4.1.3:
Invalid SQL:
UPDATE vb_userfield SET field43 = '
<div class=\"imlinks\">
<div class=\"popupmenu vehicleaction\">
<a class=\"popupctrl\" href=\"#\"><strong>Vehicles</strong></a>
<ul class=\"popupbody popuphover vehicleaction_body\">
<li class=\"left\"><a href=\"http://mysite.com/forums/garage_vehicle.php?do=view_vehicle&id=1\"><img src=\"images/garage/attach/1/garage_vehicle-1-12989045212_thumb.jpg\" alt=\"View Vehicle\" width=\"75\" border=\"0\" />2006 FORD MUSTANG GT</a></li>
<li class=\"left\"><a href=\"http://mysite.com/forums/garage_vehicle.php?do=view_vehicle&id=2\"><img src=\"images/garage/attach/1/garage_vehicle-2-12985866481_thumb.jpg\" alt=\"View Vehicle\" width=\"75\" border=\"0\" />2006 FORD F-150</a></li>
<li class=\"left\"><a href=\"http://mysite.com/forums/garage_vehicle.php?do=view_vehicle&id=11\"><img src=\"images/garage/attach/1/garage_vehicle-11-12986425962_thumb.jpg\" alt=\"View Vehicle\" width=\"75\" border=\"0\" />2010 SEA RAY 185 Sport</a></li>
</ul>
</div>
</div><br />
' WHERE userid = '1';
MySQL Error : Unknown column 'field43' in 'field list'
Error Number : 1054
Request Date : Saturday, April 30th 2011 @ 11:24:51 PM
Error Date : Saturday, April 30th 2011 @ 11:24:51 PM
Dylanblitz
05-01-2011, 04:53 AM
I am getting this error when trying to add or delete vehicles in VB Pro Garage Timeslips 3.0.8/vB 4.1.3.
Any ideas?
Thanks...
Database error in vBulletin 4.1.3:
Invalid SQL:
UPDATE vb_userfield SET field43 = '
<div class=\"imlinks\">
<div class=\"popupmenu vehicleaction\">
<a class=\"popupctrl\" href=\"#\"><strong>Vehicles</strong></a>
<ul class=\"popupbody popuphover vehicleaction_body\">
<li class=\"left\"><a href=\"http://mysite.com/forums/garage_vehicle.php?do=view_vehicle&id=1\"><img src=\"images/garage/attach/1/garage_vehicle-1-12989045212_thumb.jpg\" alt=\"View Vehicle\" width=\"75\" border=\"0\" />2006 FORD MUSTANG GT</a></li>
<li class=\"left\"><a href=\"http://mysite.com/forums/garage_vehicle.php?do=view_vehicle&id=2\"><img src=\"images/garage/attach/1/garage_vehicle-2-12985866481_thumb.jpg\" alt=\"View Vehicle\" width=\"75\" border=\"0\" />2006 FORD F-150</a></li>
<li class=\"left\"><a href=\"http://mysite.com/forums/garage_vehicle.php?do=view_vehicle&id=11\"><img src=\"images/garage/attach/1/garage_vehicle-11-12986425962_thumb.jpg\" alt=\"View Vehicle\" width=\"75\" border=\"0\" />2010 SEA RAY 185 Sport</a></li>
</ul>
</div>
</div><br />
' WHERE userid = '1';
MySQL Error : Unknown column 'field43' in 'field list'
Error Number : 1054
Request Date : Saturday, April 30th 2011 @ 11:24:51 PM
Error Date : Saturday, April 30th 2011 @ 11:24:51 PM
It looks like your custom user field isn't there anymore. There is a custom user field I use to store the postbit dropdown info.
Can you check your User Profile Field Manager in the ACP and see if it's there or not?
upperme
05-01-2011, 01:57 PM
It looks like all I have in User Profile Field Manager are:
Biography
Location
Interests
Occupation
Let's see if you are really a P3 fan
The last being an anti-spam hack I added quite some time ago. This problem may be related to the 4.1.3 upgrade?
Thanks for your quick reply,
Jim
It looks like your custom user field isn't there anymore. There is a custom user field I use to store the postbit dropdown info.
Can you check your User Profile Field Manager in the ACP and see if it's there or not?
Dylanblitz
05-01-2011, 04:45 PM
You can try to recreate it by reimporting the product file.
ACP->Plugins & Products->Manage Products
Select Edit next to the garage product entry
Up top where it says Version, change the value to 2.1.6 and save it
Reimport the xml file and it should recreate the field
upperme
05-02-2011, 12:33 AM
Dylan, you rock... that did the trick. Thanks a bunch, man!
Jim
You can try to recreate it by reimporting the product file.
ACP->Plugins & Products->Manage Products
Select Edit next to the garage product entry
Up top where it says Version, change the value to 2.1.6 and save it
Reimport the xml file and it should recreate the field
miszko
05-06-2011, 11:37 AM
Hi! Great mod! vB PRO Garage 3.0.8 + vb 4.1.3
When I want to add new vehicle, one field are empty.
Any ideas?
http://img823.imageshack.us/img823/9918/dontdisplay.png
Dylanblitz
05-06-2011, 05:29 PM
Hi! Great mod! vB PRO Garage 3.0.8 + vb 4.1.3
When I want to add new vehicle, one field are empty.
Any ideas?
Edit template garage_vehicle_edit
Find and delete
<tr>
<td><b>{vb:rawphrase garage_fuel_pref}</b>
</td>
<td>
<select id="fuel_preference" name="fuel_preference">
{vb:raw fuel_type_option}
</select>
</td>
</tr>
bad2dbone
05-06-2011, 05:53 PM
didn't work for my newer version of 4.1.3
Dylanblitz
05-06-2011, 06:36 PM
didn't work for my newer version of 4.1.3
What didn't work? My dev forum is 4.1.3 and it works fine
bad2dbone
05-06-2011, 07:59 PM
it said error after i uploaded the file and didn't let me access the site i had to delete i love the mod would be a great edition to my site so im curious on how to get it working kinda new to this but can ad plugins
Dylanblitz
05-06-2011, 08:24 PM
it said error after i uploaded the file and didn't let me access the site i had to delete i love the mod would be a great edition to my site so im curious on how to get it working kinda new to this but can ad plugins
Check out the documentation and see if you are doing something outside the norm
http://www.vbprogarage.com/forums/docs/html_vb4_ts_300/
bad2dbone
05-06-2011, 10:39 PM
Warning: require_once([path]/includes/garage_func_var.php) [function.require-once]: failed to open stream: No such file or directory in [path]/forum.php(80) : eval()'d code on line 4
Fatal error: require_once() [function.require]: Failed opening required '/home/content/11/7796811/html/includes/garage_func_var.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/11/7796811/html/forum.php(80) : eval()'d code on line 4
Dylanblitz
05-06-2011, 10:48 PM
It looks like you didn't upload all the files correctly. It's missing the includes/garage_func_var.php file
dmorales
05-09-2011, 12:55 AM
I enabled the Postbit Vehicle Dropdown Link but on some members i'm getting error messages and on some it works fine. I attach the screen shot. Any advice?
zeus_r6
05-09-2011, 01:06 AM
That is weird. Works fine in firefox but it does it in IE. I'll check the code on my dev box, you can turn the random images off for now if you want.
Did you ever happen to come up with a solution...my forum display is still skewed by this...
Dylanblitz
05-09-2011, 09:14 PM
I enabled the Postbit Vehicle Dropdown Link but on some members i'm getting error messages and on some it works fine. I attach the screen shot. Any advice?
On the plugin
Garage Postbit Vehicle Dropdown
Find the instances of
$post[field43]and replace with
unhtmlspecialchars($post[field43])
Dylanblitz
05-09-2011, 09:16 PM
Did you ever happen to come up with a solution...my forum display is still skewed by this...
I'm sorry, no, it's some conflict with the sub forum mod but I can't figure it out :(
rev-illusion
05-13-2011, 03:25 PM
I'd like to clear out all makes and models and put them back in again. Is there a quick and easy way to do this as half the models and makes don't apply on my forum?
rev-illusion
05-13-2011, 04:10 PM
Is there anyway to add some sort of template into the description box or alter the description box size at all?
dmorales
05-13-2011, 07:15 PM
On the plugin
Garage Postbit Vehicle Dropdown
Find the instances of
$post[field43]and replace with
unhtmlspecialchars($post[field43])
It didn't work for me. here is what i have....
global $vbulletin;
require_once(DIR . '/includes/garage_func_var.php');
if ($vbulletin->options['garage_pb_onoff'] && ((THIS_SCRIPT == 'showpost') || (THIS_SCRIPT == 'showthread')) && unhtmlspecialchars($post[field43]))
{
if ($vbulletin->options['legacypostbit'] == 1)
{
$template_hook['postbit_userinfo_right'] .= unhtmlspecialchars($post[field43]);
} else {
$template_hook['postbit_userinfo_left'] .= unhtmlspecialchars($post[field43]);
}
}
Dylanblitz
05-13-2011, 07:54 PM
I'd like to clear out all makes and models and put them back in again. Is there a quick and easy way to do this as half the models and makes don't apply on my forum?
If you have vehicles then clearing out the makes/models will remove their relationship in the garage.
If you don't have vehicles in there yet, you could modify the vehicle xml file and remove any makes that you don't want to use. When you import the vehicles file it truncates the make/model/trim tables so you will only have those makes you have left in the file.
Dylanblitz
05-13-2011, 07:55 PM
Is there anyway to add some sort of template into the description box or alter the description box size at all?
I'm not sure what you mean be adding a template to the description box?
If you want to edit the size of the box for when the user is editing/creating a vehicle you would change the description textarea in the garage_vehicle_edit template.
Dylanblitz
05-13-2011, 08:02 PM
It didn't work for me. here is what i have....
global $vbulletin;
require_once(DIR . '/includes/garage_func_var.php');
if ($vbulletin->options['garage_pb_onoff'] && ((THIS_SCRIPT == 'showpost') || (THIS_SCRIPT == 'showthread')) && unhtmlspecialchars($post[field43]))
{
if ($vbulletin->options['legacypostbit'] == 1)
{
$template_hook['postbit_userinfo_right'] .= unhtmlspecialchars($post[field43]);
} else {
$template_hook['postbit_userinfo_left'] .= unhtmlspecialchars($post[field43]);
}
}
I would need a temp admin account to check it out. That's what I have on my dev site and it's working for me.
zeus_r6
05-14-2011, 12:21 AM
I'm sorry, no, it's some conflict with the sub forum mod but I can't figure it out :(
I've disabled that mod and it's still rendering the site the same way..
bad2dbone
05-14-2011, 01:52 AM
i had trouble with the exact same mod maybe its something were doing
miszko
05-24-2011, 09:54 AM
When I add new car, field with price isn't correct displayed in car's view page. It's blank. But in database price is saved correct. Any clue?
Dylanblitz
05-25-2011, 04:38 AM
When I add new car, field with price isn't correct displayed in car's view page. It's blank. But in database price is saved correct. Any clue?
Can you send me a link so I can check it out?
miszko
05-26-2011, 05:13 AM
Check Your PM box.
Dylanblitz
05-26-2011, 06:46 PM
Check Your PM box.
If you open
includes/garage_func_var.php
At about line 7838 find
$templater->register('price', $price);and replace it with
$templater->register('price', $purch_price);See if that fixes the price display.
miszko
05-26-2011, 07:09 PM
Thanks! It's good now.
whitey92lx
05-27-2011, 03:42 PM
Why does my garage (http://www.westsidemustangs.com/garage.php) home not look like this?
https://vborg.vbsupport.ru/attachment.php?attachmentid=123186&d=1288225794
bad2dbone
05-27-2011, 04:41 PM
wow that looks great.........
Dylanblitz
05-27-2011, 07:50 PM
Why does my garage (http://www.westsidemustangs.com/garage.php) home not look like this?
https://vborg.vbsupport.ru/attachment.php?attachmentid=123186&d=1288225794
You have yours set to use the new categories and browse on the Garage General Settings tab. If you want the front page to show blocks you set it to old blocks. Or if you want a mix of both you can set it to new categories and blocks.
Also, if you use the blocks make sure you set the front block order on the left VB Pro Garage acp pane.
whitey92lx
05-27-2011, 08:26 PM
Thank you sir!
zeus_r6
06-10-2011, 04:49 PM
i had trouble with the exact same mod maybe its something were doing
Were you able to figure anything out? I can disable the garage and my forum home sub forums aren't skewed...anybody know what's causing this issue with the garage enabled?
Dylanblitz
06-11-2011, 05:46 PM
Were you able to figure anything out? I can disable the garage and my forum home sub forums aren't skewed...anybody know what's causing this issue with the garage enabled?
If you disable the forumhome images for the garage it should work ok and not mess with the subforums. It seems to be a conflict with the garage images on the forumhome and the style you are using. I'm not the best at styles and I haven't been able to figure out what that conflict is.
zeus_r6
06-11-2011, 08:34 PM
Without the forum home images, the garage wouldn't get used. This issue comes up using the default template as well..
Mark4865
06-13-2011, 08:48 AM
Anyone running this on 4.1.4
I want to upgrade and really like this mod so I want to ensure it will work first
whitey92lx
06-16-2011, 12:18 PM
for some reason, the link listed under the user names has been getting a little screwy.. I tried to rebuild vehicle postbit dropdowns and now they are all showing " %1$S " under their name instead of the previous "rides" that it was showing before.
whitey92lx
06-16-2011, 12:43 PM
It didn't work for me. here is what i have....
global $vbulletin;
require_once(DIR . '/includes/garage_func_var.php');
if ($vbulletin->options['garage_pb_onoff'] && ((THIS_SCRIPT == 'showpost') || (THIS_SCRIPT == 'showthread')) && unhtmlspecialchars($post[field43]))
{
if ($vbulletin->options['legacypostbit'] == 1)
{
$template_hook['postbit_userinfo_right'] .= unhtmlspecialchars($post[field43]);
} else {
$template_hook['postbit_userinfo_left'] .= unhtmlspecialchars($post[field43]);
}
}
I tried this also and still no change
Dylanblitz
06-17-2011, 05:43 AM
I tried this also and still no change
Try this
ACP->User Profile Fields->User Profile Field Manager
Click Edit for field43.
Set Max length of allowed user input to something higher like 5000
ACP->Plugins&Products->Add New Plugin
Product: VB Pro Garage
Hook Location: postbit_display_start
Title: Format Postbit vehicles
Plugin PHP Code:
$post[field43] = unhtmlspecialchars($post[field43]);Set to active
Then go to
ACP-> VB Pro Garage-> Management
Click Go on Rebuild Vehicle Postbit Dropdowns
That should fix it, let me know if it doesn't.
whitey92lx
06-17-2011, 12:38 PM
I think this would have fixed the issue before, but ever since I originally tried to rebuild vehicle postbit dropdowns, now they all say "%1$S" and they still do.
whitey92lx
06-20-2011, 12:39 PM
any idea what I should do next?
rfsforums
06-21-2011, 03:14 PM
I just installed and am getting the following error:
Parse error: syntax error, unexpected '<' in /home/*********/public_html/forum/includes/class_core.php(4090) : eval()'d code on line 132
any ideas?
Dylanblitz
06-22-2011, 04:22 AM
I just installed and am getting the following error:
Parse error: syntax error, unexpected '<' in /home/*********/public_html/forum/includes/class_core.php(4090) : eval()'d code on line 132
any ideas?
I'm not sure what would be causing that?
I would normally say it's a product error but since noone else has come up with that the only thing I can think of is it's conflicting with another addon.
rfsforums
06-23-2011, 11:10 AM
I've been testing this and I've been changing the phrases to better fit our use which is not automotive related. Do you or do you know someone who will take on paid work to further modify this to fit our needs?
I've looked at some paid packages and this seems to offer several more user features and it's free :)
daniel_pet
06-24-2011, 08:57 AM
Anyone running this on 4.1.4
I want to upgrade and really like this mod so I want to ensure it will work first
Yes on my test site.
Does not work for me.
There are many problems like, on add vehicle
Trim - after approval deleted from the database.
Description - There are two fields, the second does nothing and no description.
missing phrases in admin panel buttons - generation, and many others.
pity, I love the product and like to use it.
Dylanblitz
06-26-2011, 06:23 PM
Yes on my test site.
Does not work for me.
There are many problems like, on add vehicle
Trim - after approval deleted from the database.
Description - There are two fields, the second does nothing and no description.
missing phrases in admin panel buttons - generation, and many others.
pity, I love the product and like to use it.
The fields are in there by accident. You can edit the garage_vehicle_edit template to remove them.
Try reimporting the language file, all the phrases should be there.
Mark4865
07-08-2011, 09:59 AM
Hello Dylan,
Can you tell me exactly what code needs to removed in the template garage_vehicle_edit template please as I would like to remove these extra fields and dont want to remove anything critical. Would alslo like to remove the nickname field.
thanks in advance for the help
av8or1
07-09-2011, 02:14 AM
Dylan,
I looked for this in the thread to-date but the search didn't show anything. For our automotive forum we don't really need the timeslips and such, as these cars are hardly "performance" vehicles. However they are put in shows often, so we'd like to have a "show report" type of page instead.
Can I configure that within AdminCP or would it require a code modification? I'm thinking it's the latter, but thought I would check with you first.
Thanks!
Dylanblitz
07-09-2011, 07:59 AM
Hello Dylan,
Can you tell me exactly what code needs to removed in the template garage_vehicle_edit template please as I would like to remove these extra fields and dont want to remove anything critical. Would alslo like to remove the nickname field.
thanks in advance for the help
Open template garage_vehicle_edit
Find and delete
<tr>
<td><b>{vb:rawphrase garage_thead_nick}</b>
</td>
<td>
<input type="text" id="nickname" name="nickname" maxlength="70" size="45" value="{vb:raw my_vehicle_data[nickname]}">
</td>
</tr>Find and delete
<tr>
<td><b>{vb:rawphrase garage_fuel_pref}</b>
</td>
<td>
<select id="fuel_preference" name="fuel_preference">
{vb:raw fuel_type_option}
</select>
</td>
</tr>That will remove the nickname field and the blank field.
Dylanblitz
07-09-2011, 08:04 AM
Dylan,
I looked for this in the thread to-date but the search didn't show anything. For our automotive forum we don't really need the timeslips and such, as these cars are hardly "performance" vehicles. However they are put in shows often, so we'd like to have a "show report" type of page instead.
Can I configure that within AdminCP or would it require a code modification? I'm thinking it's the latter, but thought I would check with you first.
Thanks!
Yes you would need to modify the code for something like that. You could probably tweak the timeslips page to work as a show page. Depends on what kind of fields you want.
Mark4865
07-09-2011, 11:26 AM
thanks for support Dylan will do that
Mark4865
07-09-2011, 01:38 PM
hello Dylan worked perfectly thanks would also like to remove URL and 2nd description box.
Also if I change colour spelling will that effect anything
MotMann
07-10-2011, 12:26 PM
I need the german Phrases. Did you have these?
Thank's :-)
av8or1
07-10-2011, 02:46 PM
Yes you would need to modify the code for something like that. You could probably tweak the timeslips page to work as a show page. Depends on what kind of fields you want.
Ok thank you for the confirmation Dylan. I can make these modifications myself, but how do you feel about that? Is it ok for me to proceed? The intent is to modify it for our forum only. Should I offer the result back to you or something?
Thank you again for replying to my inquiry.
Jerry
Dylanblitz
07-10-2011, 05:28 PM
hello Dylan worked perfectly thanks would also like to remove URL and 2nd description box.
Also if I change colour spelling will that effect anything
To remove the url open that template and delete
<tr>
<td><b>{vb:rawphrase garage_txt_vehicle_url}</b>
</td>
<td><input type="text" name="vehicle_url" id="vehicle_url" maxlength="250" size="45" value="{vb:raw my_vehicle_data[vehicle_url]}">
</td>
</tr>
The second box is
<tr>
<td><b>{vb:rawphrase garage_thead_todolist}</b>
</td>
<td>
<textarea id="todo_list" name="todo_list" rows="8" cols="60">{vb:raw my_vehicle_data[todo_list]}</textarea>
</td>
</tr>
You can change colour by searching the phrases for garage_thead_color. It wont effect anything.
Dylanblitz
07-10-2011, 05:31 PM
Ok thank you for the confirmation Dylan. I can make these modifications myself, but how do you feel about that? Is it ok for me to proceed? The intent is to modify it for our forum only. Should I offer the result back to you or something?
Thank you again for replying to my inquiry.
Jerry
You can tweak it however you want, I don't mind. Most people tweak it some way or another.
Mark4865
07-11-2011, 07:01 AM
thanks Dylan, great support as always much appreciated
Mark4865
07-11-2011, 09:23 AM
worked perfectly thanks
av8or1
07-12-2011, 03:20 AM
You can tweak it however you want, I don't mind. Most people tweak it some way or another.
Ok thank you Dylan. I was able to do that fairly easily; I removed the timeslips stuff and just added a few fields similar to the description field. Works just fine.
I did notice along the way that there were a few phrases and labels that were missing; the fuel_type stuff comes to mind ... and I think the todo_list field didn't have a label phrase. Anyway, just FYI. I added the phrases and they displayed without a problem.
Thanks again, great mod!
-J
MotMann
07-12-2011, 07:30 PM
User can't see Garage. But they have permissions. What shell i do?
And i try to change the phrases to german, but that's mosly not going.. need help :(
av8or1
07-13-2011, 02:59 AM
Hi again Dylan,
I liked your mod enough that I decided to have a go tonight at replicating the forumhome image display stuff in a vBa module. I was successful, and I think it looks great on our forum "splash" page, for which we use vBa.
In the code I attributed you as the author and now I would like to release it as a portal add-on so that the rest of the vBa folk could use it if they have your mod installed. Clearly this vBa module relies completely on your mod. :-)
Anyway before I do that I wanted to ask for permission first. I'm not seeking any "glory" for this work and again, I have credited you as the author. The only reason I ask is to help others, as they might like this vBa module as well.
Thanks!
Jerry
ps-pic of working module attached.
Mark4865
07-21-2011, 11:06 AM
hello Dylan,
hope do I get rid of the block showing the BB code and the direct link code on the individual vehicle page please
Fantastic mod
Mark4865
07-21-2011, 02:08 PM
Can you also confirm users can edit and delete their own vehicles without having admin permissions
If so how do I set this up
RollaJedi
07-21-2011, 03:07 PM
Hello
I was trying to install this and got to the part about installing the language pack in the languages and phrases area.
When i try to do this, it comes back with this message:
This file was created using a different version of vBulletin from the one you are running.
Your version: 4.1.4
File version: 3.7.4
So, i can't see any of the words in the settings area at all.:confused:
Dylanblitz
07-21-2011, 05:55 PM
User can't see Garage. But they have permissions. What shell i do?
And i try to change the phrases to german, but that's mosly not going.. need help :(
Sorry, I didn't see this MotMann, did you get it worked out? Let me know if you didn't, I'll be glad to help. If they can't see the garage then most likely the nav button is set to admin only still. Its in the vB Options/Garage General Settings tab.
Dylanblitz
07-21-2011, 06:02 PM
hello Dylan,
hope do I get rid of the block showing the BB code and the direct link code on the individual vehicle page please
Fantastic mod
The bbcode and direct link are only visible to the admin and vehicle owner. But if you do want to remove it
In the ACP go to Options/Garage Vehicle Settings
Find the option for Enable Direct and BBCode links? and set it to disabled.
As far as permissions to edit/delete, if a user can create vehicles they can edit and delete their own vehicles. There is no special permissions to set for this.
Dylanblitz
07-21-2011, 06:03 PM
Hello
I was trying to install this and got to the part about installing the language pack in the languages and phrases area.
When i try to do this, it comes back with this message:
This file was created using a different version of vBulletin from the one you are running.
Your version: 4.1.4
File version: 3.7.4
So, i can't see any of the words in the settings area at all.:confused:
When you import the language file you want to select Yes for Ignore Language Version.
RollaJedi
07-21-2011, 06:21 PM
just tried this but it comes back with this now:
The file you attempted to import only contains phrases and none of the settings required. You will be unable to make a new language with this file.
i'm affraid to overwrite the english language one
Dylanblitz
07-21-2011, 06:28 PM
just tried this but it comes back with this now:
The file you attempted to import only contains phrases and none of the settings required. You will be unable to make a new language with this file.
i'm affraid to overwrite the english language one
That's the only way to do it. I don't use any OOB phrases, so you wont be overwriting any stock phrases, it will just add the garage phrases to the existing.
RollaJedi
07-21-2011, 06:47 PM
Ok, thanks! One more question though. How could i get the navbar button to say something beside 'Garage'? Thanks!
RollaJedi
07-21-2011, 06:53 PM
nevermind, i got it!
Dylanblitz
07-21-2011, 06:55 PM
It depends.
The text is in the phrase garage_global_garage, but it is used lots of other places. So if you want only the nav link to be changed I would edit the garage_nav_button template and replace {vb:rawphrase garage_global_garage} with whatever you want it to be.
If you want it changed everywhere it says Garage then change that phrase.
RollaJedi
07-21-2011, 07:37 PM
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!!
Mark4865
07-23-2011, 11:20 AM
perfect thanks Dylan this mod looks really great on my website and the members are loving it thanks for all the hard work
Big Kahuna
07-28-2011, 10:23 AM
I can get the Garage tab to display between Forums and What's New while an admin -- but it doesn't display for the other member groups?
Big Kahuna
07-28-2011, 10:59 AM
I can get the Garage tab to display between Forums and What's New while an admin -- but it doesn't display for the other member groups?
found my answer elsewhere in the thread -- problem resolved. Thanx - great Add-on
Originally Posted by MotMann https://vborg.vbsupport.ru/external/2011/07/1.gif (https://vborg.vbsupport.ru/showthread.php?p=2219748#post2219748) User can't see Garage. But they have permissions. What shell i do?
And i try to change the phrases to german, but that's mosly not going.. need help :(
Sorry, I didn't see this MotMann, did you get it worked out? Let me know if you didn't, I'll be glad to help. If they can't see the garage then most likely the nav button is set to admin only still. Its in the vB Options/Garage General Settings tab.
otectom
07-31-2011, 04:16 PM
Hi I have this mod installed on my site, and my users love it, but we are experiencing some issues. I tried to read through this entire thread to see if they have already been addressed, but it is very long.
Issues:
Page does not display correctly. Pages are not centered, and my background disappears. Not sure if this is theme related?
Only admins and mods can edit vehicles once they are posted, regular users cannnot even though the setting is enabled.
There is no proper error page, if a mistake is made when a user is adding a vehicle they only see a page with the error in a line of code. This is confusing to some users. Also when this happens the vehicle is still created, but it cannot be edited to be fixed. This leads us to have multiple additions of the same vehicle with only one being correct (if the user bothers to try over and over till it's right)
Random vehicle images olny shows images that are set as the default image, shouldn't this show any random image?
You should build a widget so random images, pr featured images can be shown on the home page of the site.
Any attention to these issues would be greatly appreciated! Please visit http://www.teamotec.net to see.
Dylanblitz
08-01-2011, 05:45 AM
Hi I have this mod installed on my site, and my users love it, but we are experiencing some issues. I tried to read through this entire thread to see if they have already been addressed, but it is very long.
Issues:
Page does not display correctly. Pages are not centered, and my background disappears. Not sure if this is theme related?
Only admins and mods can edit vehicles once they are posted, regular users cannnot even though the setting is enabled.
There is no proper error page, if a mistake is made when a user is adding a vehicle they only see a page with the error in a line of code. This is confusing to some users. Also when this happens the vehicle is still created, but it cannot be edited to be fixed. This leads us to have multiple additions of the same vehicle with only one being correct (if the user bothers to try over and over till it's right)
Random vehicle images olny shows images that are set as the default image, shouldn't this show any random image?
You should build a widget so random images, pr featured images can be shown on the home page of the site.
Any attention to these issues would be greatly appreciated! Please visit http://www.teamotec.net to see.
Can you create me an account with permissions to add to the garage? I don't have any create only type code in there, so if someone creates a vehicle they should be able to edit it.
What are they missing when they get an error? Everything required that might be missing I thought I had accounted for with an error page.
The style does look like it's having a conflict with the garage. There is a template called garage_css where you can try and adjust/tweak it.
otectom
08-01-2011, 08:14 PM
Sure thing I have created a user named testie with the pw testpassword
That user is a regular user with no special privileges.
The error message seemed to spawn from users adding images that were too large in file size, so I was able to skirt that by increasing the file size cut off.
I'm not sure what I'll have to do with that css file to make it look completely correct, but I'll take a look at it.
Thank you for the speedy response!
Dylanblitz
08-02-2011, 08:09 AM
Sure thing I have created a user named xxxxxx with the pw xxxxxx
That user is a regular user with no special privileges.
The error message seemed to spawn from users adding images that were too large in file size, so I was able to skirt that by increasing the file size cut off.
I'm not sure what I'll have to do with that css file to make it look completely correct, but I'll take a look at it.
Thank you for the speedy response!
I got the info, you want to edit your post and delete it?
Might want to send that through a pm next time :)
EDIT:
I can edit my vehicle fine. Are you sure they are doing it right?
The red make/model with the down arrow is a dropdown menu. I was able to select it and change the make/model.
Do they get an error or maybe they just don't see the dropdown?
otectom
08-02-2011, 08:23 PM
Well, that would explain it! I had been using the admin controls to edit my own vehicle, and had been telling people that's where the button would be. I never knew there was a drop down. I feel stupid, thank you!
Also the testie password has already been changed, so it's no biggie.
bosken
08-03-2011, 07:14 AM
Installed the product on new 4.1.5, works perfect. ( you can check my site )
Thanx for a great product.
PS: Have almost translated all to Swedish if somebody wants that.
matt94gt
08-03-2011, 05:14 PM
Hi I am getting these errors:
Warning: mkdir() [function.mkdir]: Permission denied in [path]/includes/garage_func_var.php on line 2744
Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744
Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744
Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744
Warning: move_uploaded_file(images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/includes/garage_func_var.php on line 2821
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php7wVpvf' to 'images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg' in [path]/includes/garage_func_var.php on line 2821
I set the arage_func_var.php permissions to 777...
any suggestions?
bosken
08-03-2011, 09:03 PM
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
Dylanblitz
08-04-2011, 04:14 PM
Hi I am getting these errors:
Warning: mkdir() [function.mkdir]: Permission denied in [path]/includes/garage_func_var.php on line 2744
Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744
Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744
Warning: mkdir() [function.mkdir]: No such file or directory in [path]/includes/garage_func_var.php on line 2744
Warning: move_uploaded_file(images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/includes/garage_func_var.php on line 2821
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php7wVpvf' to 'images/garage/attach/7/9/6/4/garage_vehicle-4-13123951741_full.jpg' in [path]/includes/garage_func_var.php on line 2821
I set the arage_func_var.php permissions to 777...
any suggestions?
It's not the file permissions itself. The images folder doesn't sound like it has permissions for the script to write to. You can change it in the script but the default is images/garage/attach and any sub folders that are created.
bosken
08-05-2011, 06:55 PM
Anyone can vote on a "bike" how many times they want, and even vote on their own :(
Can this be disabled somehow?
Dylanblitz
08-06-2011, 02:44 AM
Anyone can vote on a "bike" how many times they want, and even vote on their own :(
Can this be disabled somehow?
It's a bug that I have fixed in the next version
Open includes/garage_func_var.php
Find
$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '$id' && user_id = '$bbuserinfo[userid]'");replace with
$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '" . $id . "' && user_id = " . $vbulletin->userinfo['userid'] . "");
That should fix it.
Dylanblitz
08-06-2011, 02:45 AM
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
I'll take a look at the code and see what would need to be modified.
bosken
08-07-2011, 08:00 AM
It's a bug that I have fixed in the next version
Open includes/garage_func_var.php
Find
$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '$id' && user_id = '$bbuserinfo[userid]'");replace with
$rating_query = $vbulletin->db->query_read("SELECT id FROM " . TABLE_PREFIX . "garage_ratings WHERE vehicle_id = '" . $id . "' && user_id = " . $vbulletin->userinfo['userid'] . "");
That should fix it.
It did! Great, thanx! :up:
bosken
08-07-2011, 08:00 AM
I'll take a look at the code and see what would need to be modified.
If it is to any help, site is www.hdforums.com where the avatar mod is.
RollaJedi
08-08-2011, 01:59 PM
any help with my question??
Dylanblitz
08-09-2011, 07:24 AM
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!!
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
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
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
//$forum_directory = 'C:/doc_root/www/domain/forums/';to whatever the path is, something like
$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
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
//$forum_directory = 'C:/doc_root/www/domain/forums/';to whatever the path is, something like
$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
$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
thanks for the heads up! lol
well I've changed the directory already. Line 24
$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
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
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
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
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
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.php?p=2192729&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
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
$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
$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
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.
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-align: center;
}
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
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
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
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.
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-align: center;
}
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
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
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&id=251\"><img 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_vehicle.php?do=delete_vehicle&id=250
Referrer : http://www.sporttouring.us/garage_vehicle.php?do=view_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.
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?
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 :(
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.
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
$user_link = $vbulletin->options[garage_url_path] . 'garage.php?do=user_garage_view&id=' . $user_id;to change it.
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&id=251\"><img 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_vehicle.php?do=delete_vehicle&id=250
Referrer : http://www.sporttouring.us/garage_vehicle.php?do=view_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
You could change it. You would need to open includes/garage_func_var.php and find
$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
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
$user_link = 'member.php?u=' . $user_id;
That should work
sekel
09-24-2011, 04:03 AM
Change it to
$user_link = 'member.php?u=' . $user_id;
That should work
Works like a charm. Thanks so much, appreciate the feedback!
One more question, the forum's favicon seems to reset to default whenever the Garage is opened, what should be changed for the garage to have the same favicon?
Thanks in advance.
cdoyle
09-25-2011, 12:39 AM
Hi,
I hope someone can help, our garage used to work. But at some point it stopped working.
What happens is, if someone tries to upload an image.
at the top of the forum they see this messsage
Warning: move_uploaded_file(images/garage/attach/1/garage_vehicle-14-13169136471_full.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in [path]/includes/garage_func_var.php on line 2821
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpOcgF6R' to 'images/garage/attach/1/garage_vehicle-14-13169136471_full.jpg' in [path]/includes/garage_func_var.php on line 2821
And then in the garage they see this
Error: Image could not be moved.
when I go and check the permission of images/garage/attach
1,2,3 they are set at 755
Is this correct? the rest are at 777
I tried to change them to 777 but they revert back to 755.
Any ideas?
Dylanblitz
09-25-2011, 04:16 AM
Works like a charm. Thanks so much, appreciate the feedback!
One more question, the forum's favicon seems to reset to default whenever the Garage is opened, what should be changed for the garage to have the same favicon?
Thanks in advance.
You can edit the template garage_headinclude and add it in there.
Dylanblitz
09-25-2011, 04:17 AM
Hi,
I hope someone can help, our garage used to work. But at some point it stopped working.
What happens is, if someone tries to upload an image.
at the top of the forum they see this messsage
And then in the garage they see this
Error: Image could not be moved.
when I go and check the permission of images/garage/attach
1,2,3 they are set at 755
Is this correct? the rest are at 777
I tried to change them to 777 but they revert back to 755.
Any ideas?
You should talk to your host. Since it worked before I have a feeling they upgraded something that broke your permissions.
bosken
09-29-2011, 01:35 PM
Suddenly ONLY me, Admin can see the postbit dropdown link to albums under the avatars. No one else. Can?t find any settings for this in the permissions menus. ?!?
Tried to reimport file, no luck. Also runned the "Rebuild Vehicle Postbit Dropdowns" thingy
https://vborg.vbsupport.ru/external/2011/09/7.jpg
Dylanblitz
09-29-2011, 05:37 PM
Suddenly ONLY me, Admin can see the postbit dropdown link to albums under the avatars. No one else. Can?t find any settings for this in the permissions menus. ?!?
Tried to reimport file, no luck. Also runned the "Rebuild Vehicle Postbit Dropdowns" thingy
https://vborg.vbsupport.ru/external/2011/09/7.jpg
The first thing that comes to mind is that it's something with your style. The postbit dropdown is really just data stored in a custom user profile field. There is no group permissions on it, it's either on or off. I am outputting the data into the template hook postbit_userinfo_right (since you are using legacy postbit). Maybe you have some admin only code in there that has that template hook contained in it?
bosken
09-29-2011, 06:11 PM
Thanx for the reply! It worked this morning, I bough two skins from CompleteVb, installed them and i THINK after that it stopped working,. Did some other minor stuff also but have no clue what caused this. Same thing in ALL my skins/styles (even in default style that is untouched).
Not so good at this, what do you mean with admin only code? Such as? I have no clue what to look for.
bosken
09-29-2011, 07:51 PM
I tried to put a regular registered user in the moderator group, and BAM, he now could see the Garagebutton again....
so admin, super moderators and moderators see users garage buttons. reg users; no.
:confused:
Dylanblitz
09-30-2011, 04:30 AM
I tried to put a regular registered user in the moderator group, and BAM, he now could see the Garagebutton again....
so admin, super moderators and moderators see users garage buttons. reg users; no.
:confused:
What does it do on the default theme? It sounds like the template hook is contained within a conditional that is only for moderators and above.
I can check it out if you can't figure it out, I'd need temp admin access.
Dylanblitz
10-01-2011, 05:55 PM
I've gotten it fixed, looks like they did some permission changes. Good for forums, bad for me lol.
They made it so private custom profile fields can't be accessed at all anymore. So I modified the custom field to be visible and moved it to the Other area so it wont show on their main About Me profile page.
bosken
10-01-2011, 08:43 PM
Thanx alot Dylan! :D
bosken
10-02-2011, 03:03 PM
One more thing - will it still work after I upgrade from vB 4.1.5 - 4.1.7?
Dylanblitz
10-02-2011, 04:38 PM
One more thing - will it still work after I upgrade from vB 4.1.5 - 4.1.7?
Yes, I changed the format of the custom field, upgrading doesn't change that.
bosken
10-03-2011, 06:51 AM
Think I found another bug (think this happened after your last "hack"). See pic. Users CAN?T change or add signatures (no. 1).
As soon as they or I add some text to their signature no. 3 appears.
No. 3 I fix with "Rebuild Vehicle Postbit Dropdowns" in the admincp. But signature still not showing.
I also can not close the post bit function in admincp, can set to no, but they still showing.
https://vborg.vbsupport.ru/external/2011/10/64.jpg
Dylanblitz
10-03-2011, 05:01 PM
Think I found another bug (think this happened after your last "hack"). See pic. Users CAN?T change or add signatures (no. 1).
As soon as they or I add some text to their signature no. 3 appears.
No. 3 I fix with "Rebuild Vehicle Postbit Dropdowns" in the admincp. But signature still not showing.
I also can not close the post bit function in admincp, can set to no, but they still showing.
https://vborg.vbsupport.ru/external/2011/10/64.jpg
Do I still have admin? I'll take a look at it.
cdoyle
10-05-2011, 02:02 AM
Hi,
I hope someone can help, our garage used to work. But at some point it stopped working.
What happens is, if someone tries to upload an image.
at the top of the forum they see this messsage
And then in the garage they see this
Error: Image could not be moved.
when I go and check the permission of images/garage/attach
1,2,3 they are set at 755
Is this correct? the rest are at 777
I tried to change them to 777 but they revert back to 755.
Any ideas?
Can someone confirm if
images/garage/attach folders 1, 2, 3 are supposed to be 777?
I want to make sure before I have them changed to this.
If it's not, anyone know why I'm having this problem
cdoyle
10-05-2011, 02:32 AM
Can someone confirm if
images/garage/attach folders 1, 2, 3 are supposed to be 777?
I want to make sure before I have them changed to this.
If it's not, anyone know why I'm having this problem
My host was able to fix it! We came from another host, and the permissions were configured wierd when we migrated.
cdoyle
10-16-2011, 02:22 AM
Hi,
Now that I have the images fixed, I'm noticing some other little bugs in our garage.
When viewing a car, lower left hand corner is a dropdown and the only option is 'all Vehicles' what is this for?
Also, When you edit a car. The very first 2 fields on the screen are there but no lables. What are they for? Should they be there, or do they need to be removed somehow.
Also, on the garage homepage. When someone updates a car, the updated date does not change. Looks to the created date not the last modified date.
Anyone know how to fix these?
Dylanblitz
10-16-2011, 07:40 AM
Hi,
Now that I have the images fixed, I'm noticing some other little bugs in our garage.
When viewing a car, lower left hand corner is a dropdown and the only option is 'all Vehicles' what is this for?
Also, When you edit a car. The very first 2 fields on the screen are there but no lables. What are they for? Should they be there, or do they need to be removed somehow.
Also, on the garage homepage. When someone updates a car, the updated date does not change. Looks to the created date not the last modified date.
Anyone know how to fix these?
It looks like you didn't import the latest language file. There are missing phrases from newer versions then the original one you had.
For the date, open includes/garage_func_var.php
About line 3368 and 3370 you will see
$latest_vehicles = $vbulletin->db->query_read("SELECT guv.*, guv.date_created AS QueryDate FROMChange the guv.date_created to guv.date_updated
EDIT:
The dropdown on the left is for the admin to set an image as a front page category's image.
Santi86
10-17-2011, 07:40 AM
Database error in vBulletin 4.1.7:
Invalid SQL:
SELECT COUNT(vehicle_id) AS vehicles FROM garage_user_vehicle WHERE active = '0';
MySQL Error : Table 'hyundais_hs.garage_user_vehicle' doesn't exist
Error Number : 1146
Request Date : Monday, October 17th 2011 @ 10:39:22 AM
Error Date : Monday, October 17th 2011 @ 10:39:22 AM
Script : http://*.pl/forum.php
Referrer : http://*.pl/f2/
IP Address : 93.105.44.5
Username : Santi
Classname : vB_Database
MySQL Version : 5.5.11
I uploaded files, imported a product and see this. Help!
cdoyle
10-17-2011, 11:28 PM
It looks like you didn't import the latest language file. There are missing phrases from newer versions then the original one you had.
For the date, open includes/garage_func_var.php
About line 3368 and 3370 you will see
$latest_vehicles = $vbulletin->db->query_read("SELECT guv.*, guv.date_created AS QueryDate FROMChange the guv.date_created to guv.date_updated
EDIT:
The dropdown on the left is for the admin to set an image as a front page category's image.
thanks, that seemed to fix it :)
cdoyle
10-18-2011, 01:08 PM
Hi,
Have another question, Right now I have my garage set to old blocks. And on my garage page it shows all the blocks. When I go into the Admin panel, I see the option of block order but how do you change it? Right now everything is listed in the left column? I can't drag it over, or do anything to change it.
I would like to have my blocks side by side, like it is in some of the examples.
Thanks
cdoyle
10-20-2011, 12:56 PM
Hi,
Have another question, Right now I have my garage set to old blocks. And on my garage page it shows all the blocks. When I go into the Admin panel, I see the option of block order but how do you change it? Right now everything is listed in the left column? I can't drag it over, or do anything to change it.
I would like to have my blocks side by side, like it is in some of the examples.
Thanks
Anyone know how to do this?
cdoyle
10-22-2011, 12:05 AM
Anyone out there know?
cdoyle
10-23-2011, 03:48 PM
Another Question, the images on forumhome.
I have mine set to 'Random' but it doesn't seem to be actually pulling random images from my garage. I just see the same set of images over and over, just in a different order.
http://www.caraudiocentral.net/forums/
I never see any of the new images I've added to the garage, and I don't have many members with a garage. So I should at least see the new images I added once in awhile.
I'm also still looking for an answer to the question I had above about the blocks too.
I really would like to get my garage all working correctly, it's a great hack.
Dylanblitz
10-24-2011, 06:17 AM
Hi,
Have another question, Right now I have my garage set to old blocks. And on my garage page it shows all the blocks. When I go into the Admin panel, I see the option of block order but how do you change it? Right now everything is listed in the left column? I can't drag it over, or do anything to change it.
I would like to have my blocks side by side, like it is in some of the examples.
Thanks
Do you get any ajax errors? You should be able to drag and drop the blocks left/right up/down.
Dylanblitz
10-24-2011, 06:19 AM
Another Question, the images on forumhome.
I have mine set to 'Random' but it doesn't seem to be actually pulling random images from my garage. I just see the same set of images over and over, just in a different order.
http://www.caraudiocentral.net/forums/
I never see any of the new images I've added to the garage, and I don't have many members with a garage. So I should at least see the new images I added once in awhile.
I'm also still looking for an answer to the question I had above about the blocks too.
I really would like to get my garage all working correctly, it's a great hack.
If they are in the database it should select them. I'm doing a basic mysql RAND() selection, so I'm leaving it up to mysql to select them randomly heh.
cdoyle
10-25-2011, 12:35 PM
Do you get any ajax errors? You should be able to drag and drop the blocks left/right up/down.
I was able to drag them using IE, but in FF you can't move them.
But even after moving them, it made no difference on my garage page. Everything is still in one column?
cdoyle
10-25-2011, 12:37 PM
If they are in the database it should select them. I'm doing a basic mysql RAND() selection, so I'm leaving it up to mysql to select them randomly heh.
Mine doesn't seem to be updating, and it almost appears to only be displaying the profile pic of the garage. I don't see any other pics appearing at all.
Is there another setting somewhere for what pics it selects?
cdoyle
10-25-2011, 08:10 PM
OK, so after awhile it appears that the blocks rearranged themselves.
But there are still some issues, you can see here
http://www.caraudiocentral.net/forums/garage.php
The latest image block is down too far, it's actually looks like the right column block is pushing it down.
I also noticed that the latest images, are not the latest images. I've uploaded a few (see my garage chrisfromwa) All the shots of the car in red were ones I uploaded the other day. But they never appeared in the latest image.
One last thing I noticed, is the categories, all the totals are 1?
Any ideas?
BajaBoatOwners
10-26-2011, 03:30 PM
Language/Phrase file wouldn't upload. Getting error it's a older version than I'm using.
BajaBoatOwners
10-26-2011, 03:35 PM
Getting this error
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(509) : eval()'d code on line 201
Fatal error: require_once() [function.require]: Failed opening required '/home/content/06/7084206/html/includes/garage_plugin_func.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/06/7084206/html/includes/class_bootstrap.php(509) : eval()'d code on line 201
BajaBoatOwners
10-26-2011, 04:32 PM
Language/Phrase file wouldn't upload. Getting error it's a older version than I'm using.
Found how to fix this, but other error I posted I'm unable to remedy.
cdoyle
10-27-2011, 01:02 AM
OK, so after awhile it appears that the blocks rearranged themselves.
But there are still some issues, you can see here
http://www.caraudiocentral.net/forums/garage.php
The latest image block is down too far, it's actually looks like the right column block is pushing it down.
I also noticed that the latest images, are not the latest images. I've uploaded a few (see my garage chrisfromwa) All the shots of the car in red were ones I uploaded the other day. But they never appeared in the latest image.
One last thing I noticed, is the categories, all the totals are 1?
Any ideas?
Here is a screenshot of what I'm talking about
The latest image block is down too far, the actual 'latest image' isn't the latest image. They seem to be stuck from some point in time. Same with forumhome, it's the same images over and over no matter what I upload I never see anything new there.
And the categories all say (1)
cdoyle
10-27-2011, 02:07 AM
Update: So on my forum home, the only way I can get one of my new images to display is if I delete the current image that keeps showing. So a new image is finally showing, but it's still just repeating this one image over and over.
It should be selecting any random image from all the garages right?
Just found another bug, When posting a comment on a image. I get the following error
Database error in vBulletin 4.1.4:
Invalid SQL:
SELECT COUNT(image_id) AS ImageCommCount FROM garage_image_comments WHERE image_id = '6' 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
Request Date : Wednesday, October 26th 2011 @ 08:22:09 PM
Error Date : Wednesday, October 26th 2011 @ 08:22:10 PM
Script : http://www.caraudiocentral.net/forums/garage_comments.php
Referrer : http://www.caraudiocentral.net/forums/garage_comments.php?do=view_img_comments&id=6
IP Address : 216.39.156.121
Username : Chris from Washington
Classname : vB_Database
MySQL Version : 5.1.56-log
Dylanblitz
10-27-2011, 07:08 AM
Found how to fix this, but other error I posted I'm unable to remedy.
The error is saying you don't have the garage_func_var.php file in the forums includes directory.
Dylanblitz
10-27-2011, 07:15 AM
Update: So on my forum home, the only way I can get one of my new images to display is if I delete the current image that keeps showing. So a new image is finally showing, but it's still just repeating this one image over and over.
It should be selecting any random image from all the garages right?
Just found another bug, When posting a comment on a image. I get the following error
I haven't fixed the comment error in the files yet. Here is the fix
https://vborg.vbsupport.ru/showpost.php?p=2239026&postcount=664
The block is down further because the right side column above it is longer then the left. It's set to line up vertically.
Do you have the page caching turned on? If you do, try turning it off and see if it fixes the images. I've had some problems with the caching, my first go at caching the way I did it and it didn't work out the way I wanted.
cdoyle
10-27-2011, 12:11 PM
I haven't fixed the comment error in the files yet. Here is the fix
https://vborg.vbsupport.ru/showpost.php?p=2239026&postcount=664
The block is down further because the right side column above it is longer then the left. It's set to line up vertically.
Do you have the page caching turned on? If you do, try turning it off and see if it fixes the images. I've had some problems with the caching, my first go at caching the way I did it and it didn't work out the way I wanted.
Turning the cache off, fixes the latest image block. Also on forum home, is the 'random image' using the same query as the 'latest image'? because I noticed that the images appear to be the same ones that are displayed in the Latest Image block.
I would really like forumhome to just randomly select any image from any garage in the database. Seeing the same images over and over, is not making users want to click.
Thanks for the fix on the comments too, that's all working now.
BajaBoatOwners
10-27-2011, 03:50 PM
The error is saying you don't have the garage_func_var.php file in the forums includes directory.
Do I need to upload that file into my server? I uploaded the downloaded file as instructed. Just want to make sure I'm doing it correctly.
BajaBoatOwners
10-27-2011, 03:52 PM
Do I need to upload that file into my server? I uploaded the downloaded file as instructed. Just want to make sure I'm doing it correctly.
I understand now I need to upload files to the server didn't realize this. Sorry.
Dylanblitz
10-30-2011, 02:51 AM
Turning the cache off, fixes the latest image block. Also on forum home, is the 'random image' using the same query as the 'latest image'? because I noticed that the images appear to be the same ones that are displayed in the Latest Image block.
I would really like forumhome to just randomly select any image from any garage in the database. Seeing the same images over and over, is not making users want to click.
Thanks for the fix on the comments too, that's all working now.
On the forumhome, you only have 8 vehicles with images. The block will only show 1 image from each vehicle and it's the vehicles primary image. So you really only have 8 images to cycle through right now. When you have more vehicles in there it will start showing a bigger range of images.
cdoyle
10-30-2011, 01:10 PM
On the forumhome, you only have 8 vehicles with images. The block will only show 1 image from each vehicle and it's the vehicles primary image. So you really only have 8 images to cycle through right now. When you have more vehicles in there it will start showing a bigger range of images.
Is there anyway to make it pick a random image from the db, not just the primary images?
BajaBoatOwners
10-30-2011, 06:06 PM
Is there a setting or template change to allow for # of engines option? We have mainly boats on our forum most have 2 engines
cdoyle
11-01-2011, 02:57 PM
On the forumhome, you only have 8 vehicles with images. The block will only show 1 image from each vehicle and it's the vehicles primary image. So you really only have 8 images to cycle through right now. When you have more vehicles in there it will start showing a bigger range of images.
Also, I changed my primary image and it's still showing the last image I uploaded.
Is there any way, to make it just select a random image from the db?
Dylanblitz
11-02-2011, 07:13 PM
Is there a setting or template change to allow for # of engines option? We have mainly boats on our forum most have 2 engines
No real setting for that, if you want a basic 2 engines, 3 engines type field it can be done through a plugin though.
Dylanblitz
11-02-2011, 07:23 PM
Also, I changed my primary image and it's still showing the last image I uploaded.
Is there any way, to make it just select a random image from the db?
ACP -> Plugins&Products -> Plugin Manager
Edit the plugin
VB Pro Garage Forum Home Pictures
Find
$pic_query = $vbulletin->db->query("SELECT gi.vehicle_id, gi.attach_thumb_location, guv.user_id FROM " . TABLE_PREFIX . "garage_images gi LEFT JOIN " .TABLE_PREFIX . "garage_user_vehicle guv ON gi.vehicle_id = guv.vehicle_id WHERE guv.active = '1' GROUP BY gi.vehicle_id" . $orpic);replace with
$pic_query = $vbulletin->db->query("SELECT gi.vehicle_id, gi.attach_thumb_location, guv.user_id FROM " . TABLE_PREFIX . "garage_images gi LEFT JOIN " .TABLE_PREFIX . "garage_user_vehicle guv ON gi.vehicle_id = guv.vehicle_id WHERE guv.active = '1' ORDER BY rand(NOW()) LIMIT " . $displayrecords);That should do it
BajaBoatOwners
11-02-2011, 07:39 PM
No real setting for that, if you want a basic 2 engines, 3 engines type field it can be done through a plugin though.
Where would I find that or how would I add that? I'd like to have choices of 1,2,3 engines.
cdoyle
11-03-2011, 03:22 AM
ACP -> Plugins&Products -> Plugin Manager
Edit the plugin
VB Pro Garage Forum Home Pictures
Find
$pic_query = $vbulletin->db->query("SELECT gi.vehicle_id, gi.attach_thumb_location, guv.user_id FROM " . TABLE_PREFIX . "garage_images gi LEFT JOIN " .TABLE_PREFIX . "garage_user_vehicle guv ON gi.vehicle_id = guv.vehicle_id WHERE guv.active = '1' GROUP BY gi.vehicle_id" . $orpic);replace with
$pic_query = $vbulletin->db->query("SELECT gi.vehicle_id, gi.attach_thumb_location, guv.user_id FROM " . TABLE_PREFIX . "garage_images gi LEFT JOIN " .TABLE_PREFIX . "garage_user_vehicle guv ON gi.vehicle_id = guv.vehicle_id WHERE guv.active = '1' ORDER BY rand(NOW()) LIMIT " . $displayrecords);That should do it
that worked perfectly thank you!
One last question, and I think I'll have this exactly like I want.
The latest image within the garage, does not seem to be updating. I just added an image, and it's not appearing there.
Where is this query for this located?
Dylanblitz
11-03-2011, 07:53 PM
Where would I find that or how would I add that? I'd like to have choices of 1,2,3 engines.
I can create it for you. Do you just want a select dropdown with 1 2 and 3 as the options with the text for it "# of engines"?
Dylanblitz
11-03-2011, 08:02 PM
that worked perfectly thank you!
One last question, and I think I'll have this exactly like I want.
The latest image within the garage, does not seem to be updating. I just added an image, and it's not appearing there.
Where is this query for this located?
Is it a vehicle image? It is in the order of the last updated date for the images, or do you want to open it to all images, not just vehicle images?
I restricted it to vehicle images because the timeslip images are usually just a scan of the timeslip, and those aren't too exciting to display in the blocks heh
BajaBoatOwners
11-03-2011, 08:13 PM
I can create it for you. Do you just want a select dropdown with 1 2 and 3 as the options with the text for it "# of engines"?
Yes. Thanks
Dylanblitz
11-04-2011, 02:40 AM
Yes. Thanks
Import this into your products, it will add the field to the add/edit/view pages.
BajaBoatOwners
11-04-2011, 03:31 PM
Import this into your products, it will add the field to the add/edit/view pages.
Thank you
cdoyle
11-04-2011, 05:00 PM
Is it a vehicle image? It is in the order of the last updated date for the images, or do you want to open it to all images, not just vehicle images?
I restricted it to vehicle images because the timeslip images are usually just a scan of the timeslip, and those aren't too exciting to display in the blocks heh
It's just vehicle images, right now when I add another image to the garage. That new image is not appearing under the 'latest images' bucket. I'm not sure how it's deciding what images to display there, but it's the same ones all the time. It's not the profile pic either, because I uploaded a new pic and chose that as my profile, and it's still showing an older image.
The Random Image bucket is displaying the same images as the latest (just a different order)
too.
Thanks again for your help too!
BajaBoatOwners
11-04-2011, 07:31 PM
Import this into your products, it will add the field to the add/edit/view pages.
How can I move it up under the engine selection? It's now at the bottom right above description.
too_cool_3
11-10-2011, 12:55 AM
Does anyone have this installed and functioning properly on vB 4.1.7? Will this work on vB 4.1.7?
Dylanblitz
11-10-2011, 06:41 AM
How can I move it up under the engine selection? It's now at the bottom right above description.
You would have to manually add it if you want it in a specific location. Right now there are hooks that you can access, but they are limited.
If you want to have it under the engine I'd have to manually tweak the template.
Dylanblitz
11-10-2011, 06:43 AM
It's just vehicle images, right now when I add another image to the garage. That new image is not appearing under the 'latest images' bucket. I'm not sure how it's deciding what images to display there, but it's the same ones all the time. It's not the profile pic either, because I uploaded a new pic and chose that as my profile, and it's still showing an older image.
The Random Image bucket is displaying the same images as the latest (just a different order)
too.
Thanks again for your help too!
I looked at the code, it's grouping by the vehicle, so most likely it grabs the first vehicle image that was created.
I'll have to rethink that code a bit and see what else I can come up with.
bosken
11-10-2011, 08:39 AM
Does anyone have this installed and functioning properly on vB 4.1.7? Will this work on vB 4.1.7?
Yes. I run 4.1.7 PL2. No issues.
bosken
11-10-2011, 08:44 AM
I have one question. (has been like this since I first installed Garage.
When a new vehicle gets added I always have to enter admincp/managements/ and rebuild the last 4 settings. If not, the garage avatarimage becomes showable code in the avatars and the vehicle family that the user put it into only showes 1 vehicle (but there are many more)
After i run this all is 100%. But unnessesary work for me. Any workaround?
(You have been in my code before, so can let you in again if you want.)
bosken
11-10-2011, 10:09 AM
Here you see before and after pix. top one is when new vehicle is added
Bottom after I run the Rebuild Make/Model Count
https://vborg.vbsupport.ru/external/2011/11/34.jpg
https://vborg.vbsupport.ru/external/2011/11/35.jpg
Dylanblitz
11-10-2011, 06:38 PM
I have one question. (has been like this since I first installed Garage.
When a new vehicle gets added I always have to enter admincp/managements/ and rebuild the last 4 settings. If not, the garage avatarimage becomes showable code in the avatars and the vehicle family that the user put it into only showes 1 vehicle (but there are many more)
After i run this all is 100%. But unnessesary work for me. Any workaround?
(You have been in my code before, so can let you in again if you want.)
Yes, please let me have access again. The browse vehicles going back to one is probably a code issue, I'll check that on my side, need to see what's going on with your site on the avatar code.
bosken
11-11-2011, 08:25 AM
About the avatar issue, is only the user that uploaded a vehicle to the garage that gets affected. No other. :)
Waiting with access until I get a proper example :)
bosken
11-12-2011, 01:24 PM
Ok, new vehicle uploaded. Got the above error and some users got this :
When I run Rebuild Post bit, all fine again. (have to do this every time though)
https://vborg.vbsupport.ru/external/2011/11/32.jpg
cdoyle
11-12-2011, 03:40 PM
Here you see before and after pix. top one is when new vehicle is added
Bottom after I run the Rebuild Make/Model Count
https://vborg.vbsupport.ru/external/2011/11/34.jpg
https://vborg.vbsupport.ru/external/2011/11/35.jpg
I just noticed that mine is doing this too.
BajaBoatOwners
11-12-2011, 06:39 PM
Is there a way to remove/disable mileage?
Dylanblitz
11-14-2011, 06:27 PM
Ok, new vehicle uploaded. Got the above error and some users got this :
When I run Rebuild Post bit, all fine again. (have to do this every time though)
https://vborg.vbsupport.ru/external/2011/11/32.jpg
In the ACP
ACP->User Profile Fields->User Profile Field Manager
There is a field for the garage postbit data. What is the max length on it? If it's small, increase it to like 10000
Also
ACP->Plugins & Products->Plugin Manager
Find the plugin called "Garage Postbit Vehicle Dropdown"
Find and replace
if ($vbulletin->options['legacypostbit'] == 1)
{
$template_hook['postbit_userinfo_right'] .= $post[field43];
} else {
$template_hook['postbit_userinfo_left'] .= $post[field43];
}with
if ($vbulletin->options['legacypostbit'] == 1)
{
$template_hook['postbit_userinfo_right'] .= unhtmlspecialchars($post[field43]);
} else {
$template_hook['postbit_userinfo_left'] .= unhtmlspecialchars($post[field43]);
}Let me know if that helps.
I'm still working on the problem with the browse vehicles getting set to 1.
Dylanblitz
11-14-2011, 06:29 PM
Is there a way to remove/disable mileage?
You could just remove it from the templates
garage_vehicle_edit
garage_vehicle_view
There is nothing that requires the mileage field so just removing from the templates would work.
BajaBoatOwners
11-14-2011, 09:34 PM
You could just remove it from the templates
garage_vehicle_edit
garage_vehicle_view
There is nothing that requires the mileage field so just removing from the templates would work.
Thanks
ExoticAgenda
11-15-2011, 02:51 PM
I originally had a fluid style and I made it fixed, now when I click the Garage tab its left justified. Is there an easy way to center it with the same dimensions as the rest of the site? Thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.