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
  #1577  
Old 01-16-2005, 01:00 AM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also curious as to when we might see some display adjustments. The current layout is very barebones.

I'm also hoping someone would release a "multiple car" option. Yes, there are some out there, but no code for public consumption.
Reply With Quote
  #1578  
Old 01-16-2005, 01:05 AM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cinq
In response to this :


In /includes/functions_showthread.php
FIND:
Code:
// ###################### Start process_highlight_postbit #######################
function process_highlight_postbit($text, $words, $prepend)
ADD ABOVE:
Code:
###################### FOR GARAGE ICON #######################
function fetch_garageicon($userid)
{
 	global $DB_site, $garagecache;
    if (!is_array($garagecache))
       {
       $garagecache = array();
       $garage = $DB_site->query
       	 ("
         SELECT gu.userid, user.userid
         FROM " . TABLE_PREFIX ."vbgarage_users AS gu
         LEFT JOIN " . TABLE_PREFIX ."user AS user ON gu.userid = user.userid
         ");

         while($garagequeryarray = $DB_site->fetch_array($garagequery))
         {
           $garagecache["$garagequeryarray[userid]"] = $garagequeryarray;
         }

               $DB_site->free_result($garagequery);
           }

         if($garageinfo = $garagecache[$userid])
           {
           if ($garageinfo[userid])
           	{
                return "$stylevar[imgdir_misc]/viewgarage.gif";
			}
           }
           return FALSE;
       }
###################### FOR GARAGE ICON #######################
SAVE AND UPLOAD THE FILE

In showthread.php in the root directory of your forums.
FIND:
Code:
$post['attachments'] = &$postattach["$post[postid]"];
ADD BELOW:
Code:
###################### FOR GARAGE ICON #######################
$post['garage'] = fetch_garageicon($post[userid]);
###################### FOR GARAGE ICON #######################
SAVE AND UPLOAD THE FILE


Now in your postbit template ( or postbit_legacy, whichever you are using )
Just add this whereever you want the icon image to show:
Code:
<if condition="$post[garage]">
<br><div><a href="$vboptions[bburl]/vbgarage.php?do=list&userid=$post[userid]" target="_blank">$post[garage]</a>
<br /></div></if>
Lastly, upload your image into your forum images directory, in the MISC folder.

NOT TESTED but it should work. Do feedback for any errors and I will amend the errors accordingly. Would be good if this post can be linked in the hack post under the modifications/addons bit.

Hope this helps
cinq,

what modifications can I make to your edits that would allow me to use text, rather than an image? Perhaps in the dropdown box when a username is clicked that will say "View User's Garage," but only if that user has a garage.
Reply With Quote
  #1579  
Old 01-16-2005, 10:06 AM
kenji4861's Avatar
kenji4861 kenji4861 is offline
 
Join Date: Jun 2003
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot for this Magnus. I made some changes, but works great! I hope my users will love it too.

http://www.spoofee.com/forums/vbgarage.php
Reply With Quote
  #1580  
Old 01-17-2005, 03:34 AM
speedracer68 speedracer68 is offline
 
Join Date: Jul 2004
Location: California
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noppid
Did you use the 3.0.5 update?
Noppid, I instaled vBGarage v3.1.1
Reply With Quote
  #1581  
Old 01-17-2005, 09:15 AM
V8Owner V8Owner is offline
 
Join Date: May 2004
Location: Sydney, Australia
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noppid
I see what ya want. Currently a group is either in or out and guests are supposed to be out, but they aint. I'm not really sure what's going on.

There is no granular groups by group way to display the garage currently that I can tell.
could anyone suggest a way to set up security such that only nominated groups have access to view as well?
Reply With Quote
  #1582  
Old 01-17-2005, 09:35 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by speedracer68
Noppid, I instaled vBGarage v3.1.1
Well the vBgarage update still says 3.1.1, however there is a link in the main post by magnus to the updates that were done as a result of vb3.0.5.

I have the whole thing re-written and relabeled as 3.1.2 so that confusion will go away. This includes images in the file system and a conversion tool to move images from the DB to the file system. The conversion is a two step process, you move the images to the FS and test, if things work well, you can then in step two remove the images from the DB.

The upgrade for users that want to stay with images in the DB will be very easy, just upload the new vbgarage.php and the new vbgconfig.php with the default settings and you're done.

New installs can choose which mode to operate the script in from the beginning, FS or DB mode.

The proposed 3.1.2 is running on my M/C site in filesystem mode (after a conversion from DB mode ) and my computer rigs site is in DB mode it you want a preview.
Reply With Quote
  #1583  
Old 01-17-2005, 12:04 PM
Inzagi Inzagi is offline
 
Join Date: Nov 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I installed noppid 3.05 version on my board.
But the thumbnails do not work at all (red crosses).
And what is even worse is that no matter wheater you click on a picture or a username on vbgarage.php page it alwayws redirects me to the index.php site without doing anythink else.

GD 2.0 is istalled on my server.

http://213.221.106.91/bond007/vbgarage.php?do=list

Does anybody has an idea what I can do to make it run properly ?
Reply With Quote
  #1584  
Old 01-17-2005, 12:10 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A quick look reveals this as the link produced...

Code:
http://213.221.106.91/bond007/index.php?/vbgarage.php?do=view&id=1
I'm looking at it, but I'm not sure what's causing it ATM. The other forum links seem ok.

My first impresssion was to say it's the forums path in the ACP, but I'm not sure.

Those links are generated in the Templates by this variable, $vboptions[bburl], nothing in the update would have affected that as there were no template updates and the script does not modify that variable.
Reply With Quote
  #1585  
Old 01-17-2005, 12:19 PM
Inzagi Inzagi is offline
 
Join Date: Nov 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=noppid]A quick look reveals this as the link produced...

