PDA

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


KevNJ
24 Aug 2006, 04:57
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
24 Aug 2006, 16:44
nice idea, installed thank you :)

Snake
24 Aug 2006, 17:08
Nice idea. Thanks!

Kirk Y
24 Aug 2006, 20:14
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
03 Sep 2006, 10:54
Installed.
Nice idea .
Thank you .

Lysithea
11 Oct 2006, 20:14
Very nice :) thank you!

Installed

MaestroX
19 Dec 2006, 09:54
Installed thanks :)

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

smoknz28
23 Dec 2006, 19:52
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
25 Dec 2006, 09:03
Installed.

AzH
26 Dec 2006, 20:58
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