Hi,
if you log on to our frontend, you can see a module on the right side with current events. For some of these events, the participants count is wrong. If you click on event with ID 451 or 321, you can see that the number of participants if different from the number shown in module.
Hi, Jan.
I see that number is wrong only for this event: ROOT/index.php?option=com_community&view=events&task=viewevent&eventid=321&Itemid=204
Please, run cron job manually here Backend -> Components -> JomSocial -> Monitor -> Mail queue -> Execute cron (button upper right).
Then check if number changes. Also clean Joomla cache.
I guess that there may be two possibilities:
- user joined event then quit
- module was cached
Hi Michal,
thanks for your reply.
Executing cron job had no effect. I also cleaned joomla cache in backend System -> Clean Cache
For this event it is still wrong: ROOT/index.php?option=com_community&view=events&task=viewevent&eventid=321&Itemid=204
Regarding the two possibilities:
- user joined event then quit: this should be recalculated if I execute cron job, right?
- module was cached: we do not have any additional caching component, so cleaning joomla cache is all what I can do, right?
Hi, Jan.
I assign developer to take a look.
Hi Jan,
not sure why the FTP always timeout here. but here the fix:
copy default.php from /modules/mod_community_events/tmpl/ to /templates/[your forntend template]/html/mod_community_events/
edit and change this code from
<?php foreach ($events as $event) { ?>
<?php foreach ($events as $event) {
$event->confirmedcount = $event->getMembersCount( COMMUNITY_EVENT_STATUS_ATTEND );
?>