vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DTO Garage - free garage features for all your members (vB 3.8.X) (https://vborg.vbsupport.ru/showthread.php?t=216529)

mferguson 06-26-2009 03:58 AM

SonicGT - does your modified postbit template have the following code in it?

Code:

$template_hook[postbit_userinfo_right]
We have a plugin that builds this for the postbit. Can you verify that this is present in your template?

As for the postbit in Garage its really not the standard postbit template. I built a postbit look to the display of the Garage entry but it doesn't use the standard or legacy postbit template to display the information.

Thanks!

Mark

PS - I'm currently traveling and will do my best to follow up to any reply you make while I still have Internet access.

Kolbi 06-26-2009 10:26 AM

You aren?t the only person, who has this problem :)

I think now we are 3-4 :)
That?s the incredible thing, this Template Hook is installed in the template and the plugin is all right.
Perhaps the plugin code or the template, the plugin includes, is not correct?

PS: I got your PN, but I wanted to wait to answer until you are back at home :) Enjoy your holidays!

Kolbi 06-26-2009 10:39 AM

I think I have the failure:
Look into the "dto_garage_postbit_userinfo" template there stands: "$dto_garage_popup_menu" but I can“t find this phrase.

mferguson 06-26-2009 12:47 PM

Please review the updated added below in red.

Quote:

Originally Posted by Kolbi (Post 1837728)
I think I have the failure:
Look into the "dto_garage_postbit_userinfo" template there stands: "$dto_garage_popup_menu" but I can?t find this phrase.

Late last night I think I found the cause of the no postbit garage link issue. It appears that something from our source code control worked its way back into the release. Given that I'm currently sitting in a campground in southwestern Colorado I don't have access to our source code control system. I really need to be able to carefully go back through some of the code versions to find where the problem was introduced and then roll the fix back in. In the meantime I've provided a temporary fix in the way of a plugin. To install this do the following:
  1. Save the attached file, dto-garage-tempfix.xml, to your desktop
  2. Log in to admincp
  3. Go to Plugins & Products > Plugin Manager
  4. For the DTO Garage Postbit Pop-up Menu click delete and confirm the deletin
  5. Go to Plugins & Products > Download/Upload Plugins
  6. Under the section "Import Plugin Definitions XML File" select the dto-garage-tempfix.xml file from your desktop and click Import
  7. You should now see the Garage link in your postbit

As soon as I get back to the office I'll get a complete fix in place for this issue, repackage, upload, and provide an update post to this thread. Thanks for your patience while I'm away from the office :up:

Best regards,

Mark

Update: as 1.1.1 has been released this information no longer applies as it has been included in a new product release.

Kolbi 06-26-2009 04:00 PM

Is only the } at the end of the code different?

Now working perfectly.
Demo: http://www.2-wheel-planet.de/aprilia....html#post8452

SonicGT 06-26-2009 04:18 PM

Works great with the fix, thanks :up:

Love the mod, I like that I don't have to do major mods to styles and templates etc like the alternative.

I do agree that the price for the pro and its extra options aren't worth it for me and my site since alot of my users only have one car, although if it was a more inexpensive cost I would probably pick it up just to have the option.

Great work guys

Kolbi 06-26-2009 04:53 PM

I have a little question. In the template "dto_garage_popup_menu"
Code:

<if condition="$use_username_in_link">
<phrase 1="$userinfo[username]">$vbphrase[xs_garage] </phrase>
<else />
Garage
</if>

I tried this an always "Garage" appears.
The fact that you can?t edit the phrase $vbphrase[xs_garage] (it?s always ?{1}?s Garage) doesn?t makes it senseless?
Wouldn?t it better then instead of Garage would appear {1}?s Garage in the Postbit?

Code:

<if condition="$use_username_in_link">
<phrase 1="$userinfo[username]">$vbphrase[xs_garage] </phrase>
</if>

Doesn?t works? Why?
but
Code:

<if condition="$use_username_in_link">
<phrase 1="$userinfo[username]">$vbphrase[xs_garage] </phrase>
<else />
<phrase 1="$userinfo[username]">$vbphrase[xs_garage] </phrase>
</if>

Does what I want. :) It displays the phrase for example Kolbi?s Garage

Or don?t I understand this code...

Rideharder 06-26-2009 05:11 PM

Just an idea.. Say that you guys lower the price to $80 and allow members to pay for the first year $40 and it satisfied they pay the additional 40 at the end of the year to keep the mod.. I would jump on that bandwagon..

Guys don't give a up remember work is work and better work is hard work..

Anybody uses this saying above remember to quote me on that..lol

Kolbi 06-26-2009 05:29 PM

Is there a comment function or a rate system in DTO Garage?
I think this would be very nice.

I get an MySQL failure message:
Code:

Datenbankfehler in vBulletin 3.8.3:

Invalid SQL:
SELECT * FROM DTO_garage_vehicle WHERE userid =  AND display='1';

MySQL-Fehler  : 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 'AND display='1'' at line 1
Fehler-Nr.    : 1064
Fehler-Zeit  : Friday, 26.06.2009 @ 20:49:09
Datum        : Friday, 26.06.2009 @ 20:49:12
Skript        : http://www.2-wheel-planet.de/showthread.php?t=357
Referrer      :
IP-Adresse    :
Benutzername  : Kolbi
Klassenname  :
MySQL-Version : 5.0.67-log


oly51 06-26-2009 11:50 PM

I'm getting the following dB error after I applied the postbit fix. It goes away when I disable DTO Garage.

Code:

Database error in vBulletin 3.8.2:

Invalid SQL:
SELECT * FROM DTO_garage_vehicle WHERE userid =  AND display='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 'AND display='1'' at line 1
Error Number  : 1064
Request Date  : Friday, June 26th 2009 @ 08:39:40 PM
Error Date    : Friday, June 26th 2009 @ 08:39:40 PM
Script        : http://www.XXXXXXX.com/forums/showthread.php?t=9750
Referrer      :
IP Address    :
Username      :
Classname    : vB_Database
MySQL Version : 5.0.67-community

Edit: I re-imported the original XML file and DTO garage works without the dB error. But there is no garage link in the postbit.


All times are GMT. The time now is 05:48 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.01378 seconds
  • Memory Usage 1,752KB
  • 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
  • (6)bbcode_code_printable
  • (1)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
  • (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