vb.org Archive

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

bosanci28 11-21-2011 07:44 PM

hi,
i was trying to install this in 4.1.8 and when i try to install the language.xml it say:
"""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."""

any clue why?
thanks

bosanci28 11-21-2011 07:47 PM

update: it looks i had to choose english and then also override .
and it worked.

thanks for now.

josephu 11-25-2011 12:33 AM

Hello, I have this installed on my forums and love it. I tried to get my host (they do all the installs for me, They are great!) to install a second one of this mod (yes 2 of the same mods on the same forum) they said they could not do it because some of the files would overwrite eachother or something. I run a militia web site, and would like this same software tailored for use with weapons (mainly guns) and have it displayes right above the vehicle garage. Is it possible to do this? (customize it for use with guns and other weapons and have it installed on the same forum where the garage is already installed)

www.UnitedMIlitia.org

bosanci28 11-27-2011 11:47 PM

another question:

how to make the garage not to be visible to guests ?,unregistered,users awaiting email,and users awaiting mod. ,i play with the settings,

but the pictures still shows!

how to fix that?

thanks

nuTTTz 11-29-2011 03:32 PM

Hi Dylan

[S]I have postd the requested info to you via pm on your forum.
I am not however seeing my reply to you in the sent messages.
Are you in fact getting them? I have probly sent 3 that do not show.[/S]

So it seems I did not have "save copy to sent" option clicked, you should have all the requested info, in triplicate lol.

Look forward to hearing from you.

TY
nuTTTz

Dylanblitz 12-02-2011 01:05 AM

Quote:

Originally Posted by josephu (Post 2271616)
Hello, I have this installed on my forums and love it. I tried to get my host (they do all the installs for me, They are great!) to install a second one of this mod (yes 2 of the same mods on the same forum) they said they could not do it because some of the files would overwrite eachother or something. I run a militia web site, and would like this same software tailored for use with weapons (mainly guns) and have it displayes right above the vehicle garage. Is it possible to do this? (customize it for use with guns and other weapons and have it installed on the same forum where the garage is already installed)

www.UnitedMIlitia.org

Sorry, you cant run it twice on the same forum, it's not setup for that.

MotMann 12-15-2011 07:50 AM

How i deinstall that Mod complete out of the Database? There are some rests to see, maybe in Userprofile.

And when we can get german phrases?

Dylanblitz 12-16-2011 02:29 AM

Quote:

Originally Posted by MotMann (Post 2277948)
How i deinstall that Mod complete out of the Database? There are some rests to see, maybe in Userprofile.

And when we can get german phrases?

There is a custom user profile field that I used for the postbit text. If you want to remove the mod you have to manually remove that, it doesn't automatically do it.

Jonm 12-20-2011 08:29 PM

1 Attachment(s)
well one of my members noticed a problem tonight... when trying to upload a photo it shows an error... see attachments

anyone?

MotMann 12-22-2011 08:52 AM

Quote:

Originally Posted by Dylanblitz (Post 2278200)
There is a custom user profile field that I used for the postbit text. If you want to remove the mod you have to manually remove that, it doesn't automatically do it.

And how i can do that? I don't know something about database :(

Dylanblitz 12-24-2011 07:41 PM

Quote:

Originally Posted by MotMann (Post 2280008)
And how i can do that? I don't know something about database :(

You can do it from the ACP
ACP->User Profile Fields->User Profile Field Manager
The garage uses field43

MotMann 12-25-2011 12:05 PM

And what happened with the garage data fields in the database? i delete them too :)

thebucky84 01-03-2012 05:32 AM

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


Haven't checked in on here for some time and was just wondering if there has been any progress on this feature?

fiatforever 01-07-2012 03:17 AM

Any progress on the browse page reseting to 1?

ExoticAgenda 01-07-2012 08:27 PM

Is there a way to display the username or vehicle in the subject of a new post when that feature is enabled?

