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.

Ongoing problem with event numbering

10 years 7 months ago
  • Michael's Avatar
    Topic Author
  • Michael
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
Licenses:
JomSocial Active Socialize Expired

Hi there

I had a recent issue with the number of actual events not matching up with the numbers next to the event categories in the 'All Events'. That problem was fixed and it happened again.

It appears that when you create an recurring event with numerous dates, then go back and delete each of the dates (series 1, 2 etc) within that one event, it throws the numbering out.

I can see this being an issue as the number of members increases and members are wanting to create recurring events, so I have switched off that option within the event settings.

Please could you amend the number of events next to two event categories. 'Classes, courses and workshops' shows 8, but it should be 7. 'Health, fitness and wellbeing' shows 14, but it should be 13.

Please could you also advise me how to fix this problem, in case it happens again in the future.

Regards

Michael

10 years 7 months ago
Licenses:

Hi, Michael.

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
10 years 7 months ago
Licenses:

Hi Michael,

this is a valid bug. please wait for the fixes.

Regards,
Albert

10 years 7 months ago
  • Michael's Avatar
    Topic Author
  • Michael
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
Licenses:
JomSocial Active Socialize Expired

Hi Albertus

Thanks for acknowledging this as a valid bug and I look forward to the fixes before re-activating the recurring event setting.

In the meantime, can you adjust the numbers next to the 'All Events' in the two categories I originally mentioned, to reflect the correct number of events in those two categories..

I appreciate your help.

Michael

10 years 7 months ago
Licenses:

Hi Michael,

please try this fixes:
1. edit /components/com_community/models/events.php line 598:
2. changing this code

$query = "SELECT c.id, c.parent, c.name, count(e.id) AS total, c.description
		  FROM " . $db->quoteName('#__community_events_category') . " AS c
		  LEFT JOIN " . $db->quoteName('#__community_events') . " AS e ON e.catid = c.id
					AND e." . $db->quoteName('published') . "=" . $db->Quote('1') . "
					AND	e." . $db->quoteName('enddate') . " > " . $db->Quote($now->toSql()) . "
		  GROUP BY c.id
		  ORDER BY c.name";
to
$query = "SELECT c.id, c.parent, c.name, count(e.id) AS total, c.description
		  FROM " . $db->quoteName('#__community_events_category') . " AS c
		  LEFT JOIN " . $db->quoteName('#__community_events') . " AS e ON e.catid = c.id
					AND e." . $db->quoteName('published') . "=" . $db->Quote('1') . "
					AND	e." . $db->quoteName('enddate') . " > " . $db->Quote($now->toSql()) . "
                                        AND e." . $db->quoteName('parent') . " = " . $db->Quote(0) . "
		  GROUP BY c.id
		  ORDER BY c.name";

Regards,
Albert

10 years 7 months ago
  • Michael's Avatar
    Topic Author
  • Michael
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
Licenses:
JomSocial Active Socialize Expired

Thanks Albertus

I'm not that confident in changing code, so I might wait until the bug fixes are released.

Once the bug fixes are released, will that automatically adjust the numbers I currently have on the site, to reflect the actual number of events, without me having to do anything further?

Michael

10 years 7 months ago
Licenses:

HI Michael,

if the fixes are released, after upgrade process you dont need do anythings. the event number will reflect actual number.

Regards,
Albert

The following user(s) said Thank You: Michael
10 years 7 months ago
  • Michael's Avatar
    Topic Author
  • Michael
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
Licenses:
JomSocial Active Socialize Expired

Thanks Albert

I look forward to the release.

Michael

10 years 6 months ago
Licenses:

Hi, Michael.

Please provide us with working administrator credentials.
I can't login to your site backend.
Please, edit your first post and add credentials to corresponding fields.


- 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
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