Live Update

Live Update 4.0.1

No permission to download
Indeed.

This sort of proves what I'm saying. It's actually irrelevant which URL is being accessed, the issue can still arise, because it's actually happening early on in the request, when the Visitor object is being setup.
 
I know there was something like this but forget that I started this thread.

Maybe you can move the posts over to there.
 
I think I found the problem. Even though under options I have "Notifications API" checked as a default user option, existing users who registered before I installed the addon still have it unchecked in their preferences. Is there any way for me to enable it for all members?
Where do you find the option to check this per user?
 

Attachments

  • prefs.webp
    prefs.webp
    38.3 KB · Views: 26
Last edited:
I installed the latest version listed here (4.1 RC5) https://github.com/chrisdeeming/LiveUpdate/releases, checked all 3 options in add-on options, and can't find the option in User Peferences :( should I use 4.0.1 instead https://xenforo.com/community/threads/userscript-xenforo-enhancer.31444/ ? (Although the description seems to indicate 4.1 is when corner notifications was added?

I think you have to set permissions for the usergroup to see that option. Can't remember for sure though. I've reverted to 4.0.1 because I only want to offer the favicon alert.
 
I think you have to set permissions for the usergroup to see that option. Can't remember for sure though. I've reverted to 4.0.1 because I only want to offer the favicon alert.
I enabled it in user prefs now but it still won't work although tabs work, I was so looking forward to using this... is there a way to have new posts auto-appear in those native XF corner notices? Also, 4.0 doesn't have the Notifications API right?
 
Newest version of FF (50) the number of alerts appearing on the favicon in tabs is offset from the red background
 
I think one issue is the number of requests made exponentially increases with the number of open tabs.

I have a plan in mind for this but ultimately the only other mitigation is increasing the polling time. I've seen some sites go as low as 5 seconds. If someone has 10 tabs open then one user is making 120 requests every minute. 30 seconds is the default but even 60 or more isn't unreasonable.

If that still doesn't help, that's unfortunate but honestly it's the first time I've heard of anyone having to give up on it due to performance issues.

Keep watching the resource as I will work on a solution for the future.

Will your new version be released on this resource, or will you create a new one? I am going to try out the Github version on our private testing forum.

I want to put this on our big board but since our traffic is similar to what @kontrabass is seeing, I likely would go with a polling interval of 120 or 180 seconds, then monitor it closely. Given how long-winded some of the threads are, and the time it takes to read, those values would work. Although for my purposes, if I set it for 300 seconds, that would be plenty for me to notice activity on an idle (non-focused) tab.

Great add-on, though!
 
I just installed it, on one testing forum, and on another lower-traffic forum. So far, pretty good. The different favicon library is far better--my tiny icons are no longer distorted the way they were with Tinycon. I quit using it on one of my forums for that reason. Will it go on the big board? Not sure yet. Polling would have to be out there a few minutes to make it viable.

But like others above, I am not getting the browser to ask me if I would like to receive notifications. I have to enable it manually in the browser. Then the notifications come through, no problem. (The default in my browser is set to "Ask.")

One other minor bug--on our testing forum, the browser notification shows no icon. Yet the version on the lower-traffic forum is showing the logo with no issues. Fluke on my end, maybe? Both are configured and installed the same way. I completely uninstalled Live Update, including the Live Update directories in "js" and "library".

EDIT: One other minor bug...? My one forum has an ampersand in its name, and it comes through in the notification as the HTML entity & .
 
Instead of being centered inside the red box, the number of alerts is within the center of the the favicon. How do I fix this?
 

Attachments

  • Screen Shot 2017-01-26 at 3.13.03 pm.webp
    Screen Shot 2017-01-26 at 3.13.03 pm.webp
    446 bytes · Views: 19
@Chris D and @Jake B. ,
I´m having the same problems with the closing overlay (https://xenforo.com/community/threads/live-update.27873/page-31#post-1093894) each time liveupdate pulls the request. I don´t have xenBlock installed, so this can´t be the source of the problem for me.

As far as it seems, there has to be a conflict with some (or, cause using the same libs in the majority, most?) themehouse styles. I´ve just deactivated all addons and only turned on the UI.X style and liveupdate and immediatly the overlay issue occured. In the default style it´s no problem. So, Jake or @Mike Creuzer , could you sort this out for us all? Sure, I could open a ticket over at themehouse, but I guess it´s more appropriate in here, as everyone could fix this by themselves if you could provide and post the codechange for it.
 
Last edited:
Any idea how I can turn on the "both" tab for all members of my site? Is there an SQL query I can run or something? Thanks
 
Back
Top Bottom