Yeah, only change the parts which it says to change. As for PM and profile:
Just set this for all three links:
Code:
<div>
<a href="[link to forum]/member.php?$session[sessionurl]u=$prepared[userid]"><img src="[location of profile image]" alt="$prepared[username]'s Profile" title="Go to $prepared[username]'s Profile" /></a>
<a href="[link to gallery]/showgallery.php?$session[sessionurl]ppuser=$prepared[userid]"><img src="[location of gallery button]" alt="$prepared[username]'s Gallery" title="Go to $prepared[username]'s gallery" /></a>
<a href="[link to forum]/private.php?$session[sessionurl]do=newpm&u=$prepared[userid]"><img src="[location of PM button]" alt="Send message to $prepared[username]" title="Send private message to $prepared[username]" /></a>
</div>