本文整理匯總了PHP中CKunenaLink::GetEmailLink方法的典型用法代碼示例。如果您正苦於以下問題:PHP CKunenaLink::GetEmailLink方法的具體用法?PHP CKunenaLink::GetEmailLink怎麽用?PHP CKunenaLink::GetEmailLink使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類CKunenaLink
的用法示例。
在下文中一共展示了CKunenaLink::GetEmailLink方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: stripslashes
$kunenaProfile->trigger('profileIntegration', $triggerParams);
}
//get the username:
if ($fbConfig->username) {
$fb_queryName = "username";
} else {
$fb_queryName = "name";
}
$fb_username = $userinfo->{$fb_queryName};
if ($fb_username == "" || $fbConfig->changename) {
$fb_username = stripslashes($fmessage->name);
}
$fb_username = kunena_htmlspecialchars($fb_username);
$msg_id = $fmessage->id;
$lists["userid"] = $userinfo->userid;
$msg_username = $fmessage->email != "" && $my_id > 0 && $fbConfig->showemail ? CKunenaLink::GetEmailLink(kunena_htmlspecialchars(stripslashes($fmessage->email)), $fb_username) : $fb_username;
if ($fbConfig->allowavatar) {
$Avatarname = $userinfo->username;
if ($fbConfig->avatar_src == "jomsocial") {
// Get CUser object
$jsuser =& CFactory::getUser($userinfo->userid);
$msg_avatar = '<span class="fb_avatar"><img src="' . $jsuser->getThumbAvatar() . '" alt=" " /></span>';
} else {
if ($fbConfig->avatar_src == "clexuspm") {
$msg_avatar = '<span class="fb_avatar"><img src="' . MyPMSTools::getAvatarLinkWithID($userinfo->userid) . '" /></span>';
} else {
if ($fbConfig->avatar_src == "cb") {
$msg_avatar = '<span class="fb_avatar">' . $kunenaProfile->showAvatar($userinfo->userid, '') . '</span>';
} else {
if ($fbConfig->avatar_src == "aup") {
$api_AUP = JPATH_SITE . DS . 'components' . DS . 'com_alphauserpoints' . DS . 'helper.php';
示例2: array
$triggerParams = array('userid' => $fmessage->userid, 'userinfo' => &$userinfo);
$kunenaProfile->trigger('profileIntegration', $triggerParams);
}
if ($fbConfig->username) {
$fb_queryName = "username";
} else {
$fb_queryName = "name";
}
$fb_username = $userinfo->{$fb_queryName};
if ($fb_username == "" || $fbConfig->changename) {
$fb_username = stripslashes($fmessage->name);
}
$fb_username = kunena_htmlspecialchars($fb_username);
$msg_id = $fmessage->id;
$lists["userid"] = $fmessage->userid;
$msg_username = $fmessage->email != "" && $kunena_my->id > 0 && $fbConfig->showemail ? CKunenaLink::GetEmailLink($fmessage->email, $fb_username) : $fb_username;
if ($fbConfig->allowavatar) {
$Avatarname = $userinfo->username;
if ($fbConfig->avatar_src == "jomsocial") {
// Get CUser object
$jsuser =& CFactory::getUser($fmessage->userid);
$msg_avatar = '<span class="fb_avatar"><img src="' . $jsuser->getThumbAvatar() . '" alt=" " /></span>';
} else {
if ($fbConfig->avatar_src == "clexuspm") {
$msg_avatar = '<span class="fb_avatar"><img src="' . MyPMSTools::getAvatarLinkWithID($fmessage->userid) . '" /></span>';
} else {
if ($fbConfig->avatar_src == "cb") {
$msg_avatar = '<span class="fb_avatar">' . $kunenaProfile->showAvatar($fmessage->userid) . '</span>';
} else {
$avatar = $userinfo->avatar;
if ($avatar != '') {