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 07-12-2009 02:40 PM

Thank you for the follow up. Glad everything is working!

Best regards,

Mark

powerbook 07-13-2009 10:57 PM

Cool hack thanks :)

It would've been nice if it was possible to integrate something like (Photo Popup - Insert pictures easily from vB Albums, Photopost, vBGallery, Photoplog) for image attach purposes. You know where you are able to piggyback on whatever software you have installed. That keeps images central. Bit just a penny..

mferguson 07-14-2009 03:08 AM

Thanks for the feedback. The reason that we didn't use other products/plugins is because we didn't want to depend on specific versions of other products to operate properly. Given that we have a testing and release process adding additional dependencies would further complicate an already complex testing matrix. For example we test against three major releases of vBulletin (vB 3.6, 3.7, and 3.8) and, in one package, address any differences in the vB versions.

All of the above said we do appreciate the feeback and I would encourage everyone using this modification to post your suggestions, new features, and requests so we can continue to improve this and our other products.

Best regards,

Mark

THE__DRIFTER 07-14-2009 04:01 AM

Twice I have added a response here tonight regarding the exact same opinion. Since it is quite obvious that the intent of this is to promote a "paid" version then speak up and say so. Don't hedge around the topic but own up to what it is. If this is useful then members will more than likely pay. For those of us that test the code it is an insult. I suppose this is the path VB is going down more these days so I am not surprised...

powerbook 07-14-2009 08:05 AM

I know what you mean and I understand where you are coming from.

It is not a big issue if the functionality is not there I was just thinking that people like Photopost have been around forver and giving site admins the option in the admin panel if they want to use/integrate their Garage software they can. Even the vBulletin album included would've been nice.

At least Garage doesn't just link to images on other sites which I find the biggest pain on any site.

Quote:

Originally Posted by mferguson (Post 1848396)
Thanks for the feedback. The reason that we didn't use other products/plugins is because we didn't want to depend on specific versions of other products to operate properly. Given that we have a testing and release process adding additional dependencies would further complicate an already complex testing matrix. For example we test against three major releases of vBulletin (vB 3.6, 3.7, and 3.8) and, in one package, address any differences in the vB versions.

All of the above said we do appreciate the feeback and I would encourage everyone using this modification to post your suggestions, new features, and requests so we can continue to improve this and our other products.

Best regards,

Mark


mferguson 07-14-2009 12:42 PM

Quote:

Originally Posted by powerbook (Post 1848475)
I know what you mean and I understand where you are coming from.

It is not a big issue if the functionality is not there I was just thinking that people like Photopost have been around forver and giving site admins the option in the admin panel if they want to use/integrate their Garage software they can. Even the vBulletin album included would've been nice.

At least Garage doesn't just link to images on other sites which I find the biggest pain on any site.

Understood. I've used Photopost on sites that I've developed and I understand the need for a single image store on a site so that in the future you don't have to manage yet another product, migrate it to something new, etc.

If we were to consider adding support to use the vBulletin album functionality as the image store do you have any thoughts on how the permissions associated with the current album settings by usergroup should be handled? Right now, in our plugin, we allow approximately 20-22 images to be uploaded for one garage. In Garage Plus you can specify any number of garages per usergroup. With this in mind if the admin had not allowed for sufficient space in the vBulletin gallery but you had additional garages left what type of feedback should the user receive? Should it prevent additional garages from being created or should it just prevent new images from being uploaded?

Also, if using the vBulletin album store would it be ideal that the user already have the images he/she wanted in their albums and select those for use in their garage or, when creating a garage, allow the user to load new images and have those go into a given album? If the latter would the user want the ability to choose which album (or create a new album) to have the images placed into.

We're open to giving this consideration but we'll need to model the use cases carefully to make sure this would continue to be easy to use.

Thanks again for the feedbackk :up:

Mark

powerbook 07-14-2009 06:06 PM

Would you mind in telling me what I should add/remove if I don't want the popup but instead taking you directly to the garage.

Thanks

mferguson 07-14-2009 07:10 PM

Quote:

Originally Posted by powerbook (Post 1848728)
Would you mind in telling me what I should add/remove if I don't want the popup but instead taking you directly to the garage.

Thanks

Sure. This isn't supported out of the box so I put together some plugin code to support this. Just replace the contents of the DTO Garage Postbit Pop-up Menu plugin with the code below, save, and you will have a single link in the postbit that will take you to that user's garage.

Note: The link won't be display if the user has no garage entry or the garage setting "Allow others to view this vehicle" is set to no.

PHP Code:

global $pm$threadpm;

$show['dto_garage_has_vehicles'] = false;

$usepostid false;
$doable false;

// If this is a private message postbit draw then retrieve the userinfo of the user that the PM is from
if (THIS_SCRIPT == 'private') {
  if (
$_REQUEST['do']!= 'showhistory')
  {
    
$userinfo fetch_userinfo($pm['fromuserid']);
    
$doable true;
  }
}
else if ((
THIS_SCRIPT == 'showpost' || THIS_SCRIPT == 'showthread') && $post['visible'] != 2)
{
  
$usepostid true;
  
  
// Get the poster's userinfo
  
$userinfo fetch_userinfo($post['userid']);
  
$doable true;  
}   

if(
$doable && !empty($userinfo))
{
    global 
$db;

    
$userID $userinfo['userid'];

    
$vehicle $db->query_first("SELECT * FROM " 
                    
TABLE_PREFIX "DTO_garage_vehicle WHERE userid = "$userID " AND display='1'");  
    
$content '';

    if(
$vehicle
    {      
      
$vehicle_id $vehicle['vehicle_id']; 
      
$content "<a target=\"_dto\" href=\"dto_garage.php?do=viewvehicle&amp;vehicle_id=$vehicle_id\">Garage</a>";    
    }

    
$template_hook[postbit_userinfo_right] .= $content;



Best regards,

Mark

Kolbi 07-14-2009 07:22 PM

Perhaps you can add this in the readme file for those who want to do this, too :)

powerbook 07-14-2009 07:44 PM

Thanks Mark :)

Somehow that code seems very odd to go into the "dto_garage_popup_menu" template... Unless I missing something..


All times are GMT. The time now is 07:43 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.01265 seconds
  • Memory Usage 1,766KB
  • 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
  • (3)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