also, how can I remove the vehicle dropdown in the 'about me' section of a users profile? thanks

ExoticAgenda 01-11-2012 02:55 PM

nvm on the the removing of the vehicle dropdown. i just needed to delete the extra profile field.

still trying to figure out when a new post is created for each new vehicle, how i can put the username and vehicle in the subject

wickedstangs 01-16-2012 12:46 AM

how can I fix this the drop down arrow is covered..
http://www.wmdracing.net/images/WMD%20Racingtag.png

www.wmdracing.net

Dylanblitz 01-20-2012 04:35 AM

Quote:

Originally Posted by fiatforever (Post 2284669)
Any progress on the browse page reseting to 1?

Give this a try. Open includes/garage_func_var.php

Find
Code:

if ($data[make_id] != $old_make_data[make_id])
{
rebuild_make_count($data[make_id]);
rebuild_make_count($old_make_data[make_id]);
}

if ($data[model_id] != $old_make_data[model_id])
{
rebuild_model_count($data[model_id]);
rebuild_model_count($old_make_data[model_id]);
}

$adding = $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "garage_user_vehicle SET nickname = '$data[nickname]', made_year = '$data[made_year]', engine_type = '$data[engine_type]', veh_class = '$data[veh_class]', color = '$data[color]', mileage = '$data[mileage]', mileage_unit_new = '$data[mileage_unit]', fuel_preference = '$data[fuel_preference]', price = '$data[price]', currency = '$data[currency]', comments = '$data[comments]', date_updated = '$data[date_updated]', make_id = '$data[make_id]', model_id = '$data[model_id]', trim_id = '$data[trim_id]', spirit_id = '$data[spirit_id]', spirit_type_id = '$data[spirit_type_id]', vehicle_url = '$data[vehicle_url]', vehicle_country = '$data[vehicle_country]', vehicle_zip = '$data[vehicle_zip]', vehicle_zip_hide = '$data[vehicle_zip_hide]', purchase_month = '$data[purchase_month]', purchase_day = '$data[purchase_day]', purchase_year = '$data[purchase_year]', notify_enabled = '$data[comm_notify]' WHERE vehicle_id = '$data[id]'");


    if ($adding)
    {
    $return_var = $data[id];
    } else {
    $return_var = "error";
    }

replace with

Code:

$adding = $vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "garage_user_vehicle SET nickname = '$data[nickname]', made_year = '$data[made_year]', engine_type = '$data[engine_type]', veh_class = '$data[veh_class]', color = '$data[color]', mileage = '$data[mileage]', mileage_unit_new = '$data[mileage_unit]', fuel_preference = '$data[fuel_preference]', price = '$data[price]', currency = '$data[currency]', comments = '$data[comments]', date_updated = '$data[date_updated]', make_id = '$data[make_id]', model_id = '$data[model_id]', trim_id = '$data[trim_id]', spirit_id = '$data[spirit_id]', spirit_type_id = '$data[spirit_type_id]', vehicle_url = '$data[vehicle_url]', vehicle_country = '$data[vehicle_country]', vehicle_zip = '$data[vehicle_zip]', vehicle_zip_hide = '$data[vehicle_zip_hide]', purchase_month = '$data[purchase_month]', purchase_day = '$data[purchase_day]', purchase_year = '$data[purchase_year]', notify_enabled = '$data[comm_notify]' WHERE vehicle_id = '$data[id]'");


    if ($adding)
    {
    $return_var = $data[id];
    } else {
    $return_var = "error";
    }

if (($data[make_id] != $old_make_data[make_id]) && ($data[make_id] > 0))
{
rebuild_make_count($data[make_id]);
rebuild_make_count($old_make_data[make_id]);
}

if (($data[model_id] != $old_make_data[model_id]) && ($data[model_id] > 0))
{
rebuild_model_count($data[model_id]);
rebuild_model_count($old_make_data[model_id]);
}

I switched it to that on my dev and I'm doing everything I can to try and break it and the numbers are coming out right.

