include_once (JPATH_ADMINISTRATOR . '/components/com_jlinked/models/usermap.php');
$userMapModel = new JLinkedModelUserMap();
$liMemberId = $userMapModel->getMemberId($id);
if ($liMemberId != null) {
.... // Member is connected
}<style>
.fbverified{color:rgba(255,255,255,0.3); font-size:18px; padding:0px 10px 4px 6px; font-weight:700; text-shadow: 0px 1px 0px rgba(255,255,255,0.2), 0px -1px 0px rgba(0,0,0,0.2);}
.linkedinverified { color:rgba(255,255,255,0.3); padding:0px 5px 0px 0px; font-size:18px; font-weight:700; text-shadow: 0px 1px 0px rgba(255,255,255,0.2), 0px -1px 0px rgba(0,0,0,0.2);}
</style>
<div style="clear:both" class=" cFloat-L" id="identity">
<h5>Trust Indicators</h4>
<ul>
<?php
$fbUserMap = JFBConnectModelUserMap::getUser($id);
if ($fbUserMap->_data->fb_user_id != null) {
echo '<li style="font-size:12px; color:#3B5998"><span class="fbverified" style="color:#3B5998 !important;">f</span>Facebook verified. <![if !IE]>✓<![endif]>
<!--[if gt IE 6]>✓<![endif]-->
<!--[if lt IE 7]><div style="font:bold 1.2em "wingdings 2"; text-align: center;">P</div><![endif]--></li>';
}
elseif ( $isMine) {
echo '<li style="font-size:12px; color:rgba(102,102,102,0.5)" ><span class="fbverified">f</span>Facebook not verified<br/><a href="javascript:void(0)" onclick="jfbc.login.login_custom();">Verify now!</a></li>';
}
else {
echo '<li style="font-size:12px; color:rgba(102,102,102,0.5)" ><span class="fbverified">f</span>Facebook not verified</li>';
}
include_once (JPATH_ADMINISTRATOR . '/components/com_jlinked/models/usermap.php');
$userMapModel = new JLinkedModelUserMap();
$liMemberId = $userMapModel->getMemberId($id);
if ($liMemberId != null) {
echo '<li style="font-size:12px; color:#4875B4"><span class="linkedinverified" style="color:#4875B4;">in</span>LinkedIn verified <![if !IE]>✓<![endif]>
<!--[if gt IE 6]>✓<![endif]-->
<!--[if lt IE 7]><div style="font:bold 1.2em "wingdings 2"; text-align: center;">P</div><![endif]--></li>';
}
elseif ( $isMine) {
echo '<li style="font-size:12px; color:rgba(102,102,102,0.5)" ><span class="linkedinverified">in</span>LinkedIn not verified<br/><a //href="javascript:void(0)" onclick="jlinked.login.login();">Verify now!</a></li>';
}
else {
echo '<li style="font-size:12px; color:rgba(102,102,102,0.5)" ><span class="linkedinverified">in</span>LinkedIn not verified</li>';
}
?>
</ul></div>One thing to note is that, with JLinked at least, there is the option to import "Number of Connections" into the user's profile. You could import that into the user's JomSocial profile when they register and then show that in their profile. We don't have a similar option for JFBConnect to import friend count right now, and I'm not sure how easy that will be to get.'middle_name' => 'User - Middle Name',
'last_name' => 'User - Last Name',
'profile_url' => 'User - Profile Link',
'hometown_location.city' => 'Basic Info - Hometown City','friend_count' => 'User - Friend Count','middle_name' => 'User - Middle Name',
'last_name' => 'User - Last Name',
'profile_url' => 'User - Profile Link',
'friend_count' => 'User - Friend Count',
'hometown_location.city' => 'Basic Info - Hometown City',Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
