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.

How to increase the Friend load limit in default.ini

10 years 1 month ago
  • carlatf's Avatar
    Topic Author
  • carlatf
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 1
Licenses:
JomSocial Active

I'd like to increase to 5000 the friend load limit in each single click of "More friends"
Changing
friendloadlimit= 5000 in default.ini

doesn't seem to work.

Any idea why?

10 years 1 month ago
Licenses:

Hi,

we hardcoded it at javascript as 200, I suggest you to changing it from php code:
/components/com_community/controllers/system.php at line 66 you can see this code

public function ajaxLoadFriendsList($namePrefix, $callback, $cid, $limitstart = 0, $limit = 200) {
after that code, you can put this code:
if ($limit == 200) $limit = 500;

free fill to changing the "500" to other. but it might be make some issue. because that jomsocial limit always 200.

Regards

The following user(s) said Thank You: carlatf
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