Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

top members module - Hide certain members

10 years 9 months ago
  • Colin's Avatar
    Topic Author
  • Colin
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 3
Licenses:
JomSocial Expired

I would like to hide certain members from the top members module.

Please advise

10 years 9 months ago
Licenses:

Hi,

sorry, we cant do that. that module code not designed for complex modification.
please put user voice at here:
www.jomsocial.com/uservoice

JomSocial is always looking for suggestions of how to improve.

Regards

10 years 9 months ago
  • Colin's Avatar
    Topic Author
  • Colin
  • Offline
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 3
Licenses:
JomSocial Expired

This is very frustrating as adding the following code after the <?php foreach ($users as $user) { ?>
worked on the old version, how come it does not work now?
<?php if($user->id != 341) { ?>
<?php if($user->id != 63) { ?>

10 years 9 months ago
Licenses:

Hi,

please try this:
edit /modules/mod_community_topmembers/helper.php at line 90 you can find this code

if(!$user->username){
changing it to
if(!$user->username || $user->id == 341 || $user->id == 63){

this changes will be disappeared at upgrade process. you need to re-apply it. no other way for to do this.

Regards

The following user(s) said Thank You: Colin
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW