Under normal circumstances skin inheritence will add the garage button to posts automatically by setting your skin as the child of the imported Garage skin. These instructions are provided if for some reason you need or want to do this process manually.
Adding the Macro
The first step is to create the macro for the button image. In your ACP click on 'Skins & Templates' -> 'Skin Manager'. Then click on your particular skin set in the list shown and choose Edit Childs Replacement Macros.
Click Add Macro in the upper right corner of the screen. Enter the following values:
Variable = P_GARAGE
Replacement = <img src='style_images/<#IMG_DIR#>/p_garage.gif' border='0' alt='View Vehicles' />.
Click Add This Macro
Make sure you have uploaded the p_garage.gif file to the image directory associated with your skin set.
Modifying the Template
Again in the Skin Manager click on your skin set and choose Edit Root Skin Template HTML. Scroll down and click 'Topic View' -> 'RenderRow' to bring up the template editor.
Search for this text:
{$post['report_link']}
Add this directly before it:
<a href="{ipb.script_url}act=garage&CODE=06&search=member&member_name={$post['name']}"><{P_GARAGE}></a>
That's it, you should now see the
button on the bottom of posts while viewing a thread like this:
