Fusion Scripts Documentation Glossary   
Search  
   
Browse by Category
Fusion Scripts Documentation .: Garage Module .: Tips / Addons .: How to add a link under profiles in posts

How to add a link under profiles in posts

This guide will show you how to add a link to the garage under each user's profile in a post. You could use this as an alternative or addition to the Garage button on the bottom of the posts.

Modifying the Template

In your ACP click on 'Skins & Templates' -> 'Skin Manager'. Then click on your particular skin set in the list shown and choose Edit Root Skin Template HTML. Scroll down and click 'Topic View' -> 'RenderRow' to bring up the template editor.

Search for this text:

          {$author['avatar']}<br /><br />
          {$author['title']}<br />
          {$author['member_rank_img']}<br /><br />
          {$author['member_group']}<br />
          {$author['member_posts']}<br />
          {$author['member_joined']}<br />
          {$author['member_location']}
          {$author['member_number']}<br />
<if="author['custom_fields'] != """>
{$author['custom_fields']}
</if>

Add this line inbetween which ever lines above, it's really up to you which line you want this to be :) Replace 'View Vehicles' with whatever text you want to be displayed as the link to the Garage.

<a href="{ipb.script_url}act=garage&amp;CODE=06&amp;search=member&amp;member_name={$post['name']}">View Vehicles</a><br />

All done, quick and easy! You should end up with something like this, depending on where you placed the line and with what text you used as the link:

Garage Link in Post Profile


How helpful was this article to you?

Related Articles

article Manually adding garage button to posts
Under normal circumstances skin inheritence...

  12-7-2004    Views: 2660   

User Comments

Add Comment
Comment Rob
4-6-2005 at 12:10pm

Perfect - works with 1.3 as well.
As always, excellent instructions... worked like a charm with our garage at www.v70r.com


.: Powered by Lore 1.5.6
Copyright © 2005 Fusion Scripts. All Rights Reserved