Dylanblitz 01-20-2012 04:46 AM

Quote:

Originally Posted by ExoticAgenda (Post 2286551)
nvm on the the removing of the vehicle dropdown. i just needed to delete the extra profile field.

still trying to figure out when a new post is created for each new vehicle, how i can put the username and vehicle in the subject

I don't have the notification setup for that, would need to make some code changes for that to work

Dylanblitz 01-20-2012 04:48 AM

Quote:

Originally Posted by wickedstangs (Post 2288355)
how can I fix this the drop down arrow is covered..


www.wmdracing.net

It looks like you got it worked out? Looks good to me when I look at the forum home

ExoticAgenda 01-20-2012 11:30 AM

Quote:

Originally Posted by Dylanblitz (Post 2290110)
I don't have the notification setup for that, would need to make some code changes for that to work

Oh ok gotcha. Is it a hard thing to make work? I think it would be kind of cool. The reason being is that on my site we created a section to show off peoples rides, and the feature you have to create a post is awesome. only thing is the subject is always be the same and hard to tell what vehicle was posted without reading. (http://www.exoticagenda.com/forumdis...Garage-Updates). If its not something you were looking to add no worries, figured id ask about it. Mod is great though

IMTalk.org 01-21-2012 02:37 PM

First thanks for this great mod!!! :)

I have problem with uploaded image quality.
I have lightbox enabled and when I upload jpg from my PC (which is less than max file size and same in dimensions as max dimensions) uploaded pic in garage is lower quality than pic on my PC.
I checked the full version of the pic also in "images/garage/attach" folder and it is same in quality as smaller (lightbox)version. Why is that?
I have checked your code for re-sizing and everywhere I can se that you have used 100 for quality, so I don't undersnatd why pic is "ruined" so to speak.
Is it because of GD2? Is it something that GD2 is doing by default to the pictures?
How can I have same quality pic in garage as it is on my PC?

Also is it possible not to create that full picture, because I don't see any use of it (at least not for me) and it is only using space, becsuse it is same in quality as that smaller(lightbox) pic?

Reece^B 01-21-2012 05:27 PM

I need a replacement for photoplog which isnt vB4 supported, and this looks just the thing!

IMTalk.org 01-24-2012 04:13 PM

Anyone?

ssoc 02-01-2012 04:46 AM

1 Attachment(s)
Since updating vBulletin to the latest version, and reverting the templates (as it requested), I have come across an error on my site with one particular user.

Here's a screenshot to show you:

Attachment 136223

I went to edit this users' profile in the admin panel and under the 'user profile fields-> Profile Fields from Form 'Edit Profile'' section, here's the code that's appearing in the box:

Code:

<!-- BEGIN TEMPLATE: garage_dropdown -->

<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="h

As you can see, the code's cut short.

I've compared this to a few other users and worked out that this is what should actually be in that box:

Code:

<!-- BEGIN TEMPLATE: garage_dropdown -->

<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://ssoc.co.uk/forums/garage_vehicle.php?do=view_vehicle&id=4"><img src="images/garage/attach/2/6/garage_vehicle-4-13203546061_thumb.jpg" alt="View Vehicle" width="75" border="0" />2002 Suzuki Swift - "Donkey Kong"</a></li>

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


<!-- END TEMPLATE: garage_dropdown -->

I tried replacing the code from within the admin panel but it just seems to revert back straight away.

Any idea what might be wrong? For the time being I've just removed all code from this user's profile, but this means in postbit that user doesn't have a link to his garage, whereas everyone else does.

Would appreciate any help.

ssoc 02-01-2012 06:24 AM

Just an update RE my previous post- I've fixed this now. Still not sure how or why that error came about, but what I done is go into PHPMyAdmin and change it manually. Seems to be fine now.

Mike Bucy 02-05-2012 10:07 AM

I have something similar if not the same.

I have VB4.1.10

User profile field has an unlabled box with this code in it:

