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)

kether1 01-04-2011 04:53 PM

Quote:

Originally Posted by Dylanblitz (Post 2143742)
You would have to change the database fields and some of the code that formats the numbers. It might be better to hide the fields and add a text field through a plugin. That file I sent you make sense?
You can do the same thing to add fields to the timeslip record as well.
In a couple versions all the custom fields will be done a lot easier through the ACP.

Thanks for the response! I had some trouble with the video field. Seems to give me a blank page (white page) when I submit the new entry. I have not had time to debug why that is just yet. I am trying to understand how it creates a plugin, but I am not really that good at code, so it takes a long time to find what I am looking for. I am learning though - thanks!!

Regarding: "It might be better to hide the fields and add a text field through a plugin."

I would still like to be able to use the cool sort feature you have on the timeslips page. If I hide the original fields and add new fields, would they still sort or (and I expect this is the case) would they not show up in the sort fields area?

I really look forward to being able to add custom fields in the ACP! That will be a great addition.:)

Kether

insanewhip 01-04-2011 05:04 PM

When i download the xml it shuts down my site and gives me an error code. As soon as i uninstall my site is back. I tryed installing lanuage file first, then first vb pro garage. Any Idea's why?

Dylanblitz 01-05-2011 03:30 AM

Quote:

Originally Posted by kether1 (Post 2144018)
Thanks for the response! I had some trouble with the video field. Seems to give me a blank page (white page) when I submit the new entry. I have not had time to debug why that is just yet. I am trying to understand how it creates a plugin, but I am not really that good at code, so it takes a long time to find what I am looking for. I am learning though - thanks!!

Regarding: "It might be better to hide the fields and add a text field through a plugin."

I would still like to be able to use the cool sort feature you have on the timeslips page. If I hide the original fields and add new fields, would they still sort or (and I expect this is the case) would they not show up in the sort fields area?

I really look forward to being able to add custom fields in the ACP! That will be a great addition.:)

Kether

I sent you a pm about the error.
Yes, if you hide the fields then you can't use the sort anymore. You could modify the file and the templates to get it to work but I don't know if that would be too much for you want to do.

Dylanblitz 01-05-2011 03:31 AM

Quote:

Originally Posted by insanewhip (Post 2144025)
When i download the xml it shuts down my site and gives me an error code. As soon as i uninstall my site is back. I tryed installing lanuage file first, then first vb pro garage. Any Idea's why?

What error is it giving you? You should install the product first and then the language, but even the other way around shouldn't cause errors.

insanewhip 01-05-2011 03:38 AM

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(78) : eval()'d code on line 4

Fatal error: require_once() [function.require]: Failed opening required '/home/content/i/n/s/insanewhips/html/includes/garage_func_var.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/i/n/s/insanewhips/html/forum.php(78) : eval()'d code on line 4

This is the error i get

Dylanblitz 01-05-2011 03:56 AM

Quote:

Originally Posted by insanewhip (Post 2144253)
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(78) : eval()'d code on line 4

Fatal error: require_once() [function.require]: Failed opening required '/home/content/i/n/s/insanewhips/html/includes/garage_func_var.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/i/n/s/insanewhips/html/forum.php(78) : eval()'d code on line 4


This is the error i get

Looks like you didn't upload all the files in the upload folder. When all is said and done you should have a file called garage_func_var.php in the includes folder and the script can't find it.

insanewhip 01-05-2011 04:01 AM

includes folder in my root? I uploaded the xml folder, i cant manually upload any files in the "upload" folder.

Dylanblitz 01-05-2011 05:14 AM

Quote:

Originally Posted by insanewhip (Post 2144264)
includes folder in my root? I uploaded the xml folder, i cant manually upload any files in the "upload" folder.

All the files in my upload folder need to be uploaded through ftp to the forum root while maintaining the folder structure. After you upload the files you install the product xml and then the language xml.

kether1 01-09-2011 03:09 PM

Quote:

Originally Posted by Dylanblitz (Post 2143742)
...In a couple versions all the custom fields will be done a lot easier through the ACP.

Is this still in the works? I have tried to edit the fields and add new fields with plugins, but would really love to just visit the ACP and set up my fields to work as expected. It seems, for all my efforts, I am just unable to get it where I would like it to use on a live site. I hope this is still in the works because I love this modification. Really nice work.

Kether

Dylanblitz 01-09-2011 07:19 PM

Quote:

Originally Posted by kether1 (Post 2146471)
Is this still in the works? I have tried to edit the fields and add new fields with plugins, but would really love to just visit the ACP and set up my fields to work as expected. It seems, for all my efforts, I am just unable to get it where I would like it to use on a live site. I hope this is still in the works because I love this modification. Really nice work.

Kether

If you want, send me a pm with the fields you want to add and they type for them, any selection fields let me know the values. I'll create the plugin for you.

Arboristsite 01-11-2011 06:44 PM

I have tried reinstalling several times, but this doesn't go away. Thoughts?

http://www.evtmotorsports.com/garage.png

nickmudry 01-12-2011 01:21 AM

How customizable is this mod? I want to use it for a different purpose that has nothing to do with cars, more of a directory for something.

Dylanblitz 01-12-2011 05:52 AM

Quote:

Originally Posted by Arboristsite (Post 2147667)
I have tried reinstalling several times, but this doesn't go away. Thoughts?

It's a left over field that shouldn't be there.
If you go to the ACP and edit the template
garage_vehicle_edit

Find and delete
Code:

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

Dylanblitz 01-12-2011 05:53 AM

Quote:

Originally Posted by nickmudry (Post 2147812)
How customizable is this mod? I want to use it for a different purpose that has nothing to do with cars, more of a directory for something.

It depends on how you want to customize it. If you just want to rename fields, that can be done through the language and phrase section of the ACP. If you want to add new fields you can do that through plugins. Let me know if a bit more detail what you are looking to accomplish.

KeystoneAirsoft 01-17-2011 12:21 PM

Hi all.

Has anyone got this to work 100% with all features running vBulletin 4.1.0 Patch Level 2? I have tried to install it 3 times and am unable to get the Comments section to show anywhere and all comment areas are enabled in admin.

Just curious if it works.

Thanks.

Kolbi 01-17-2011 05:11 PM

I gives me errors with vB 4.1.1:
Quote:

Deprecated: Assigning the return value of new by reference is deprecated in htdocs\includes\garage_func_var.php on line 6412

Deprecated: Assigning the return value of new by reference is deprecated in htdocs\includes\garage_func_var.php on line 6692

Deprecated: Assigning the return value of new by reference is deprecated in htdocs\includes\garage_func_var.php on line 8110

Dylanblitz 01-17-2011 07:17 PM

Quote:

Originally Posted by KeystoneAirsoft (Post 2150434)
Hi all.

Has anyone got this to work 100% with all features running vBulletin 4.1.0 Patch Level 2? I have tried to install it 3 times and am unable to get the Comments section to show anywhere and all comment areas are enabled in admin.

Just curious if it works.

Thanks.

Are you not able to comment or are the comments not showing up?

Dylanblitz 01-17-2011 07:19 PM

Quote:

Originally Posted by Kolbi (Post 2150561)
I gives me errors with vB 4.1.1:

If you open includes/garage_func_vars.php and replace all instances of

Code:

$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
with

Code:

$bbcode_parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());
it should fix it. There are 3 of them to replace.

Sixes 01-17-2011 08:04 PM

No worries on my end and I am now at 4.1.1

bjarne2 02-09-2011 02:01 PM

It is simply too poor software. It will not work in Internet Explorer 8 without it is in the Compatible mode and the rest of the vbulletin works in a different way. I have spent several days to put myself in the function of the software. It is so poorly written and sloppy that it will not buy the full virsion. This is really bad publicity for the official version.
We are in vBulletin 4.1.1 now........

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

Quote:

Originally Posted by Trumpetrhapsody (Post 2163367)
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:

Quote:

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:

Quote:

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

Quote:

Originally Posted by Trumpetrhapsody (Post 2163623)
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

HTML Code:

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.

cTak 02-25-2011 12:06 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

Dylanblitz 02-26-2011 10:30 AM

Quote:

Originally Posted by cTak (Post 2166546)
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

Quote:

Originally Posted by venom2124 (Post 2166515)
Okay keep getting the following message

HTML Code:

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

Quote:

Originally Posted by Dylanblitz (Post 2167077)
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

Quote:

Originally Posted by deadbolt80 (Post 2168621)
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/do...on_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.

cTak 03-07-2011 02:12 PM

Quote:

Originally Posted by Dylanblitz (Post 2167076)
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.

PHP Code:

.alt1, .alt1Active
{
    
background#242424;
    
color#FFFFFF;
    
padding5px;
    }
.
alt2, .alt2Active
{
    
background#141414;
    
color#FFFFFF;
    
padding5px;
}


html {
    
background#000000;



cTak 03-15-2011 11:46 PM

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

Quote:

Originally Posted by cTak (Post 2173803)
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
Quote:

$pagetext = str_replace('{vehicle}', $full_veh_link, $pagetext);
After add

Quote:

$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.

cTak 03-16-2011 02:12 PM

Quote:

Originally Posted by Dylanblitz (Post 2173895)
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!

cTak 03-16-2011 02:47 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!

Dylanblitz 03-16-2011 03:41 PM

Quote:

Originally Posted by cTak (Post 2174021)
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

Quote:

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


All times are GMT. The time now is 03:12 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.01869 seconds
  • Memory Usage 1,902KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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