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.

representation suggested friends

10 years 6 months ago
  • Dominik's Avatar
    Topic Author
  • Dominik
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Hi,

we have 6 columns in the list "suggested friends", is it possible to show only 2 (4 members)?
it relates to the page invite friends.

Reagards,
Dominik

10 years 6 months ago
Licenses:

Hi,

by default its suppose to 2 column only. with super user account I dont have any friends suggestion.
cloud you please provide me the screenshot about that 6 columns?

maybe you did some customization about it?

Regards

10 years 6 months ago
  • Dominik's Avatar
    Topic Author
  • Dominik
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Hi,
here is the screenshot. its also a little bit weird, that in the last column is only one member shown.

Regards

Attachments:
10 years 6 months ago
Licenses:

Hi,

please edit:
/components/com_community/views/friends/view.html.php at line 505,
change the code from

$rows = $friends->getFriends($id, $sorted, true, $filter);
to
$rows = $friends->getFriends($id, $sorted, true, $filter, 4);

but my suggestion no need to do it, because this is core changes and will be disappeared at upgrade process.

Regards

10 years 6 months ago
  • Dominik's Avatar
    Topic Author
  • Dominik
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

HI,
i put in the code at line 509 because at 505 there is allready a code. we had once a time a problem with a user id and one of your colleagues changed it.
the code is now on line 509 but it doesn´t work.
can you check it please?

Regards

10 years 6 months ago
Licenses:

Hi,

sorry my mistake, please check it again.
I changed it to

$rows = $friends->getFriends($id, $sorted, false, $filter, 4);

Regards

The following user(s) said Thank You: Dominik
10 years 6 months ago
  • Dominik's Avatar
    Topic Author
  • Dominik
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

hi,
now is perfect but there is one bug also. super user who have friends ther are shown 4 suggested friend. thats how it should be. but normal members have only 3, althought they have more than 10 friends. there is one missing.

Regards

10 years 6 months ago
Licenses:

Hi,

could you please open new topic about that issue? this topic about customization.
and please elaborate more the issue at new topic, so that issue will more clear for jomsocial support

Regards

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