By Alex on Wednesday, 08 April 2015
Posted in General Issues
Replies 3
Likes 0
Views 1K
Votes 0
Wondering how to hide the list of users appearing in the Register page or Select Profile Type page
Hello Alex.

You can hide the list od users appearing in Select Profile Type Page by delete this code in ..\components\com_easysocial\themes\wireframe\registration\default.profiles.php file.


<?php if( $profile->getMembersCount() && $this->template->get( 'registration_profile_users' ) ) { ?>
<div class="row profile-members">
<div class="col-md-12">
<hr />
<div class="list-profile-type-peep small mt-5 mb-5">
<?php echo JText::sprintf( 'COM_EASYSOCIAL_REGISTRATIONS_OTHER_PROFILE_MEMBERS' , $profile->getMembersCount() );?>
</div>

<?php if( $profile->users ){ ?>
<ul class="fd-reset-list list-inline profile-users">
<?php foreach( $profile->users as $user ){ ?>
<li data-es-provide="tooltip" data-original-title="<?php echo $this->html( 'string.escape' , $user->getName() );?>" style="float: left;">
<a href="<?php echo $user->getPermalink();?>" class="es-avatar es-avatar-rounded pull-left mr-10">
<img width="24" height="24" class="img-polaroid" src="<?php echo $user->getAvatar( SOCIAL_AVATAR_SMALL );?>" title="<?php echo $this->html( 'string.escape' , $user->getName() );?>" />
</a>
</li>
<?php } ?>
</ul>
<?php } ?>
</div>
</div>
<?php } ?>


Hope this help
·
Wednesday, 08 April 2015 11:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Would it be ok to comment it out instead? Also - will this be overridden when there is an upgrade.?
·
Wednesday, 08 April 2015 12:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alex,

You actually can disable this from your backend > Easysocial > theme > select your current theme > registration tab > Show selected profile during registration - NO

Hope this help.
·
Wednesday, 08 April 2015 13:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post