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.

Caching of friends account names for TAGGING in activity stream

11 years 7 months ago
Licenses:
JomSocial Active Socialize Expired

I have over 7,000 registered users on my JomSocial install. When attempting to use the @tagging feature in the activity stream I have to wait about 1 minute for the names to appear. Is this a caching issue where JS has to load up all the friends usernames into memory in order for this feature to work? My account on the site has over 5,000 friends. Does the tagging only work for friends of the user or is it global?

Using other test accounts that have 100 or so friends and the tagging list is instant.

Appears that if I can cache this the issue would go away.

You will be unable to test this out unless you have several hundred friends on your list. This happens for larger sites.

11 years 7 months ago
Licenses:

Hi, Craig.

I assign developer to this thread.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
11 years 7 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hello Craig

I seem to have problems logging in at your site



Can you provide us with the user that have 5000 friends too?


- Don't say feature not working. Instead, explain what you tried and what was the outcome.
- When you think you found the bug, try to replicate it on a fresh Joomla.
- When looking for support always provide temporary Super Administrative access to your site. We will ask for it anyway.
- Help yourself and read documentation which can give you answers to almost all questions you may have
Attachments:
11 years 7 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

So we did

$friends = array();
        for($i = 0; $i < 1000; $i++){
            $friends = array_merge($friends, $friendsModel->searchFriend($query, $rules));
        }
This will basically run the query 1000 times, and automagically, my user account that have 10 friends will behave like it have 10000 friends :)

We get results almost instantly, but thats on local host. Thats why it would be great if you could provide us with real user with 5000 friends on live server.


- Don't say feature not working. Instead, explain what you tried and what was the outcome.
- When you think you found the bug, try to replicate it on a fresh Joomla.
- When looking for support always provide temporary Super Administrative access to your site. We will ask for it anyway.
- Help yourself and read documentation which can give you answers to almost all questions you may have
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