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)

gnatster 06-27-2009 01:26 AM

Quote:

Originally Posted by mferguson (Post 1837588)

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

It may be until Sunday until Mark has access, possibly Saturday evening.

Thanks for your patience on this, we will have it resolved.

Kolbi 06-27-2009 07:09 AM

Some problem like me, but the increbible thing is, that in some thread the garage link is there :)
Only in some threads there is the bug. :)

devilsown 06-28-2009 02:57 AM

should i get a blank page for this page?
http://www.grandprixforums.net/dto_g...?do=viewgarage

Kyrasis6 06-28-2009 07:50 AM

Quote:

PHP 5.X or later (compiled with GD support) and MySQL 5.X or later is required.
Crap, my server doesn't have php 5.0 or MySQL 5.0 installed. Any chance of increased compatability with older versions (4.0?) in the near future? I guess I'll have to start bugging my web host to upgrade his servers since we're on first name basis, lol.

kirkmkiv 06-28-2009 12:34 PM

Great job, I like where this is headed as I run automotive forums.

MrNase 06-28-2009 04:02 PM

Quote:

Originally Posted by devilsown (Post 1838665)
should i get a blank page for this page?
http://www.grandprixforums.net/dto_g...?do=viewgarage

You shouldn't but I get a blank page as well. I tried it on two different servers.

mferguson 06-29-2009 12:43 PM

Quote:

Originally Posted by Kolbi (Post 1837927)
Is only the } at the end of the code different?

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

Sorry for the delay in replying to this and other recent posts. I've just returned from a vacation with my family and have not had Internet access for the past two days.

As for the code change there was a permission check that had apparently crept in during a product file update from our source control system. This was from our Garage Plus product. I removed this permission check and delivered this in the plugin download above.

Again, I apologize for the delay in responding to the additional questions posted.

Best regards,

Mark

mferguson 06-29-2009 12:54 PM

Quote:

Originally Posted by Kolbi (Post 1837961)
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...


$dto_garage_popup_menu is actually a variable that, when referenced, in a template contains the needed html to render the pop-up menu. Currently the $use_username_in_link is not being set as it is for future expansion hence why it wasn't displaying as you would like. The reason I had selected the "Garage" link approach in postbit was because the post was already "owned" by the user so I felt that using the user's name next to the link so that it would look like "Mark's Garage" would be redundant. Also, since we found that there are often long usernames on sites we didn't want to create a visual problem with rendering a long username inside of the postbit since it was already displayed once.

Hope this helps shed a little light on the reason behind the madness :D

Best regards,

Mark

mferguson 06-29-2009 01:01 PM

Quote:

Originally Posted by Kolbi (Post 1837977)
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


We chose to not develop commenting and reviews since we wanted to gather site owner requirements for these features. As you can imagine these features could easily be abused by members/visitors by way of artificially driving up/down a garage rating, inappropriate comments relative to your site guidelines, etc. Given this I wanted to gather input on how owners would like to see these features managed and calculated (ratings) so that they minimize admin monitoring and provide something useful to the members.

As for the SQL error are you still receiving these? It looks like the above might have been displayed in rendering a Garage pop-up menu.

Thanks!

Mark

mferguson 06-29-2009 01:04 PM

Quote:

Originally Posted by oly51 (Post 1838150)
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.

Can you send me a PM with the URL where this error is being created? Obviously in my haste to provide a garage link plugin fix I missed something when trying to code this from a campground in Colorado :)

Thanks!

Mark


All times are GMT. The time now is 12:47 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.01449 seconds
  • Memory Usage 1,756KB
  • 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
  • (5)bbcode_code_printable
  • (7)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