|
CND Garage add-on: Show cars in postbit
This modification is in the archives.
This plugin is made for the CND Garage system (http://www.cnd-systems.com/support/forums/forumdisplay.php?f=30) 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: HTML Code:
<div> $vbphrase[posts]: $post[posts] </div> HTML Code:
<if condition="$show[garage_cars]"><div><small><b><a href="garage.php?do=user_garage_view&id=$post[userid]">$post[musername]'s Garage</a></b>:<br />$post[garage_cars]</small></div></if> See the attached screenshot for the result, of course this one is customized to fit my forum style ![]() VERSIONS
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: HTML Code:
<a href="garage.php?do=user_garage_view&id=$post[userid]">$post[musername]'s Garage</a> HTML Code:
$post[garage_cars] HTML Code:
<if condition="$show[garage_cars]">
HTML Code:
</if>
Download
This modification is archived, downloads are still allowed. Screenshots |
|||||||||
Similar Mods
| Cars | vBulletin 3.6 Styles |