PDA

View Full Version : adding a link to user's profile


helltonic
02-11-2010, 11:53 PM
Hello, could someone please tell me where I have to echo something in order to get a link somewhere at the top of the userprofile page? I have been looking all evening in /forums/member.php but it doesn't seem to echo anything directly... i think it's using various functions to print output, but I just can't find anything helpful.

Please take a look at the attached screenshot for about where I am looking to insert the link. If you can help me I'd appreciate it a lot.

helltonic
02-13-2010, 10:50 PM
nevermind, got it working by creating a plugin that used the member_complete hook to create a new entry in the $show[] array e.g:$show['mylink'] = TRUE;

then, in the MEMBERINFO Template, used this:
<if condition="$show['mylink']">
<li class="thead">
<a href="http://www.mywebsite.com">Click here to visit my link</a>
</li>
</if>