Log in

View Full Version : Add "View My Profile" To USERCP


KevNJ
08-23-2006, 10:00 PM
Quick little template change. Couldnt find it anywheres so figured Id post it for those working on a Myspace style hack.

Install time: 37 Seconds
Templates to edit : 1

Styles/ Templates > Pick whichever style you want > Edit Templates > User Control Panel Templates > USERCP_SHELL


Find:

<if condition="$show['siglink']">


Below that add:

<td class="alt2" nowrap="nowrap"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">View My Profile</a></td>
</tr>
</if>


Click save. Your Done. Click Install at the top. Enjoy.

Ascor
08-24-2006, 03:44 PM
nice idea, installed thank you :)

Snake
08-24-2006, 04:08 PM
Nice idea. Thanks!

Kirk Y
08-24-2006, 07:14 PM
Wouldn't you be breaking the $show[siglink] condition by doing that? You'd want to add it above that and instead use something like this:
<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">View My Profile</a></td></tr>

xman_79
09-03-2006, 09:54 AM
Installed.
Nice idea .
Thank you .

Lysithea
10-11-2006, 07:14 PM
Very nice :) thank you!

Installed

MaestroX
12-19-2006, 08:54 AM
Installed thanks :)

yoyoyoyo
12-19-2006, 11:49 AM
Install time: 37 SecondsIt took me 38 seconds :D

smoknz28
12-23-2006, 06:52 PM
Wouldn't you be breaking the $show[siglink] condition by doing that? You'd want to add it above that and instead use something like this:
<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">View My Profile</a></td></tr>

Has there been any validity to this yet? I don't know which code to go with here....

Thanks

Despairing
12-25-2006, 08:03 AM
Installed.

AzH
12-26-2006, 07:58 PM
Add:
<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">View My Profile</a></td></tr>
Above:
<if condition="$show['siglink']">

Works fine. Puts it at the top under Settings & Options