本文整理汇总了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 != '') {