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
  #32  
Old 04-09-2004, 08:36 PM
rockergrrl's Avatar
rockergrrl rockergrrl is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
No, there should be no , (comma) after 262144.
I tried that, and I got errors...

When I added a comma, it worked fine.
Reply With Quote
  #33  
Old 04-09-2004, 08:39 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rockergrrl
I tried that, and I got errors...

When I added a comma, it worked fine.
Now *that* is weird.. unless of course you've modified the init.php with another hack. This hack assumes that it's an unhacked init.php. The canvbgarage line should be the last line in that array, if not, then you'll have to modify the 262144 as well.
Reply With Quote
  #34  
Old 04-09-2004, 08:50 PM
dede1 dede1 is offline
 
Join Date: Mar 2002
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

magnus

what is for my error?

Datenbankfehler in vBulletin 3.0.0:

Ungueltige SQL-Abfrage:

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: You have an error in your SQL syntax near ';
' at line 9
Reply With Quote
  #35  
Old 04-09-2004, 08:53 PM
Clb Clb is offline
 
Join Date: Mar 2004
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what i did wrong was that i removed the 'caneditownusernotes' => 131072 part and i simply replaced it with 'canvbgarage' => 262144 which was wrong...

i should add it after that and not replace it
Reply With Quote
  #36  
Old 04-09-2004, 08:56 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dede1
magnus

what is for my error?

Datenbankfehler in vBulletin 3.0.0:

Ungueltige SQL-Abfrage:

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: You have an error in your SQL syntax near ';
' at line 9
Your SQL doesn't like the ; ? I assume you're getting this when you run the install_vbgarage.php?

Try running this query:
[SQL]
CREATE TABLE " . TABLE_PREFIX . "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;
[/SQL]
Reply With Quote
  #37  
Old 04-09-2004, 09:01 PM
dede1 dede1 is offline
 
Join Date: Mar 2002
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No this error:

Error

SQL-Befehl :

CREATE TABLE " . TABLE_PREFIX . "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 meldet:

#1064 - You have an error in your SQL syntax near '" . TABLE_PREFIX . "vbgarage_images( `vbgarageid` smallint( 6 ) unsigned NOT ' at line 1
Reply With Quote
  #38  
Old 04-09-2004, 09:03 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dede1
No this error:

Error

SQL-Befehl :

CREATE TABLE " . TABLE_PREFIX . "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 meldet:


#1064 - You have an error in your SQL syntax near '" . TABLE_PREFIX . "vbgarage_images( `vbgarageid` smallint( 6 ) unsigned NOT ' at line 1
Errr.. if you're running this in phpmyadmin, or from mysqladmin, etc.. remove the " . TABLE_PREFIX . "

[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;
[/SQL]
Reply With Quote
  #39  
Old 04-09-2004, 09:07 PM
dede1 dede1 is offline
 
Join Date: Mar 2002
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That now registered into the data base over PHPmyadmin
Reply With Quote
  #40  
Old 04-09-2004, 09:15 PM
dede1 dede1 is offline
 
Join Date: Mar 2002
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database is ok per phpmyadmin :

vbgarage_images
vbgarage_users

but how get I now the new Pharasen added?
Reply With Quote
  #41  
Old 04-09-2004, 09:17 PM
rockergrrl's Avatar
rockergrrl rockergrrl is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
Now *that* is weird.. unless of course you've modified the init.php with another hack. This hack assumes that it's an unhacked init.php. The canvbgarage line should be the last line in that array, if not, then you'll have to modify the 262144 as well.
Init.php is unhacked for me..

The clean init.php file has this 'canseedelnotice' => 262144

So having 'canvbgarage' => 262144, just wouldn't work

what should it be then?
Reply With Quote
  #42  
Old 04-09-2004, 09:21 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rockergrrl
Init.php is unhacked for me..

The clean init.php file has this 'canseedelnotice' => 262144

So having 'canvbgarage' => 262144, just wouldn't work

what should it be then?
Err.. 'canseedelnotice' is in a separate array. It's under:
PHP Code:
$_BITFIELD['usergroup']['forumpermissions'] = array( 
You need to be adding 'canvbgarage' under this array:
PHP Code:
$_BITFIELD['usergroup']['genericpermissions'] = array( 
In the end, it should look like this:

PHP Code:
$_BITFIELD['usergroup']['genericpermissions'] = array(
    
'canviewmembers'           => 1,
    
'canmodifyprofile'         => 2,
    
'caninvisible'             => 4,
    
'canviewothersusernotes'   => 8,
    
'canmanageownusernotes'    => 16,
    
'canseehidden'             => 32,
    
'canbeusernoted'           => 64,
    
'canprofilepic'            => 128,
    
'canseeraters'             => 256,
    
'canuseavatar'             => 512,
    
'canusesignature'          => 1024,
    
'canusecustomtitle'        => 2048,
    
'canseeprofilepic'         => 4096,
    
'canviewownusernotes'       => 8192,
    
'canmanageothersusernotes' => 16384,
    
'canpostownusernotes'      => 32768,
    
'canpostothersusernotes'   => 65536,
    
'caneditownusernotes'      => 131072,
// START VBGARAGE HACK
    
'canvbgarage'              => 262144
// END VBGARAGE HACK
); 
Reply With Quote
  #43  
Old 04-09-2004, 09:23 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dede1
Database is ok per phpmyadmin :

vbgarage_images
vbgarage_users


but how get I now the new Pharasen added?
Run the following queries:
[SQL]
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'vbgarage', 'vBGarage', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'vbgarage_allowed_total', 'You are allowed a preset number of images. Once that limit is reached, you will no longer be able to upload. Delete existing pictures to regain upload ability.', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'vbgarage_file', 'File', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_footer', 'Powered by: <b>vBGarage</b> by magnus', 1)
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_year', 'Year', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_make', 'Make', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_model', 'Model', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_text', 'Text', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_text_desc', '<a href=\"$vboptions[bburl]/misc.php?do=bbcode\">vB code</a> is <b>On</b><br /> <a href=\"$vboptions[bburl]/misc.php?do=showsmilies\">Smilies</a> are <b>On</b><br /> <a href=\"$vboptions[bburl]/misc.php?do=bbcode#imgcode\">[IMG]</a> code is <b>Off</b><br /> HTML code is <b>Off</b><br />', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'vbgarage_uploaded_images', 'Uploaded Image(s)', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_car', 'Car', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_listtitle', 'Member vBGarage(s)', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'vbgarage_edit', 'Edit vBGarage', 1);
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'can_vbgarage', 'Can use vBGarage?', 3);
[/SQL]
Reply With Quote
  #44  
Old 04-09-2004, 09:35 PM
rockergrrl's Avatar
rockergrrl rockergrrl is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus
Err.. 'canseedelnotice' is in a separate array. It's under:
PHP Code:
$_BITFIELD['usergroup']['forumpermissions'] = array( 
You need to be adding 'canvbgarage' under this array:
PHP Code:
$_BITFIELD['usergroup']['genericpermissions'] = array( 
[/PHP]
Bah.... Its been one of those days.... (Never try and hack of vBulletin when you have kids screaming)

now it works
Reply With Quote
  #45  
Old 04-09-2004, 09:45 PM
dede1 dede1 is offline
 
Join Date: Mar 2002
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@magnus

I thank you it run error free
Reply With Quote
  #46  
Old 04-09-2004, 10:10 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to hear you both got it working.

For those who are playing at home, I'm working on adding user comments to the pages as well.. this turned out to be easier than I thought, so I may release it as an add-on.
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:40 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.07286 seconds
  • Memory Usage 2,397KB
  • 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_php
  • (8)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