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
  #992  
Old 07-07-2004, 04:27 AM
QATAR SPEED QATAR SPEED is offline
 
Join Date: Jun 2004
Location: QATAR
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had it working on vb3.0.0 it was working great ( the users loves it )... but now after i up greade to vb 3.0.3 the Hack is not working properlly...

This is a great Hack someone has to Upgread it to work with the new VB 3.0.3

it's really sad to see a great hack like this one just stops upgreading :ermm:
Reply With Quote
  #993  
Old 07-07-2004, 04:55 AM
Beth Beth is offline
 
Join Date: Apr 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got it working. If its a new install of the garage i couldnt get it working.
If its already installed, and you're upgrading your forum do this:

The includes/init.php file already has a value assigned to it by vb in the latest upgrade.

The
Code:
'caneditownusernotes'      => 131072
now has another line underneath it in vb 3.0.3


In the includes/init.php where you're supposed to put
Code:
	'caneditownusernotes'      => 131072,
	// START VBGARAGE HACK
		'canvbgarage'              => 262144
	// END VBGARAGE HACK
and thats it for that part.


Now you will need to put:
Code:
		'caneditownusernotes'      => 131072,
	// START VBGARAGE HACK
		'canvbgarage'              => 262144,
	// END VBGARAGE HACK,
Then change the value of
Code:
'canseehiddencustomfields'
to 16777216

so that it will now look like this:

Code:
		'caneditownusernotes'      => 131072,
	// START VBGARAGE HACK
		'canvbgarage'              => 262144,
	// END VBGARAGE HACK,
	'canseehiddencustomfields' => 16777216,
I havent much experience with this stuff, but this was the only way i could make sense of it to get it to work.

If someone has a correction or a better way, please post and let us know.
Thanks.
Reply With Quote
  #994  
Old 07-07-2004, 05:14 AM
QATAR SPEED QATAR SPEED is offline
 
Join Date: Jun 2004
Location: QATAR
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'll try that


but this is what i did

it was like this
Code:
'caneditownusernotes'      => 131072,

 'canseehiddencustomfields' => 262144,

now i did it like this

Code:
'caneditownusernotes'      => 131072,
'canseehiddencustomfields' => 262144, 
'canvbgarage'              => 524288,
nothing really changed


I still can't see VBGarage on the ACP , all the post the user made on the pic are gone plus you cant add any new posts .. in the Edit vBGarage u can't upload pic anymore
Reply With Quote
  #995  
Old 07-07-2004, 05:19 AM
Beth Beth is offline
 
Join Date: Apr 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is already a value ther for what you put in. 524288 is further down in the init file. You must have a unique number which is the number i put in my post.

I neglected to say that i repeated the install step as far as the first step only to the template step and then i had to repeat the final steps of the directions on the hack installation instructions.

This is what i had to do - i tested it first on my own computer that has a server running off it for testing. it worked for me. It may not work for you. If you wait for a few hours someone might be able to point you in a better or simpler direction.

Good luck with whichever you choose to do.
Reply With Quote
  #996  
Old 07-07-2004, 06:11 AM
QATAR SPEED QATAR SPEED is offline
 
Join Date: Jun 2004
Location: QATAR
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just put the new value 'canseehiddencustomfields' => 16777216, same thing nothing happend!

Iam really thinking of makeing an all new fresh instaull but i am afraid that i mite scrow things up

I mite have to wait till someone can fix this ...
Reply With Quote
  #997  
Old 07-07-2004, 07:18 AM
QATAR SPEED QATAR SPEED is offline
 
Join Date: Jun 2004
Location: QATAR
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i tried to make a new install

and i got this error:

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: Wednesday 07th of July 2004 11:16:51 AM
Script: http://www.qatarspeed.com/forum/admi...l_vbgarage.php
Referer: http://www.qatarspeed.com/forum/admi...l_vbgarage.php
Username: xxxxxxxx
IP Address: xxxxxxxx
Reply With Quote
  #998  
Old 07-07-2004, 10:13 AM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by QATAR SPEED
ok i tried to make a new install

and i got this error:

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: Wednesday 07th of July 2004 11:16:51 AM
Script: http://www.qatarspeed.com/forum/admi...l_vbgarage.php
Referer: http://www.qatarspeed.com/forum/admi...l_vbgarage.php
Username: xxxxxxxx
IP Address: xxxxxxxx
Quote:
mysql error: Table 'vbgarage_images' already exists
Error says it, the table named vbgarage_images already exists.

Delete the table
Reply With Quote
  #999  
Old 07-07-2004, 05:47 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After upgrading to 3.0.2 it seems that the tables for setting and settinggroup were recreated. At least the vbgarage options were no longer in them.

Here's how we enabled it again.

Backup your DataBase First!

edit init.php to this...

PHP Code:
    // Reputation

    
'canseeownrep'             => 256,
    
'canuserep'                => 524288,
    
'canhiderep'               => 1048576,
    
'cannegativerep'           => 2097152,
    
'canseeothersrep'          => 4194304,
    
'canhaverepleft'           => 8388608,
    
// START VBGARAGE HACK
    
'canvbgarage'              => 16777216
    
// END VBGARAGE HACK    
); 
This leaves the vB options in their correct places.

Next run these five queries to repair the vbulletin option menu. We did it in phpmyadmin and do not have table prefixes, if you have table prefixes you must edit the table names.

[sql]
INSERT INTO settinggroup (grouptitle, displayorder, volatile) VALUES ('vbgarage', '650', 1);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES('vbgenable', 'vbgarage', '1', '1', 'yesno', 10, 0, 1);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES('vbgcomments', 'vbgarage', '1', '1', 'yesno', 20, 0, 1);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES('vbgmaxupload', 'vbgarage', '6', '6', '', 30, 0, 1);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES('vbgmaxfilesize', 'vbgarage', '200000', '200000', '', 40, 0, 1);

[/sql]

All of the queries are from the install script.

Good Luck.
Reply With Quote
  #1000  
Old 07-07-2004, 09:29 PM
DeeperImage DeeperImage is offline
 
Join Date: Nov 2001
Location: Kennesaw, GA
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noppid
After upgrading to 3.0.2 it seems that the tables for setting and settinggroup were recreated. At least the vbgarage options were no longer in them.

Here's how we enabled it again.

Backup your DataBase First!

edit init.php to this...

PHP Code:
    // Reputation

    
'canseeownrep'             => 256,
    
'canuserep'                => 524288,
    
'canhiderep'               => 1048576,
    
'cannegativerep'           => 2097152,
    
'canseeothersrep'          => 4194304,
    
'canhaverepleft'           => 8388608,
    
// START VBGARAGE HACK
    
'canvbgarage'              => 16777216
    
// END VBGARAGE HACK    
); 
This leaves the vB options in their correct places.
Where exactly do you add that in init.php? thanks.
Reply With Quote
  #1001  
Old 07-07-2004, 09:39 PM
DeeperImage DeeperImage is offline
 
Join Date: Nov 2001
Location: Kennesaw, GA
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OKay all i did was run the queries in phpmyadmin and it works. I did not edit anything. I just went back into vbulletin options/vbgarage options and hit save and it works now.
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:38 PM.


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.05828 seconds
  • Memory Usage 2,350KB
  • 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
  • (7)bbcode_code
  • (2)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