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)

Gamelobby 09-13-2009 07:57 PM

Quote:

Originally Posted by mferguson (Post 1883712)
Give this mod a try

https://vborg.vbsupport.ru/showthread.php?t=136625

It was written for vB 3.6 but may still work and provides bbCode support for Photobucket video :up:

Mark

Yes i tried that, but it doesn't seem to work at all, not sure what the problem is. Im thinking it has to do with the file type.
in their example they have a .SWF file, but my videos from photobucket are .PBW

MikesSite 09-15-2009 05:57 PM

Getting this error when uploading pics: [path]/includes/functions_dto.php on line 49

Any ideas?

mferguson 09-15-2009 06:23 PM

Can you PM me with information on the image that is trying to be uploaded? Ideally if you can provide me a URL to the image or email it to me I can test it here.

Thanks!

Mark

Kolbi 09-18-2009 02:18 PM

1 Attachment(s)
If think there is a little bug in the navbar.

The first thing is that the dropdown menu is not below the garage link and second the class of the links seems not to be right.

Attachment 104522
Attachment 104523

mferguson 09-18-2009 02:34 PM

This typically happens if you have a custom style that has the pop-up menu html contained in the template named "navbar" To fix this I usually have to open the DTO Garage navbar template and cut out some code and paste that code into the vBulletin navbar template for that style. Below is an example of what that might look like:

Original DTO Garage Navbar template

PHP Code:

<td class="vbmenu_control"><a id="navbar_garage" href="dto_garage_help.php$session[sessionurl_q]rel="nofollow">Garage</a> <script type="text/javascript"vbmenu_register("navbar_garage"); </script>
            
            
    <
div class="vbmenu_popup" id="navbar_garage_menu" style="display:none">
        <
table cellpadding="4" cellspacing="1" border="0">
        <
tr>
            <
td class="thead" align="left">Garage</td>
        </
tr>
                <
tr><td class="vbmenu_option" align="left"><a href="$vboptions[bburl]/dto_garage.php$session[sessionurl_q]?do=index">Garages</a></td></tr>
$dto_garage_plus_search
                
<tr><td class="vbmenu_option" align="left"><a target="_help" href="$vboptions[bburl]/dto_garage_help.php$session[sessionurl_q]">Help</a></td></tr>
        </
table>
    </
div>
    
</
td


New DTO Garage Navbar template
PHP Code:

<td class="vbmenu_control"><a id="navbar_garage" href="dto_garage_help.php$session[sessionurl_q]rel="nofollow">Garage</a> <script type="text/javascript"vbmenu_register("navbar_garage"); </script>
</
td

New addition to vBulletin Navbar template


PHP Code:

<if condition="$show['popups']">
    <
div class="vbmenu_popup" id="navbar_garage_menu" style="display:none">
        <
table cellpadding="4" cellspacing="1" border="0">
        <
tr>
            <
td class="thead" align="left">Garage</td>
        </
tr>
                <
tr><td class="vbmenu_option" align="left"><a href="$vboptions[bburl]/dto_garage.php$session[sessionurl_q]?do=index">Garages</a></td></tr>
$dto_garage_plus_search
                
<tr><td class="vbmenu_option" align="left"><a target="_help" href="$vboptions[bburl]/dto_garage_help.php$session[sessionurl_q]">Help</a></td></tr>
        </
table>
    </
div>
.
.


Again your mileage may vary as all skins are done a little differently. For example in one site we integrated Garage Plus into we had to change the DTO Garage Navbar template from being enclosed in <td> tags to <li> tags while also moving the pop-up menu code to the vBulletin navbar.

Hope this helps!

Mark

kjsmith84 09-18-2009 11:13 PM

nevermind - thank u mark!!! awesome support!

mferguson 09-19-2009 02:15 AM

Glad to help. Let me know if you need any additional assistance!

Best regards,

Mark

Kolbi 09-21-2009 07:53 PM

Found another uncached template:
Uncached templates: dto_garage_postbit_userinfo (1)
/private.php?do=showpm&pmid=XXX

Is this right?
Code:

    else if(THIS_SCRIPT == 'usercp' OR THIS_SCRIPT == 'dto_garage' OR
THIS_SCRIPT == 'private')
    {
        $globaltemplates = array_merge($globaltemplates, array(
            'dto_garage_usercp',
            'dto_garage_postbit_userinfo',
        ));


mferguson 09-21-2009 08:05 PM

Quote:

Originally Posted by Kolbi (Post 1888610)
Found another uncached template:
Uncached templates: dto_garage_postbit_userinfo (1)
/private.php?do=showpm&pmid=XXX

Is this right?
Code:

    else if(THIS_SCRIPT == 'usercp' OR THIS_SCRIPT == 'dto_garage' OR
THIS_SCRIPT == 'private')
    {
        $globaltemplates = array_merge($globaltemplates, array(
            'dto_garage_usercp',
            'dto_garage_postbit_userinfo',
        ));



If the uncached template was being found when in private messaging then yes this is the correct place to add it.

Thanks!

Mark

Hostboard 09-23-2009 12:17 PM

Hi Mark got this error this morning...

Code:

Database error in vBulletin 3.8.4:

Invalid SQL:

        SELECT user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline,
            customavatar.width, customavatar.height, customavatar.width_thumb, customavatar.height_thumb
        FROM mmuser AS user
        LEFT JOIN mmavatar AS avatar ON avatar.avatarid = user.avatarid
        LEFT JOIN mmcustomavatar AS customavatar ON customavatar.userid = user.userid
        WHERE user.userid =;

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 '' at line 6
Error Number  : 1064
Request Date  : Wednesday, September 23rd 2009 @ 05:23:47 AM
Error Date    : Wednesday, September 23rd 2009 @ 05:23:47 AM
Script        : http://www.monstermayhem.org/forums/...ehicle_id=1025
Referrer      :
IP Address    : 66.249.71.68
Username      : Unregistered
Classname    : vB_Database_MySQLi
MySQL Version :



All times are GMT. The time now is 04:05 AM.

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.02322 seconds
  • Memory Usage 1,777KB
  • 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
  • (3)bbcode_php_printable
  • (2)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
  • (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