Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
CND Garage add-on: Show cars in postbit Details »
CND Garage add-on: Show cars in postbit
Mod Version: 1.01, by flup (Member) flup is offline
Developer Last Online: Oct 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (2 votes - 4.50 average) Installs: 17
Released: 21 Jan 2009 Last Update: 21 Jan 2009 Downloads: 76
Not Supported Uses Plugins Template Edits  

This plugin is made for the CND Garage system (click) and will display the cars a user has in his garage. If there are no cars in the users garage, there wont be displayed anything

EDITS / UPLOADS / IMPORTS
- 1 plugin import
- 1/2 template edits

INSTALLATION GUIDE
First of all, import the plugin using: admincp -> Plugins & Products -> Download / Upload Plugins, the import form is on the bottom of the page.

After that, edit your postbit and/or postbit_legacy templates and find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below it add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

RESULT
See the attached screenshot for the result, of course this one is customized to fit my forum style

VERSIONS
  • 1.00 - Vehicles order by date of adding to the CND Garage
  • 1.01 - Order of the vehicle list by putting the main vehicle on top followed by the other/previous vehicles

CUSTOM TEMPLATE EDIT GUIDE
If you have a custom style, you can use these codes in your postbit templates:

To display the link to a users garage:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To display the users cars (+ links to the cnd garage car page):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Both can be placed between the following tags, these check if there are any cars found for the users:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	cnd_garage_cars_in_postbit.png
Views:	448
Size:	48.6 KB
ID:	93184  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Cars anyabelle vBulletin 3.6 Styles 57 21 Sep 2008 04:22

Comments
  #2  
Old 23 Jan 2009, 02:45
recklessop recklessop is offline
 
Join Date: Apr 2006
This looks like EXACTLY what we have been waiting for
Reply With Quote
  #3  
Old 23 Jan 2009, 08:39
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
Seems that it was already released under cnd itself (at their forums), however it looks a bit different as mine checks wether you actually have cars in your garage, if not - it won't display anything.

I'm not sure how their plugin works, but at least this was a good test for me to start getting used to the plugin system of vB :P
Reply With Quote
  #4  
Old 23 Jan 2009, 10:43
Haltech Haltech is offline
 
Join Date: Mar 2008
I own the CND Garage but since half of my users are IE7 guys, they cant even use the garage, which is a shame. i added your plugin for the post bit anyhow, no issues. Thanks.
__________________
http://www.mazdaspeedforums.org The HARDCORE Of Mazda High Performance Tech!
Reply With Quote
  #5  
Old 23 Jan 2009, 11:31
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Real name: Joshua
How come? I haven't had any messages from users that it wouldn't work in IE7 .. http://www.clubpunto.nl/garage.php is the link to my garage.. guess I'm gonna check this out for myself anyhow, perhaps I can find a fix

I disabled a lot of features for now, but the things I can find in the first couple of pages is only a template error.
While viewing my own vehicle, it showed the 'Add as primary' button next to a photo instead of above, which kinda stretched my website to wide. Other than that, everything seems to go find (submit forms, image uploads, viewing vehicles/modifications).
Reply With Quote
  #6  
Old 26 Feb 2009, 08:37
Blackheart_72 Blackheart_72 is offline
 
Join Date: Dec 2007
Real name: Craig
Fantastic mod fella, works just as i want it to.
__________________
LBG- Forum for the more Laidback Gamer
Reply With Quote
  #7  
Old 14 Mar 2009, 14:24
River_rush River_rush is offline
 
Join Date: Mar 2004
Real name: Chas
Missing the table prefix from the xml code, it works if you edit the line after // Get Cars from database to read


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
EscortRSCosworth.com
Reply With Quote
  #8  
Old 16 Mar 2009, 04:09
Redzzand Redzzand is offline
 
Join Date: Jan 2009
Originally Posted by River_rush View Post
Missing the table prefix from the xml code, it works if you edit the line after // Get Cars from database to read


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
where can this be found? what file?

Edit: Found it under Plugins & Products >> Plugin Manager >> Edit "Show CND Cars in Postbit" >> Plugin PHP Code

Edit 2: Thanks a million for this code! With this code, it works on 3.8.1 PL1!!!

Last edited by Redzzand; 16 Mar 2009 at 04:38.
Reply With Quote
  #9  
Old 18 Mar 2009, 06:08
ArchangelX ArchangelX is offline
 
Join Date: Feb 2006
Real name: Michael Kitchens
Thanks a bunch! Works even on 3.5!
__________________
Hawaii's Online Community!
Hawaii Talks
Reply With Quote
  #10  
Old 21 Mar 2009, 03:59
externalaw.com externalaw.com is offline
 
Join Date: Nov 2008
we found an IE fix, this product is not working if you use Cyb New Posts hack
Reply With Quote
  #11  
Old 22 Apr 2009, 17:31
Jamey Jamey is offline
 
Join Date: Apr 2009
I had to make a couple adjustments...installed! Thanks.
__________________
When in doubt...GAS IT!
Reply With Quote
  #12  
Old 21 Aug 2009, 16:53
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Real name: wayne
Originally Posted by River_rush View Post
Missing the table prefix from the xml code, it works if you edit the line after // Get Cars from database to read


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

hmm even with this mod i still get an error using latest vb 3.8
Reply With Quote
  #13  
Old 14 Sep 2009, 19:20
NTMID8 NTMID8 is offline
 
Join Date: Feb 2004
Had this working great but it stopped working with one of the latest revisions of CND. I'm on CND 2.0.5 now and no longer showing in postbit, so something has changed with the conditional maybe?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:32.

Layout Options | Width: Wide Color: