By Edgar on Sunday, 14 June 2015
Posted in General Issues
Replies 5
Likes 0
Views 838
Votes 0
Hello,

I would like to remove "add friend" :
- on list member (Screenshot n°1)
- when I run the mouse on the photo of a user (Screenshot n°2)

Thanks for your help,

Edgar
Hi Edger,

I am really sorry for the delay of this reply as it is a weekend for us here.

You can remove the code from this file -> JoomlaFolder\components\com_easysocial\themes\wireframe\profile\popbox.button.add.php
LINE 14


Also you can comment this line of code from -> JoomlaFolder\templates\wanderers\html\com_easysocial\profile\default.header.php
LINE 145


hope this help.
·
Sunday, 14 June 2015 17:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much Arlex.

And if I want to remove the number of friends like on this screenshot ?
Is it in the same file ?

Edgar
·
Sunday, 14 June 2015 18:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Edgar,

You're welcome.

yes, it under this file -> JoomlaFolder\templates\wanderers\html\com_easysocial\profile\default.header.php
LINE 145 , check my screenshot at above.
·
Sunday, 14 June 2015 20:32
·
0 Likes
·
0 Votes
·
0 Comments
·
It's perfect for my two first problems.

For the last one I don't show the good screenshot sorry. I meant how can I remove the number of friends just above.
I modified popbox.php this way :


<a href="<?php echo FRoute::friends( array( 'userid' => $user->getAlias() ) );?>">
<div class="popbox-item-text">
<?php //echo JText::_( 'COM_EASYSOCIAL_FRIENDS' );?>
</div>
<div class="popbox-item-total"><?php //echo $user->getTotalFriends();?></div>
</a>


And it seems okay. Am I right ?

2-Do you think it's possible to include in this popbox the content of one of the field completed during registration ?

Thanks a lot,

Edgar
·
Monday, 15 June 2015 00:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Edgar,

Ya, it seems correect to me. For your second question, may I know which custom field that you want to display?
·
Monday, 15 June 2015 10:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post