U don't need to edit php files for this, I'll explain.
Just go into php Parced code in the style page.
Code:
//Register/usercp
if ($bbuserinfo[usergroupid]==1) { //guests
$regcp = "<a href=\"register.php\"><img src="images/top_register.gif"></a>";
} else { //Everyone else
$regcp = "<a href=\"usercp.php\"><img src="images/top_profile.gif"></a>";
}
//End Register/usercp
//Mod and Admin cp login
if ($bbuserinfo[usergroupid]==6) { //admins
$modadminlogin = "<a href=\"admin/index.php\">adminCP</a> ";
} elseif (($bbuserinfo[usergroupid]==5) or ($bbuserinfo[usergroupid]==7)) { //Mods
$modadminlogin = "<a href=\"mod/index.php\">modCP</a> ";
} else { //Everybody
$modadminlogin = "";
}
//End Mod and Admin cp login
Add that code to your php parced code, and then go to your forumhome and add $modadminlogin and $regcp wherever you want the buttons to appear, for $modadmin login I suggest in the foooter because that way it doesn't make where you look look weird also, if you edit the code in any way make sure to put a \ before every " when you start putting html, that switches the code from PHP to HTML.