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
  #1312  
Old 11-24-2004, 10:24 PM
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Location: Roseville Sacramento CA
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do I need to change the top one to
PHP Code:
vbgarage_images ORDER BY vbgarageid DESC LIMIT 5 
Actually it didn't work...
Reply With Quote
  #1313  
Old 11-24-2004, 10:29 PM
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Location: Roseville Sacramento CA
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a different way to get the latest images to show up on another page?
Reply With Quote
  #1314  
Old 11-24-2004, 10:32 PM
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Location: Australia
Posts: 851
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK: I'm not sure if this has been posted yet, but I was working on a client vB and they were running this hack...

I had never seen this hack before, but a mod jumped out at me as needing doing...

find:
PHP Code:
    $navbits construct_navbits(array('' => 'vBGarage'));
    eval(
'$navbar = "' fetch_template('navbar') . '";');
    
    eval(
'print_output("' fetch_template('vbgarage_viewgarage') . '");'); 
replace with
PHP Code:
    $navbits construct_navbits(array('vbgarage.php' => 'vBGarage''' => "$user[username]'s Garage"));
    eval(
'$navbar = "' fetch_template('navbar') . '";');
    
    eval(
'print_output("' fetch_template('vbgarage_viewgarage') . '");'); 
This will create an easy link back to the Garage homepage in the navbar, and the viewed garage will have the user's name in the navbar and consequently the <title tags also...
Reply With Quote
  #1315  
Old 11-24-2004, 11:56 PM
Action-N's Avatar
Action-N Action-N is offline
 
Join Date: Jan 2002
Location: Pasco, WA
Posts: 225
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
Action-N, have you gotten any of my PM's? I haven't gotten any replies, so I'm just wondering..
Yeah, I get'em an read them. Never been good at getting back to people's emails, probably why I don't have a girlfriend as there always wanting to talk. I wanted to get the lastest work into the installer then add some comments for you then I'll zip you up a copy. No word from Integra99 so I don't think people want to wait for him, I'll send you the zip he gave me so you can see what work he did from your version.


Silverstangs, assuming your getting that error from the index.php code you can swap part of it with the code below. Replace the query part with this that's not critical of what the tables name is. Hopefully this will work for you, since I have never tried to put vbgarage images on the forum index before.

Code:
$result_latest = $DB_site->query(" 
    SELECT * 
    FROM " . TABLE_PREFIX . "vbgarage_images 
    ORDER BY vbgarageid DESC 
    LIMIT 5 
");

Natch, yeah I already had that one pointed out a few times. But my post is lost amongst these posts now, lol. The next version will have all the breadcrumb links going on, plus they'll be using phrases so the newbies won't have to hack the vbgarage code.

Ya know, there outta be a way for the thread owner to tag a post as important/must read so we can click a link that will list all the important/tagged posts.
Reply With Quote
  #1316  
Old 11-25-2004, 01:06 AM
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Location: Roseville Sacramento CA
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Action-N

Silverstangs, assuming your getting that error from the index.php code you can swap part of it with the code below. Replace the query part with this that's not critical of what the tables name is. Hopefully this will work for you, since I have never tried to put vbgarage images on the forum index before.

Code:
$result_latest = $DB_site->query(" 
    SELECT * 
    FROM " . TABLE_PREFIX . "vbgarage_images 
    ORDER BY vbgarageid DESC 
    LIMIT 5 
");
BINGO!!!!!!!

That was it, thank you so much!!!

My lession of the day... don't hack while sick!
Reply With Quote
  #1317  
Old 11-25-2004, 07:07 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, thank you!
Reply With Quote
  #1318  
Old 11-25-2004, 04:45 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any word on the new release yet lol or should another coder or I try to code one for you guys
Reply With Quote
  #1319  
Old 11-25-2004, 04:58 PM
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Location: North America
Posts: 737
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I'm interested in the same subject as well.
Reply With Quote
  #1320  
Old 11-25-2004, 06:14 PM
flstreetscene flstreetscene is offline
 
Join Date: Sep 2003
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: the garage is working (at least I can view it as an admin);

http://www.floridastreetscene.com/fo...ge.php?do=list

however you can't view it as a member and there is no option in admincp to set up permissions...

This could be from the error I received during installation;

Code:
Database error in vBulletin 3.0.3:

Invalid SQL: 
		CREATE TABLE vbgarage_images (
		  `vbgarageid` smallint(6) unsigned NOT NULL auto_increment,
		  `userid` int(10) unsigned NOT NULL default '0',
		  `name` varchar(50) NOT NULL default '',
		  `data` longblob NOT NULL,
		  `type` varchar(50) NOT NULL default '',
		  PRIMARY KEY  (`vbgarageid`)
		) TYPE=MyISAM AUTO_INCREMENT=1
	
mysql error: Table 'vbgarage_images' already exists

mysql error number: 1050

Date: Thursday 25th of November 2004 08:33:47 PM
Script: http://www.floridastreetscene.com/forums/admincp/install_vbgarage.php
Referer: http://www.floridastreetscene.com/forums/admincp/install_vbgarage.php
There is already a previous database that I tried to install it over. How could I fix this?
Reply With Quote
  #1321  
Old 11-25-2004, 07:23 PM
Action-N's Avatar
Action-N Action-N is offline
 
Join Date: Jan 2002
Location: Pasco, WA
Posts: 225
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by flstreetscene
however you can't view it as a member and there is no option in admincp to set up permissions...

There is already a previous database that I tried to install it over. How could I fix this?
Set permisions by going to Usergroups/Usergroup Manager click go button next to registered users an scroll down to General Permissions. At the bottom of that table you should see "Can use vBGarage?". However you could have another problem specified earlier. Open up your Int.php file like in the install readme and post the last few fieds of the genericpermissions field. You don't want to see to numbers there the same.

If the installation gets interupted it wont finish, obviously, but when going back through it doesn't check itself for previous versions an does what you noticed breaks an doesn't finish. I made an uninstaller that you can use to uninstall the database files an truly start over without having already exsists errors. The link to the file is posted in the original post at the bottom.
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 05:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11466 seconds
  • Memory Usage 2,338KB
  • 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
  • (3)bbcode_code
  • (3)bbcode_php
  • (3)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
  • (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