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
  #1322  
Old 11-25-2004, 08:09 PM
flstreetscene flstreetscene is offline
 
Join Date: Sep 2003
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is what it would look like if I were to edit per instructions;

Code:
'canmanageothersusernotes' => 16384,
	'canpostownusernotes'      => 32768,
	'canpostothersusernotes'   => 65536,
	'caneditownusernotes'      => 131072,
	// START VBGARAGE HACK
		'canvbgarage'              => 262144
	// END VBGARAGE HACK,
	'canseehiddencustomfields' => 262144,
Reply With Quote
  #1323  
Old 11-25-2004, 08:25 PM
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Location: Roseville Sacramento CA
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My members are running into a issue. They can see the garage, but for some reason, they can not edit the fields in the usercp. it's not there. All the admins can thou. I go to the usergroup and set the permissions to use it but, it defaults to off. Is there a way I can make it permintaly enabled?
Reply With Quote
  #1324  
Old 11-25-2004, 10:15 PM
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Location: Roseville Sacramento CA
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update, I decided to move the vbgarage up on the list, and now it shows up...


PHP Code:
    'canviewmembers'           => 1,
    
'canmodifyprofile'         => 2,
    
'canvbgarage'              => 4,   <<<<<<<inserted it here
    
'canviewothersusernotes'   => 8,
    
'canmanageownusernotes'    => 16,
    
'canseehidden'             => 32,
    
'canbeusernoted'           => 64,
    
'canprofilepic'            => 128,
    
'canuseavatar'             => 512,
    
'canusesignature'          => 1024,
    
'canusecustomtitle'        => 2048,
    
'canseeprofilepic'         => 4096,
    
'canviewownusernotes'       => 8192,
    
'canmanageothersusernotes' => 16384,
    
'canpostownusernotes'      => 32768,
    
'canpostothersusernotes'   => 65536,
    
'caneditownusernotes'      => 131072,
    
'canseehiddencustomfields' => 262144,
    
'caninvisible'             => 524288,<<<<<<<swapped with this
I just swapped caninvisible with it, since I don't allow anyone to be invisible. It's a bandaid fix. Is there a limitation to the array?
Reply With Quote
  #1325  
Old 11-26-2004, 01:31 AM
flstreetscene flstreetscene is offline
 
Join Date: Sep 2003
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok this is strange...

I used the uninstaller and reinstalled. I used Silverstangs above posted [code] for init.php did everything as per instruction says and voila I got the the garage working. However, in the usergroup manager there is no option to enable "Can use vBGarage?" for any usergroups but yet they can all view it...?

So basically everything works except for that minor detail...
Reply With Quote
  #1326  
Old 11-26-2004, 12:44 PM
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Location: Roseville Sacramento CA
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Magnus & Action-N
For the Add-on Add "latest Uploads" to FORUMHOME by magnus..

When I use the following in your instructions for Vb 3.0.1 it works fine but......
it does not work when I use those for vb 3.0.3. on my test machine or main forum.


In index.php:
FIND:
PHP Code:
// ### WELCOME MESSAGE ################################################# 
Add ABOVE:
PHP Code:
// START VBGARAGE HACK 
// ### VBGARAGE ######################################################### 
$result_latest $DB_site->query(
    SELECT vbgarage_images.* 
    FROM " 
TABLE_PREFIX "vbgarage_images 
    ORDER BY vbgarage_images.vbgarageid DESC 
    LIMIT 5 
"
); 
      
while (
$latest $DB_site->fetch_Array($result_latest)) 

    eval(
'$latestbits .= "' fetch_template('vbgarage_latestbits') . '";'); 


$DB_site->free_result($result_latest); 
// END VBGARAGE HACK 
In includes/init.php
Find:
PHP Code:
// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
    
'canviewmembers'           => 1,
    
'canmodifyprofile'         => 2,
    
'caninvisible'             => 4,
    
'canviewothersusernotes'   => 8,
    
'canmanageownusernotes'    => 16,
    
'canseehidden'             => 32,
    
'canbeusernoted'           => 64,
    
'canprofilepic'            => 128,
    
'canuseavatar'             => 512,
    
'canusesignature'          => 1024,
    
'canusecustomtitle'        => 2048,
    
'canseeprofilepic'         => 4096,
    
'canviewownusernotes'       => 8192,
    
'canmanageothersusernotes' => 16384,
    
'canpostownusernotes'      => 32768,
    
'canpostothersusernotes'   => 65536,
    
'caneditownusernotes'      => 131072,
    
'canseehiddencustomfields' => 262144
And add:
PHP Code:
    'canvbgarage'              => 524288


************************************* CHANGES I HAD TO DO***************
For vb 3.0.3. I had to use the following changes to your instructions in
order to get the Add-on Add "latest Uploads" to FORUMHOME by magnus..
for vbgarage to work. I tried it on 4 different test machines, two running 3.0.1
and two running 3.0.3. Freash installs for all 4 attempts, with the timeslips
hack and vbadvanced installed. I seem to run into two issues. The first issue
is with index.php. I get the error that I posted earlier
Quote:
Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT vbgarage_images.*
FROM vb3vbgarage_images
ORDER BY vbgarage_images.vbgarageid DESC
LIMIT 5

mysql error: Unknown table 'vbgarage_images'

mysql error number: 1051

Date: Wednesday 24th of November 2004 08:19:06 AM
Script: http://www.stangcountry.com/forums/index.php?
Referer: http://www.stangcountry.com/forums/...dex.php?do=head
Username: Silverstangs
IP Address: 69.xxx.xxx.xxx


The second is with init.php. I'm not sure exactly what the issue is
but I have noticed that I can not use any number higher than 262144.
When I attempt to use the number 524288 it seems to have the option
Can use vBGarage? in the Usergroup Manager under
General Permissions to always be set to No for all the
users except for the admins. I attempt to switch it on, with several different
computers, and it won't stick. I get the same results with the test machines.
I don't know if you can confirm the issue I have found, but hopefully this can
help you all or someone else.

************************************************** **********************


In index.php:
FIND:
PHP Code:
// ### WELCOME MESSAGE ################################################# 

Add ABOVE:
PHP Code:
// START VBGARAGE HACK 
// ### VBGARAGE ######################################################### 
$result_latest $DB_site->query(
    SELECT * 
    FROM " 
TABLE_PREFIX "vbgarage_images 
    ORDER BY vbgarageid DESC 
    LIMIT 5 
"
); 
      
while (
$latest $DB_site->fetch_Array($result_latest)) 

    eval(
'$latestbits .= "' fetch_template('vbgarage_latestbits') . '";'); 


$DB_site->free_result($result_latest); 
// END VBGARAGE HACK 

In includes/init.php
Find:
PHP Code:
// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
    
'canviewmembers'           => 1,
    
'canmodifyprofile'         => 2,
    
'caninvisible'             => 4,
    
'canviewothersusernotes'   => 8,
    
'canmanageownusernotes'    => 16,
    
'canseehidden'             => 32,
    
'canbeusernoted'           => 64,
    
'canprofilepic'            => 128,
    
'canuseavatar'             => 512,
    
'canusesignature'          => 1024,
    
'canusecustomtitle'        => 2048,
    
'canseeprofilepic'         => 4096,
    
'canviewownusernotes'       => 8192,
    
'canmanageothersusernotes' => 16384,
    
'canpostownusernotes'      => 32768,
    
'canpostothersusernotes'   => 65536,
    
'caneditownusernotes'      => 131072,
    
'canseehiddencustomfields' => 262144
REPLACE with:
PHP Code:
// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
    
'canviewmembers'           => 1,
    
'canmodifyprofile'         => 2,
    
'canvbgarage'              => 4,
    
'canviewothersusernotes'   => 8,
    
'canmanageownusernotes'    => 16,
    
'canseehidden'             => 32,
    
'canbeusernoted'           => 64,
    
'canprofilepic'            => 128,
    
'canuseavatar'             => 512,
    
'canusesignature'          => 1024,
    
'canusecustomtitle'        => 2048,
    
'canseeprofilepic'         => 4096,
    
'canviewownusernotes'       => 8192,
    
'canmanageothersusernotes' => 16384,
    
'canpostownusernotes'      => 32768,
    
'canpostothersusernotes'   => 65536,
    
'caneditownusernotes'      => 131072,
    
'canseehiddencustomfields' => 262144,
    
'caninvisible'             => 524288

Thanks --Scott
--Silverstangs
Reply With Quote
  #1327  
Old 11-26-2004, 01:37 PM
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Location: Roseville Sacramento CA
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh btw, here is the web site in which I have this wonderful hack installed! :banana:


Stangcountry
Reply With Quote
  #1328  
Old 11-26-2004, 03:35 PM
Jason McConnell Jason McConnell is offline
 
Join Date: Jun 2004
Location: Syracuse NY
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Action-N
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.
I've been watching this hack for a few months now, and think that this is an awesome idea... but as I don't run a vehicle-based site, I was wondering how difficult would it be to convert the phrasing towards Computer Modifications? Not to mention would such a change be approved? I'd like to have a way for my members to post pics of their computers, their specs, overclocking info and all that, and this hack would be the most efficient way.
Reply With Quote
  #1329  
Old 11-26-2004, 05:42 PM
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Location: Roseville Sacramento CA
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jason McConnell
I've been watching this hack for a few months now, and think that this is an awesome idea... but as I don't run a vehicle-based site, I was wondering how difficult would it be to convert the phrasing towards Computer Modifications? Not to mention would such a change be approved? I'd like to have a way for my members to post pics of their computers, their specs, overclocking info and all that, and this hack would be the most efficient way.

It's not that hard to do, more of changeing a few words... I am doing that for another type of forum.
Reply With Quote
  #1330  
Old 11-26-2004, 05:46 PM
Jason McConnell Jason McConnell is offline
 
Join Date: Jun 2004
Location: Syracuse NY
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Silverstangs
It's not that hard to do, more of changeing a few words... I am doing that for another type of forum.
I guess what I need to know besides wanting permission is this: What exactly would I have to do? Go through all install files and weed out the words I want to replace? Obviously I would leave the credit to Magnus available, I didn't think that it would be that easy :\
Reply With Quote
  #1331  
Old 11-26-2004, 11:29 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Slightly off topic -- I am interested in swapping links with VBGarage users - and want to do so on the VB Garage Footer. Anyone interested? Feel free to email me at joeychgo@lincolnvscadillac.com
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 06:12 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.05954 seconds
  • Memory Usage 2,380KB
  • 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
  • (1)bbcode_code
  • (9)bbcode_php
  • (4)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