Code:
http://213.221.106.91/bond007/index.php?/vbgarage.php?do=view&id=1
I'm looking at it, but I'm not sure what causing it ATM. The other forum links seem ok.

My first impresssion was to say it's the forums path in the ACP, but I'm not sure.
[quote]

Hi noppid,
you were 100% , it was the forums path in the ACP, I added a index.php there which was not neccessary. I thought it was right because the whole forum worked with it perfectly.
Now that I removed the index.php in the forum path the hack works like it should.
Thanks for the quick help.
Reply With Quote
  #1586  
Old 01-17-2005, 12:22 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gald to hear that worked out!
Reply With Quote
  #1587  
Old 01-18-2005, 09:16 AM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a quick question: Does this use the WYSIWYG-Editor?
Reply With Quote
  #1588  
Old 01-18-2005, 11:22 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrNase
Just a quick question: Does this use the WYSIWYG-Editor?
No, just an input box.

And a note:
HTML is off by default and even if you do turn it on, the new update strips any HTML before submission from the text input fields.
Reply With Quote
  #1589  
Old 01-18-2005, 07:33 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to thank Inzagi for his help with the next upgrade. Upon testing the stock code we found his server going to it's knees displaying the top 5 latest uploads on forumhome.

After a day of editing code and pretty much changing the entire way images are handled with GD, we got the usage load to at least a 70% or more improvement. I know that sounds nuts, but I think he can attest to this since he brought it to my attention.

I'm running the code and he is too. Although I have permission from magnus to work on this, I will contact him before I release anything.

Thanks
Reply With Quote
  #1590  
Old 01-19-2005, 11:29 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Due to 3.0.6(7?) there will be no new release till we can review the new code in vB for conflicts. We've only patched our forums so far so we have not had a chance to check things.
Reply With Quote
  #1591  
Old 01-19-2005, 12:31 PM
black04gt black04gt is offline
 
Join Date: Dec 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello,

i just went through each step one by one when installing the vbgarage and at the part where it says:

6. In the ADMINCP, under Usergroup -> Usergroup Manager, make sure to enable "Can use vBGarage?" for all usergroups which should have access!
By default, all usergroups are set to No.

i clicked on admins and then click on yes and this is the error that i get...????

Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE phpbb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrators',
description = '',
usertitle = 'Administrator',
opentag = '',
closetag = '',
passwordexpires = '180',
passwordhistory = '360',
canvbgarage = '1',
attachlimit = '0',
avatarmaxwidth = '100',
avatarmaxheight = '100',
avatarmaxsize = '500000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '5500',
pmsendmax = '500',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '4194239',
genericoptions = '31'
WHERE usergroupid=6
mysql error: Unknown column 'canvbgarage' in 'field list'

mysql error number: 1054

Date: Wednesday 19th of January 2005 08:14:42 AM
Script: http://www.tbmustangs.com/forum/admincp/usergroup.php
Referer: http://www.tbmustangs.com/forum/adm...t&usergroupid=6


i tried the same thing with regular registered users and got the same error...yet i followed the instructions exactly

was i suposed to upgade to vBulletin 3.0.5 first??? im running 3.0.3 or does it not matter?

please help

thanks

David
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 04:04 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.06578 seconds
  • Memory Usage 2,387KB
  • Queries Executed 31 (?)
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
  • (7)bbcode_code
  • (5)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
  • (4)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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