ahhh, nevermind, i made all the changes i want. now i added, first name, last name, and profile link. (for the link to actually direct you to the member's profile, use Trail's tweaking to the .htacess, search the forum
)
from cb.menu.php, after
[code:1] function getDisplayTab($tab,$user,$ui) {
global $database, $ueConfig, $_PLUGINS, $_CB_OneTwoRowsStyleToggle;
$params=$this->params;
[/code:1]
[code:1] // First Name (Added by chac416 -
www.filfili.com)
if ($params->get('firstname', '1')==1) {
$mi = array(); $mi["_UE_MENU_STATUS"]["_UE_FIRSTNAME"]["_UE_FIRSTNAME"]=null;
$this->menuList->addObjectItem($mi, $user->firstname, "", "",
"","", _UE_FIRSTNAME_DESC,""«»);
}
// Last Name (Added by chac416 -
www.filfili.com)
if ($params->get('lastname', '1')==1) {
$mi = array(); $mi["_UE_MENU_STATUS"]["_UE_LASTNAME"]["_UE_LASTNAME"]=null;
$this->menuList->addObjectItem($mi, $user->lastname, "", "",
"","", _UE_LASTNAME_DESC,""«»);
}
// Profile link (Added by chac416 -
www.filfili.com)
if ($params->get('profileLink', '1')==1) {
$mi = array(); $mi["_UE_MENU_STATUS"]["_UE_PROFILELINK"]["_UE_PROFILELINK"]=null;
$this->menuList->addObjectItem($mi, '
www.lebanonfirst.com/'.$user->username, $user->username, "",
"","", _UE_PROFILELINK_DESC,""«»);
}[/code:1]
Post edited by: chac416, at: 2007/04/27 08:34
Post edited by: chac416, at: 2007/04/27 08:34