<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.v8buick.com/garage_vehicle.php?do=view_vehicle&id=11"><img src="images/garage/attach/4/5/garage_vehicle-11-13283303183_thumb.jpg" alt="View Vehicle" width="75" border="0" />1973 BUICK ELECTRA</a></li>

<li class="left"><a href="http://www.v8buick.com/garage_vehicle.php?do=view_vehicle&id=12"><img src="images/garage/attach/4/5/garage_vehicle-12-13283317415_thumb.jpg" alt="View Vehicle" width="75" border="0" />1969 BUICK RIVIERA</a></li>

<li class="left"><a href="http://www.v8buick.com/garage_vehicle.php?do=view_vehicle&id=13"><img src="images/garage/attach/4/5/garage_vehicle-13-13283327205_thumb.jpg" alt="View Vehicle" width="75" border="0" />1985 BUICK REGAL</a></li>

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

Anyone have any thoughts!!!

discoduck 02-09-2012 09:02 PM

Quote:

Originally Posted by Mike Bucy (Post 2296376)
I have something similar if not the same.

I have VB4.1.10

User profile field has an unlabled box with this code in it:

<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.v8buick.com/garage_vehicle.php?do=view_vehicle&id=11"><img src="images/garage/attach/4/5/garage_vehicle-11-13283303183_thumb.jpg" alt="View Vehicle" width="75" border="0" />1973 BUICK ELECTRA</a></li>

<li class="left"><a href="http://www.v8buick.com/garage_vehicle.php?do=view_vehicle&id=12"><img src="images/garage/attach/4/5/garage_vehicle-12-13283317415_thumb.jpg" alt="View Vehicle" width="75" border="0" />1969 BUICK RIVIERA</a></li>

<li class="left"><a href="http://www.v8buick.com/garage_vehicle.php?do=view_vehicle&id=13"><img src="images/garage/attach/4/5/garage_vehicle-13-13283327205_thumb.jpg" alt="View Vehicle" width="75" border="0" />1985 BUICK REGAL</a></li>

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

Anyone have any thoughts!!!


I've got the same problem

discoduck 02-09-2012 09:19 PM

Quote:

Originally Posted by ssoc (Post 2294874)
Just an update RE my previous post- I've fixed this now. Still not sure how or why that error came about, but what I done is go into PHPMyAdmin and change it manually. Seems to be fine now.

Which table did you fix in phpMyAdmin? I'm trying to look for it.

Thanks

ssoc 02-14-2012 02:33 AM

Show a screenshot of your problem. Doesn't look like you're facing the same problem I was, based on what you've posted.

whitey92lx 02-14-2012 02:53 AM

Are you supposed to be able to click on a picture to zoom in a user's garage? I cant remember if mine ever did or not, but it isn't right now. When you click on a picture, it acts like it's trying to load, but never does.

discoduck 02-17-2012 12:58 PM

1 Attachment(s)
Quote:

Originally Posted by ssoc (Post 2299479)
Show a screenshot of your problem. Doesn't look like you're facing the same problem I was, based on what you've posted.

This is what's happening

ssoc 02-17-2012 09:21 PM

Quote:

Originally Posted by discoduck (Post 2300488)
This is what's happening

OK. Is it only for this one person?

First you need to find the code (in whole) that SHOULD be there. You can work this out by looking at another members profile via the admin panel (needs to be another member that has a 'Garage'). Basically you need to change the URL it links to for this particular user, and also the users' thumbnail pic.

Once you have that, you need to locate this OLD code in phpmyadmin, and replace it with the full code. It'll then be fixed.

I can't remember which table it was under off the top of my head, but if you do a search inside phpmyadmin, you shouldn't have any problem finding it.

If you get stuck, report back and I'll try find which table it was for you.

Remember to take a backup before messing around with the database. Better safe than sorry!

Dylanblitz 02-18-2012 08:03 PM

