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.

suggested friends

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

Hi,
we allready had that issue about the columns of suggested friends. now we tried to change the code but the file won´t accept.

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

in this list there is also a issue:
super user who have friends there 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.

you can check it on the screenshot.

Regards

Attachments:
7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

You need to modify this file components/com_community/views/friends/view.html.php, find this code :

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

thx

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

Hi,
we tried it already like your instruction but it doesn´t change. thats the reason why we opened again a ticket. could you finde the reason why it doesn´t accept?

Regards

7 years 10 months ago
Licenses:

Hi,

here the correct one:

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

Regards

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

Hi,
Sorry but the code will not be accepted.

Regards

7 years 10 months ago
Licenses:

Hi,

do you mean not works?
I tested that code at my test site under jomsocial 4.2.1

please edit your first post and provide me valid credentials information, I need to login to your site and I need FTP access detail to made the changes.

Regards

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

Hi,

ftp access is registered.

Regards

7 years 10 months ago
Licenses:

Hi,

sorry, I cannot login to your site administrator anymore.
the login has been changed. please update your credentials information at this topic.

Regards

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

Enjoy.

7 years 10 months ago
Licenses:

Hi,

extplorer not works at your backend.
and FTP access not valid too. please provide me FTP access detail, I will put the changes for you.

Regards

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

hi,
explorer doesn´t work since php 7. please try again, the access is now in the first topic.

Regards

7 years 10 months ago
Licenses:

Hi,

please check it. the code located at line 505

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

I changed it for you. please check the result.

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