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)

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 07:53 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.01590 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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