Sorry everyone, I took the wife and kids on vacation and haven't checked in here.

ssoc, look in your user profile fields, there is one there for the postbit dropdown in field43. If you edit that the field its probably still set to 250 characters. Bump that up to 10000 or so. What happened is someone edited their vehicle and the field cut off the length of the field.

discoduck and Mike Bucy, it looks like the problem I've run into on some forums where the text gets converted to html characters for some reason. Give this a try, do the same thing ssoc did and also edit a plugin
ACP->Plugins and Products->Plugin Manager
Edit the plugin Garage Postbit Vehicle Dropdown
Find
Code:

    if ($vbulletin->options['legacypostbit'] == 1)
    {
    $template_hook['postbit_userinfo_right'] .= $post[field43];
    } else {
    $template_hook['postbit_userinfo_left'] .= $post[field43];
    }

and replace it with

Code:

    if ($vbulletin->options['legacypostbit'] == 1)
    {
    $template_hook['postbit_userinfo_right'] .= unhtmlspecialchars($post[field43]);
    } else {
    $template_hook['postbit_userinfo_left'] .= unhtmlspecialchars($post[field43]);
    }

IMTalk,org, can you look at the includes/garage_func_var.php file and see if there area couple lines in there that say

Code:

$maxwidth_f = "800";
$maxheight_f = "600";

If there are, change those to be the max full size image you want them to be.
There are supposed to be 3 images created. 1 thumbnail for the page viewing, 1 medium size image for the litebox popup and then 1 large for detailed view. The large was accidentally hard coded to 800x600

Let me know if that fixes it for you guys and sorry for it taking a while to get back to you on the problems.

Dylanblitz 02-18-2012 08:06 PM

Quote:

Originally Posted by whitey92lx (Post 2299484)
Are you supposed to be able to click on a picture to zoom in a user's garage? I cant remember if mine ever did or not, but it isn't right now. When you click on a picture, it acts like it's trying to load, but never does.

I looked at a couple posts on your site and it seems to work right? Can you send me the link to a post that the link doesn't work on?

bposner 02-18-2012 08:49 PM

RESOLVED -I have the same problem, where do you look for these fields.. .sorry not sure what you were referring to. I don't have a field43 :(

EDIT I ran a rebuild from the Management screen "Rebuild Vehicle Postbit Dropdowns"

bposner 02-18-2012 08:52 PM

Quote:

Originally Posted by bposner (Post 2300977)
I have the same problem, where do you look for these fields.. .sorry not sure what you were referring to. I don't have a field43 :(

Ok just ran a rebuild and profiles got fixed but there is variable showing now: %1$s which I think is suppose to be some title to drop down?

Dylanblitz 02-18-2012 09:12 PM

Quote:

Originally Posted by bposner (Post 2300978)
Ok just ran a rebuild and profiles got fixed but there is variable showing now: %1$s which I think is suppose to be some title to drop down?

Do you have multiple languages on the forum? I've run into problems with that. I need to it fixed up in the revamp I'm working on.
Best bet for now is to edit the template garage_dropdown
Find
Code:

<a class="popupctrl" href="#"><strong>{vb:raw veh_col_text}</strong></a>
and replace it with

Code:

<a class="popupctrl" href="#"><strong>Vehicles</strong></a>

bposner 02-18-2012 11:40 PM

No, I did have a translator installed but disabled it as they were no longer offering a free version.
I will try you work around, thank you so much for you help and great great product

edit: no it's still there, see screen shot: http://screencast.com/t/JG7RLi8Vkxb

Dylanblitz 02-19-2012 12:29 AM

Quote:

Originally Posted by bposner (Post 2301001)
No, I did have a translator installed but disabled it as they were no longer offering a free version.
I will try you work around, thank you so much for you help and great great product

edit: no it's still there, see screen shot: http://screencast.com/t/JG7RLi8Vkxb

Did you rebuild the postbit after?


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07017 seconds
  • Memory Usage 1,864KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete