dknelson
02-04-2005, 05:45 PM
Somebody had requested this and it was something that I had been thinking of adding to my own garage so here is the simple template mod to do it.
It simply adds a link from a member's profile page to their vBGarage page. You only have to edit one template and it's very simple. The template that you want to edit is MEMBERINFO.
So...just go to Admin Control Panel....Style Manager...and Edit the MEMBERINFO template.
Where you put it will depend upon where you want the link to show up in the member's profile. I have it set to show up just below their Username and Group. If that works for you then:
Find:
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
and right after that insert:
<a href="vbgarage.php?$session[sessionurl]do=view&id=$post[userid]">My Garage</a>
That's it. Very simple even for somebody of my limited expertise.
Don
It simply adds a link from a member's profile page to their vBGarage page. You only have to edit one template and it's very simple. The template that you want to edit is MEMBERINFO.
So...just go to Admin Control Panel....Style Manager...and Edit the MEMBERINFO template.
Where you put it will depend upon where you want the link to show up in the member's profile. I have it set to show up just below their Username and Group. If that works for you then:
Find:
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
and right after that insert:
<a href="vbgarage.php?$session[sessionurl]do=view&id=$post[userid]">My Garage</a>
That's it. Very simple even for somebody of my limited expertise.
Don