By Chris on Saturday, 03 June 2017
Posted in General Issues
Replies 8
Likes 0
Views 728
Votes 0
The item I'm bringing up here is regarding the EasySocial toolbar. Having switched over from JomSocial, their toolbar automatically displays an updated number count for notifications. To my understanding and what I can see with EasySocial, it should be working the same way.

Since day one, I've been testing and have yet to see the number icon become visible and update based on new notifications, I am always having to reload the page in order to see the number. I tested this on the default Joomla template "Beez3 - Default" and still doesn't work so I am unsure that this is template related. I do believe in the very beginning, I tested on a fresh Joomla installation and still had this issue, so I'm unsure if this might be a conflict with another plugin/extension.

I've tested between two accounts on different browsers, please refer to attachment to get a better idea of the issue I'm facing.

- - - -

I've tested the ES Demo on StackIdeas between Darius and Nadia. It appears the AJAX Notifications work perfectly fine on there and appear to show up after about 60 seconds.

- - - - -

I appreciate your time and any support provided on this matter

Thanks!
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

It seems like only happen on Elegant them, I already applied some fix in this file -> JoomlaFolder/components/com_easysocial/themes/elegant/toolbar/default.php , it should work fine now.

The notification ajax kick in is around 2 minute per time.
·
Saturday, 03 June 2017 10:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

I really appreciate the response, especially on your weekend.

I didn't really think much about the EasySocial theme being a factor... I tested the theme "Elegant" and it still doesn't seem to be working.

I quickly switched themes and tried on "Wireframe" and it works perfect. I switched back to "Elegant" which is the theme I'm trying to stick with but still no luck.
·
Saturday, 03 June 2017 11:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Also, to clarify, the EasySocial toolbar on my site is actually a module. Not sure if that makes a difference, although changing the theme changed the toolbar module. Figured this might be something you might need to know.
·
Saturday, 03 June 2017 11:59
·
0 Likes
·
0 Votes
·
0 Comments
·
I realised your FTP using another domain, I am not sure whether I upload the patch fix to correct domain name or not.

Perhaps you can try download my attached file and replace into this following file JoomlaFolder/components/com_easysocial/themes/elegant/toolbar/default.php

Then open 2 user account in different browser :

1. User A post a new story stream.

2. User B like/comment User A post stream.

3. Look at the User A screen and wait for at least 2 minute , it should auto update the notification count.
·
Saturday, 03 June 2017 12:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the edited file.

I've gone ahead and tested a basic notification between two separate users.

If user notification count = 0 (no visible number) notification doesn't automatically update (same issue as before).

I refreshed the page so that the notification counter shows up. I performed another action to trigger a notification.

If user notification count >= 1 (at least one visible number) the notification now automatically updates.

It's definitely partially fixed, but somewhere there's an issue with taking the notification from zero display to showing at least 1+ notification counter.

I hope this makes sense.
·
Saturday, 03 June 2017 12:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry for double post. My last post still stands, that was based on global notifications. I went ahead and tested Private Messages and the same thing. So I'm guessing somewhere along the line, there's a conflict with the counter rule.

If value = 0 (no notification) AJAX doesn't seem to want to go from a hidden counter to a visible counter.

Once value is 1 or greater (has at least 1 notification) AJAX seems to work fine.

I'm guessing this issue applies to Global, Private Message and Friend Request notifications.

I hope this info helps.

Thank you very much for your time and your support

Hope you have a wonderful weekend!

Chris
·
Saturday, 03 June 2017 12:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, it seems like css class have to update as well, I already applied some temporary fix in this file

JoomlaFolder/components/com_easysocial/themes/elegant/toolbar/default.php
JoomlaFolder/components/com_easysocial/themes/elegant/styles/style.min.css


it should work fine now.
·
Sunday, 04 June 2017 10:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post