vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBGarage v3.1.1 (now with GD-Lib support!) (https://vborg.vbsupport.ru/showthread.php?t=63681)

Action-N 04-10-2004 08:56 PM

This was just the feature I needed for my forums, thanks. I did find some areas that need improvment, like use of image thumbnails. That's the biggy, then it would be nice to have more specific fields. This would help give the garages a more standard look instead of lteeting the user just add whatever to the text field.

I have already done this for myself, but just thought you might want to add some things to your "Features Planned" list. Below is a direct link to my garage, becuase it's eaiser than posting a screenshot. I have set it up to use the MultipleProfilePictures hack so images are thumbnailed. I reset the size for 250 wide, which is controlled in message attacthment options. Then I added more fields that I think are relevent to a vehicle profile. I still plan to add more features for my particular vbGarage. Thanks again for this hack

My vbGarage

magnus 04-10-2004 08:59 PM

v3.0 -> v3.0.1 UPGRADE INSTRUCTIONS (enable GD-Lib support!)

1. Download the vbgarage301.zip from the first post, and upload the new vbgarage.php to your forum ROOT directory, overwriting the old one.


2. Edit the vbgarage_editimagebits TEMPLATE:

REPLACE with:
[high](be sure to leave a SPACE after the closing </td>)[/high]
HTML Code:

<td class="alt2" valign="bottom"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&amp;width=100&amp;id=$image[vbgarageid]" alt="$image[name]" /><br />
<center><input type="checkbox" name="delete$image[vbgarageid]">$vbphrase[delete]</center>
</td>

3. Edit the vbgarage_imagebits TEMPLATE:

REPLACE with:
[high](be sure to leave a SPACE after the closing </a>)[/high]
HTML Code:

<a style="cursor:pointer; cursor-hand" href="vbgarage.php?do=popup&amp;image=$vboptions[bburl]/vbgarage.php?do=getimage&amp;id=$image[vbgarageid]" onclick="PopupPic(this.href); return false;" target="_blank"><img src="$vboptions[bburl]/vbgarage.php?do=thumb&amp;width=175&amp;id=$image[vbgarageid]" alt="$image[name]" border="0" /></a>
Done !!

magnus 04-10-2004 09:06 PM

Quote:

Originally Posted by Action-N
This was just the feature I needed for my forums, thanks. I did find some areas that need improvment, like use of image thumbnails. That's the biggy, then it would be nice to have more specific fields. This would help give the garages a more standard look instead of lteeting the user just add whatever to the text field.

I have already done this for myself, but just thought you might want to add some things to your "Features Planned" list. Below is a direct link to my garage, becuase it's eaiser than posting a screenshot. I have set it up to use the MultipleProfilePictures hack so images are thumbnailed. I reset the size for 250 wide, which is controlled in message attacthment options. Then I added more fields that I think are relevent to a vehicle profile. I still plan to add more features for my particular vbGarage. Thanks again for this hack

My vbGarage

Scott, looks real good! I tried to make it as configurable as possible, so people, like yourself, could tune it to look how you like.

The layouts will vary from board to board, I'm sure, because many people intend to use this for non-automotive purposes. So, developing a strict automotive layout would sort of make it more difficult for other genres. With the generic text file, people can more-or-less enter whatever they desire, or, take it upon themselves to hack it up however they feel.

I'm sure people would love it if you could post your modifications for the rest of the board. Of course, that's up to you. ;)

GD-Lib support has been added, as it's just been released. You can modify the thumbnail size by editing the [high]"width="[/high] variable sent in the vbgarage_imagebits & vbgarage_editimagebits templates.

Floris 04-10-2004 09:10 PM

Quote:

Originally Posted by magnus
Scott, looks real good! I tried to make it as configurable as possible, so people, like yourself, could tune it to look how you like.

The layouts will vary from board to board, I'm sure, because many people intend to use this for non-automotive purposes. So, developing a strict automotive layout would sort of make it more difficult for other genres. With the generic text file, people can more-or-less enter whatever they desire, or, take it upon themselves to hack it up however they feel.

I'm sure people would love it if you could post your modifications for the rest of the board. Of course, that's up to you. ;)

GD-Lib support has been added, as it's just been released. You can modify the thumbnail size by editing the [high]"width="[/high] variable sent in the vbgarage_imagebits & vbgarage_editimagebits templates.

I can't wait until all features are properly tested, extended and included.
Thank you for replying to my posts so quickly and I will keep my eyes out for version 1.x or even 2.x when it looks a bit more stable and organized. (not really complaining right though, just meaning that it feels like it is still in development).

magnus 04-10-2004 09:31 PM

Quote:

Originally Posted by floris
I can't wait until all features are properly tested, extended and included.
Thank you for replying to my posts so quickly and I will keep my eyes out for version 1.x or even 2.x when it looks a bit more stable and organized. (not really complaining right though, just meaning that it feels like it is still in development).

Yup. So far, it's stable. Of course, only time will tell. As for being in development, well, I think it'll more or less be that way forever.. I can see myself adding new things to this constantly. :)

Dsmed 04-10-2004 09:46 PM

how do i get this to work with php4?

magnus 04-10-2004 09:49 PM

Quote:

Originally Posted by Dsmed
how do i get this to work with php4?

This was designed on PHP Version 4.3.5. Are you having problems?

esoin 04-10-2004 11:11 PM

How can I make it so that before they hit "submit", it says that AT LEAST ONE attached photo is required? I'm not very fimiliar with coding in php, so if anyone can help me, that'd be great.

Also, will there be sorting functions in the display mode?

Limit attachments?

Limit attachment size?

Thanks again

magnus 04-10-2004 11:15 PM

Quote:

Originally Posted by esoin
How can I make it so that before they hit "submit", it says that AT LEAST ONE attached photo is required? I'm not very fimiliar with coding in php, so if anyone can help me, that'd be great.

In vbgarage.php:

FIND:
PHP Code:

if (empty($year) OR empty($make) OR empty($model))


REPLACE with:
PHP Code:

if (empty($year) OR empty($make) OR empty($model) OR empty($_FILES['src']['tmp_name'])


That should do it. ;)

Quote:

Originally Posted by esoin
Also, will there be sorting functions in the display mode? Thanks again

You bet'cha. ;)

Envy-UK 04-10-2004 11:17 PM

I've just made the update, however, although thumbnails do display, when clicked, I get the dreaded red 'X'.

Secondly, the username of the garage has gone completely, both from list and view.


All times are GMT. The time now is 11:00 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.02600 seconds
  • Memory Usage 1,762KB
  • 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
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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