Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBGarage v3.1.1 (now with GD-Lib support!) Details »»
vBGarage v3.1.1 (now with GD-Lib support!)
Version: 1.00, by magnus magnus is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-08-2004 Last Update: 04-13-2004 Installs: 371
DB Changes
 
No support by the author.

[high]***[/high]CLICK HERE FOR vB3.0.5 INSTALLER/UPDATE[high]***[/high]


vBGarage v3.1.1 (now with GD-Lib support!)

Description
This hack will allow your users to create a virtual garage where they can store photos, details, etc.. about their vehicle (this can be modified to suit forums of other interests).

Latest Uploads will be displayed on Garage List.

Forum users can now leave comments in member garages.

Admin functions are available in the AdminCP.

This version contains the ability to limit access by usergroup(s). All templates are 100% XHTML Verified!

Information
Tested and developed on vB 3.0.0 Gold.

Requires
GD 2.0+ Library

Demo
http://www.sffba.net/forum/vbgarage.php?do=list (Temporary)

This hack, as like the rest of my hacks, are FREE. However, if you enjoy this hack and feel the need to donate something for my time you can do so by clicking the icon below:


*NOTE: Those who donate are explicitly granted permission to remove the "Powered by" information from the vBGarage footer.

*NOTE: When donating, please include your forum url. Thanks!

Version History
v3 - Initial release. Let's hope I don't have alot of entries here.
v3.0.1 - Added GD-Lib Support!
v3.1.0 - Added User Comments, Latest Uploads on Garage List, AdminCP Options
v3.1.1 - Added ability for Admin to "edit" users' garages. Use ImageCopyResampled(); over ImageCopyResized(); for better thumbnail quality.

Planned Features
- Multiple entries per user.
- Possible integration with Photopost/Coppermine/etc..

If you use this, please click

* Installation script by John

[hr]-[/hr]
UPGRADES

v3.1.0 -> v3.1.1 UPGRADE INSTRUCTIONS

v3.0.1 -> v3.1.0 UPGRADE INSTRUCTIONS

v3.0 -> v3.0.1 UPGRADE INSTRUCTIONS

[hr]-[/hr]
MODIFICATIONS/ADD-ONS

[high]1. Add "Who's Online" Location by magnus[/high]
[high]2. Organize Your vBGarage Templates by magnus[/high]
[high]3. Increase Thumbnail Image Quality (v3.1.1 and older) by magnus[/high]
[high]4. Alphabetize Garage List by magnus[/high]
[high]5. Add "Latest Uploads" to FORUMHOME by magnus[/high]
[high]6. EvilLS1's Timeslip Database Integration by SVTOA[/high]
[high]7. Installer/Uninstaller by Action-N[/high]
[high]8. vBulletin 3.0.5 Compatible Installer/Update by noppid[/high]

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #712  
Old 05-01-2004, 06:30 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I did was look for this line

Code:
<td class="alt2" width="60%">$data[text]
and changed 60% to 50% and I got 2 vertical colmns of pics instead of one. DOnt know if thats the best way, but it worked for me.


Quote:
Originally Posted by will_lean
Hi
im still getting my images displaying in a vertical line instead of stacked up in twos?
ive added the space after the closing tag in imagebits/editimagebits but for some reason its using a vertical alignment still?

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>
the above is my imagebits template data? is there something i missed?
im using gd2.0
Reply With Quote
  #713  
Old 05-01-2004, 01:22 PM
Hialls's Avatar
Hialls Hialls is offline
 
Join Date: Jul 2002
Location: Reading, England
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm does anyone else find every other uploaded image doesn't have a working thumbnails?
Reply With Quote
  #714  
Old 05-01-2004, 05:00 PM
WildStorm WildStorm is offline
 
Join Date: Mar 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by muscle-mustangs
I had this same problem, first you need to make sure you have GD enabled in your php file. Just open up your php file and search for GD. when you find it take the ";" out in front of it then save it. This will enable it. Second go into your admin CP and make sure GD is selected at 2.0

hope this helps
gd
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled

This is what my GD says in my PHPinfo file....

I turned GD to 1.6.x in my AdminCP, and 2.0, but neither work.
Reply With Quote
  #715  
Old 05-01-2004, 07:52 PM
WildStorm WildStorm is offline
 
Join Date: Mar 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hialls
Hmm does anyone else find every other uploaded image doesn't have a working thumbnails?
I'm still having that problem myself...
Reply With Quote
  #716  
Old 05-01-2004, 09:18 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WildStorm
gd
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled

This is what my GD says in my PHPinfo file....

I turned GD to 1.6.x in my AdminCP, and 2.0, but neither work.
What version of PHP do you have? we're running PHP V. 4.3.4 and I had to go in and manually turn on GD. It looks like you have GD installed however, it says 1.6.2 or higher. The question is: does higher go up to 2.0? Magnus said 2.0 is required. I mean if your running PHP V 4.3.4 or higher I'm almost certain you have GD 2.0 enabled.

It has to do with that though. Because I had the same problem with the little red X's then if you click the little red X's it will bring the pic up. This was because GD wasn't enabled. It looks like you have GD enabled, but is it 2.0 or higher?

Here is what my GD info says for my site:

GD Support enabled
GD Version bundled (2.0.22 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Reply With Quote
  #717  
Old 05-01-2004, 11:34 PM
will_lean will_lean is offline
 
Join Date: Apr 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi

Ive tried your edit joey as well as the space added in the templates but i still get my pictures in a vertical column,all other functions are fine i just cant seem to get more than 1 row.

im using php4.3.3 on the server with gd2
Reply With Quote
  #718  
Old 05-02-2004, 12:45 AM
WildStorm WildStorm is offline
 
Join Date: Mar 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well... I'm having my host update my GD version... hopefully it won't take weeks.
Reply With Quote
  #719  
Old 05-02-2004, 02:00 AM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
I think he was referring to two separate garages. Although, your idea works fine for the meantime. I will be allowing multiple garages (which is definable in AdminCP) in a future release.
I'm not going to use this for cars but something else and I'm looking forward to this feaure being added
Reply With Quote
  #720  
Old 05-02-2004, 07:03 AM
Envy-UK Envy-UK is offline
 
Join Date: Mar 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by muscle-mustangs
hmm....no prob. just so I won't have to search threw this huge thread page by page, do you have those codes handy you posted a while back? The ones where it will get rid of it saying stuff like UNKNOW LOCATION then gives the link to Vbgarage?

Thanks for your help
https://vborg.vbsupport.ru/showpost....&postcount=232
Reply With Quote
  #721  
Old 05-02-2004, 07:06 PM
Envy-UK Envy-UK is offline
 
Join Date: Mar 2004
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Magnus,

I'm trying to use this hack with GD 1.6. However, the thumbnails still display as a red 'X' after I have the made changes you told me to; with the following error when the URL is typed into the browser:

Warning: imagecopyresampled(): requires GD 2.0 or later in /homepages/33/d84375326/htdocs/vbgarage.php on line 427

How can I change 'imagecopyresampled' to enable it to work with GD 1.6?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:42 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.05395 seconds
  • Memory Usage 2,329KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete