Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #1772  
Old 11-13-2007, 03:25 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version vB are you using it on?

SVT
Reply With Quote
  #1773  
Old 11-13-2007, 03:26 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version of vb are you using?

SVT
Reply With Quote
  #1774  
Old 12-10-2007, 09:56 PM
WtwSkippy WtwSkippy is offline
 
Join Date: Sep 2006
Location: Orlando, Florida
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.6.8pl2
Reply With Quote
  #1775  
Old 03-11-2008, 09:49 AM
Twin_Turbo Twin_Turbo is offline
 
Join Date: Mar 2008
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your query has an error, it says do=$_REQUEST[do]&page=2 but it should say list instead of $_REQUEST[do] , try it...change the url manually in your browser and change it to list. Works fine then. I haven't installed this yet but that looks lika a super easy fix.
Reply With Quote
  #1776  
Old 03-11-2008, 10:38 AM
Twin_Turbo Twin_Turbo is offline
 
Join Date: Mar 2008
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SON240SX View Post
I tried installing vbGarage 3.1.1 on vBulletin v3.6.7 and I get this error:

What's going on?

EDIT:
I guess this doesn't work with vBulletin 3.6.7

Waiting paitently for 4.x.x


Fatal error: Call to a member function query_first() on a non-object in /home/xxxxx/forums/admincp/install_vbgarage.php on line 321


In the code it points to this:
Code:
if (!$preexists = $DB_site->query_first("SELECT templateid FROM " . TABLE_PREFIX . "template WHERE title = '" . addslashes($title) . "' AND styleid = $styleid")){
	$result = $DB_site->query("
		INSERT INTO " . TABLE_PREFIX . "template
			(styleid, title, template, template_un, dateline, username, version)
		VALUES
			($styleid,
			'" . addslashes("$title") . "',
			'" . addslashes("$template") . "',
			'" . addslashes("$template_un") . "',
			" . TIMENOW . ",
			'" . addslashes($bbuserinfo['username']) . "',
			'" . addslashes($vboptions['templateversion']) . "')
	");
}
I get the same error. Anyone know a fix for this? Looks like WtwSkippy managed to install this on the same ver. I'm using.

As for the error above, I think I found it.

In your vbgarage.php find
$pagenav = construct_page_nav($garagecount[garages],"vbgarage.php?$session[sessionurl]do=$_REQUEST[do]&perpage=$perpage");

and change to
$pagenav = construct_page_nav($garagecount[garages],"vbgarage.php?$session[sessionurl]do=$_REQUEST['do']&perpage=$perpage");
Reply With Quote
  #1777  
Old 05-02-2008, 08:24 AM
UK-Biker UK-Biker is offline
 
Join Date: Aug 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So will this work with 3.7.0 ?????????
Reply With Quote
  #1778  
Old 05-02-2008, 03:12 PM
UK-Biker UK-Biker is offline
 
Join Date: Aug 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump
Reply With Quote
  #1779  
Old 05-07-2008, 05:56 PM
SimonTuffGuy
Guest
 
Posts: n/a
Default

If anyone is having with page 2 on the newest version of this mod...

Open the vbgarage.php file... Search for $pagenav...

And replace it with this:

$pagenav = construct_page_nav(
$pagenumber, $perpage, $garagecount[garages],
'vbgarage.php?' . $vbulletin->session->vars['sessionurl']
. (!empty($vbulletin->GPC['perpage']) ? "&perpage=$perpage" : "")
);

There was an extra . 'do=$_REQUEST[do]', '' function in there for some reason, and I can't figure out why... I removed that and I'm able to access page 2 without any problems.
Reply With Quote
  #1780  
Old 05-17-2008, 03:19 PM
PlayfulGod PlayfulGod is offline
 
Join Date: Oct 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error
Quote:
Fatal error: Call to a member function query_first() on a non-object in /home/xxxxx/forums/admincp/install_vbgarage.php on line 321
I've tried the fixes listed and still get said error. VB version is 3.70
Reply With Quote
  #1781  
Old 06-01-2008, 01:36 PM
SVTOA SVTOA is offline
 
Join Date: Oct 2002
Location: In a fishbowl
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SVTOA View Post
If you are like me and use both Magnus's VB Garage Hack, and you also use EvilLs1's TIMESLIP DATABASE then you're going to love this!

Simply edit your 'vbgarage_viewgarage' template this way:

FIND:
Code:
<td class="alt2" width="60%">$data[text]

Add right after:

Code:
<!-- performance stats block by SVTOA -->
<br>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>My $data[year] $data[model] Performance Stats</b></span></td>
</tr>
<tr>
<td class="$getbgrow"><span class="smallfont">

<if condition="!$user['userid']">
<else />
<if condition="$user[field55] !='00.00'">
<b>My Best ET: <font color="red">$user[field55]</font>
<else />
This member has not added ET data to their vB Garage.
</if>
</if>
</span>
</td>
</tr>
<!-- best mph field -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field56] !='00.00'">
<b>My Best MPH: <font color="red">$user[field56]</font>
</if>
</span>
</td>
</tr>
<!-- rwhp field -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field51] !='0.0'">
<b>My RWHP: <font color="red">$user[field51]</font>
</if>
</span>
</td>
</tr>
<!-- best 60 foot time -->
<tr>
<td class="$getbgrow"><span class="smallfont">
<if condition="$user[field52] !='0.000'">
<b>My Best 60 foot time: <font color="red">$user[field52]</font>
</if>
</span>
</td>
</tr>
</td>
</tr>

</table>
<br/>

<!-- End PERFORMANCE STATS BLOCK -->

DONE!!!!

Now if a member has filled out the timeslip database "vehicle profile" fields, the info will display in this custom block! If they have not filled out the ET field, then all that will display is the message "This member has not added ET data to their vB Garage." (which you can edit to say whatever you want)

If they do not fill out the other fields, they simply will not display.

You do not have edit the field id's with this mod because EvilLS1's hack configures those fields the same on every board.


ENJOY!!!
This still works on Vb3.7.x :up:
Reply With Quote
Reply

Thread Tools

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 10:20 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.05856 seconds
  • Memory Usage 2,320KB
  • 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_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
  • (3)pagenav_pagelink
  • (3)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
  • (10)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