By Justin on Tuesday, 25 August 2015
Posted in General Issues
Replies 5
Likes 0
Views 718
Votes 0
Hello,

I'm not sure if this is possible, but can the Profile Completeness info-box be set so that it only displays when a user views his or her own profile, and not display anywhere else on the site?

Thanks.
Ah, I see. Currently there is no way to configure it to display only on the profile page and it doesn't make sense to add a settings specifically for this. You can however, edit the file /administrator/components/com_easysocial/includes/foundry.php and locate the codes below,


FD::info()->set(false, $incompleteMessage, SOCIAL_MSG_WARNING, 'easysocial.profilecompletecheck');


Replace it with,


if (JRequest::getVar('view') == 'profile') {
FD::info()->set(false, $incompleteMessage, SOCIAL_MSG_WARNING, 'easysocial.profilecompletecheck');
}
·
Tuesday, 25 August 2015 23:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Justin,

Can you let me know which section are you referring to here?
·
Tuesday, 25 August 2015 23:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

This would be with reference to when a user views their own profile, or another profile in ES. Currently, the Profile Completeness is configured to "show message on top of user page" in the 'User' setting. I was wondering if it's possible to have the info bar only display when a user is viewing their own profile (see 'users-own-profile.jpg) vs. viewing any profile (see 'viewing-other-profile.jpg').

Thanks
·
Tuesday, 25 August 2015 23:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect! Thanks Mark.
·
Tuesday, 25 August 2015 23:43
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Justin.
·
Wednesday, 26 August 2015 00:35
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post