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
  #1487  
Old 12-22-2004, 12:44 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'll look into it later.
i have it working on my site but i hacked the original a lot so things may be quite different.

will install the original on my test box to try it out later
Reply With Quote
  #1488  
Old 12-22-2004, 11:01 AM
aussiev8 aussiev8 is offline
 
Join Date: Aug 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you get the images out of the database and just have links!
that would be super!
Reply With Quote
  #1489  
Old 12-23-2004, 07:49 PM
Full Throttle Full Throttle is offline
 
Join Date: Feb 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on our board worked GREAT first try
Thanks
"clicks Install"
Mike
www.fullthrottletech.com
Reply With Quote
  #1490  
Old 12-25-2004, 10:34 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Couldn't get the "View Members Garage" link to work in the postbit..

Tried using a pic and plain text, won't show up unless I remove the IF statement in the postbit and even then it links to the vbgarage homepage intead of the members garage.


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
Reply With Quote
  #1491  
Old 12-26-2004, 02:08 AM
aussiev8 aussiev8 is offline
 
Join Date: Aug 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THIS SCRIPT IS INSECURE!
Last night i found 2 possible ways a hacker could gain entry via a hole in this script.
why isn't security a main issue with Vbulletin hacks? Its very sad, my vbgarage will now be taken down until i fix the hole..
Reply With Quote
  #1492  
Old 12-26-2004, 02:34 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would help if these are reported.
I think you should drop a PM to Action-N ( and possibly to me as well, I am eager to know what it is too ), to inform him and let him be aware of it, since he is the lead developer of this hack now.
Reply With Quote
  #1493  
Old 12-26-2004, 03:17 AM
Action-N's Avatar
Action-N Action-N is offline
 
Join Date: Jan 2002
Location: Pasco, WA
Posts: 225
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well now I know, but I am not a hacker. So as a nonhacker I wouldn't know such things. Right now I am working on adding more features to this script and storing the images on the server in folders. I haven't even started to consider optimizeing the code or talking to other developers or reading the vb files on making this script secure. Now since it'll be saving images to folders I will have to be concerned about security. Also 3.11 was not mine it was all magnus an he won't come around to update the file. At least you didn't post them for everyone to see.
Reply With Quote
  #1494  
Old 12-26-2004, 06:33 AM
aussiev8 aussiev8 is offline
 
Join Date: Aug 2004
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pm's sent!
Reply With Quote
  #1495  
Old 12-26-2004, 07:30 AM
trevelyn1015 trevelyn1015 is offline
 
Join Date: Dec 2004
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can anyone help me install gd on my server?
Reply With Quote
  #1496  
Old 12-27-2004, 05:02 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trevelyn1015
can anyone help me install gd on my server?
If you have Easyapache (built into WHM/Cpanel control panel powered servers) then here you go:
http://www.vbulletin.com/forum/showthread.php?t=120582
Reply With Quote
  #1497  
Old 12-27-2004, 03:51 PM
Benjamin_vb Benjamin_vb is offline
 
Join Date: Dec 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone experienced any trouble with the images not displaying in 'list' and 'view' actions on the vbgarage page?

I've looked through about 20 pages of this thread and havent had any luck.

I have GD Version bundled (2.0.28 compatible) installed and working, but only Red Xs where an image is supposed to appear. If i click on the Red X, the correct image oopens ina new window.

Page: http://www.vdubaddiction.com/forums/...ge.php?do=list


Any help would be greatly appreciated. Thanks!

-Benjamin
Reply With Quote
  #1498  
Old 12-27-2004, 09:28 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any new word on the update bud for the upgrade to your version from the old one? Also, I noticed on your current garage list page, it doesn't show a photo of the users car like it did before, will you incorporate this into it like you used to have it? Now it just says ID: XX

Thanks
Reply With Quote
  #1499  
Old 12-30-2004, 08:19 AM
djnth djnth is offline
 
Join Date: May 2003
Location: AZ
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand the need to make the next version as great as possible, but you have to draw the line somewhere and get the release out. Adding new features could go on forever, but if you could get a version out now everyone could contribute ideas on how to make the program better from first hand use rather than implementing something only to find out it could have been done differently or more efficiently if done another way. I don't mean to sound impatient, but I guess really I am just a bit impatient. I appreciate all of the work going into this but save some features for future versions.

BTW I plan on making a donation if Action-N sets one up to show my appreciation for all of the hard work that goes into this new version.
Reply With Quote
  #1500  
Old 12-30-2004, 09:24 PM
MR-2ZZ MR-2ZZ is offline
 
Join Date: Nov 2004
Location: Belmont Shore, CA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My permissions keep resetting, can someone repost the uninstaller. I am kinda tired of rehacking this thing every other day so I will wait for the new version to come out. Good job to all the people getting this new version going!
Reply With Quote
  #1501  
Old 12-30-2004, 10:08 PM
AshG AshG is offline
 
Join Date: Sep 2004
Location: East TN
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this hack and am pretty happy with it. Took me a while to get past the permission bug and get the templates copied to my different styles, but I enjoy the concept.

I'm wondering about other modifications... Is there a way for a user to have more than one car listed per account? Also, as I'll be renaming the categories to go with a computer theme, is there a way to increase the "year" dialogue from a 4-character maximum to something a little larger?

Thanks for such a cool hack.
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 08:37 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.06411 seconds
  • Memory Usage 2,379KB
  • 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
  • (5)bbcode_code
  • (2)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
  • (3)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