******* - Thread Live Update [Deleted]

Status
Not open for further replies.

Brivium

Well-known member
******* submitted a new resource:

******* - Thread Live Update - This addon allows you create a simple live thread that auto display new posts without refresh.

INFORMATION:
This addon allows you create a simple live thread that auto display new posts without require user to refresh the page.

INSTALLATION:
- Upload contents of Upload folder to root directory, overwriting any existing files.
- Install XML\addon-*******_ThreadLiveUpdate.xml file.
- Go to AdminCP -> User -> User Group Permission to set permission for each usergroups.

DONATION:
If you appreciate this and want to help us, please consider to contribute to its...

Read more about this resource...
 
This works for thread lists too or only for inside thread updates?

How it behaves when new posts/pages are created ? Suppous I leave a tab open with a specific thread, as soon as its getting updated the scroll works to the new items /pages or they just appear below the page position I left?

Its a great idea ! Really nice !
 
Any chance of this having automatic functionality in the future, where a thread gets set to live when posted in and then gets disabled after X minutes of no posts?
 
Can you explain the Max Thread on Load setting.


Couple problems preventing me from using this on my production forum.

1) New replies cause the page to jump down to the new reply anytime there's a post. On a busy forum this would make it impossible to read a thread.
2) New replies show up regardless of what page of the thread you're on. This causes posts to be shown out of order.

Minor suggestion - Prevent the loading icon from showing as a result of this addon.

Any chance of this having automatic functionality in the future, where a thread gets set to live when posted in and then gets disabled after X minutes of no posts?

My suggestion for an automated function would be for this addon to become disabled for the member after they've been idle for x amount of time.
 
  • Like
Reactions: DRE
Just wanted to say "Thanks" for this add-on. We're using on a sports forum and I can't tell you how much it adds to game threads. Perfect addition for any sports forum!!
 
there are some bugs with this:

after an hour users complain they get redirected to a time out error page on cloudflare (our site runs through cloudflare)

now im not sure if there any settings i can fine tune in php.ini, xenforo, cloudflare to stop these time out errors

all i have is this in the xenforo server error logs:

Code:
ErrorException: Undefined property: XenForo_ControllerResponse_Redirect::$params - library/*******/ThreadLiveUpdate/ControllerPublic/Thread.php:8
Generated By: Erictheboss, Today at 12:30 AM
Stack Trace

#0 /home/unkn0wn/public_html/forums/library/*******/ThreadLiveUpdate/ControllerPublic/Thread.php(8): XenForo_Application::handlePhpError(8, 'Undefined prope...', '/home/unkn0wn/p...', 8, Array)
#1 /home/unkn0wn/public_html/forums/library/VfcodersHH/ControllerPublic/Thread.php(55): *******_ThreadLiveUpdate_ControllerPublic_Thread->actionIndex()
#2 /home/unkn0wn/public_html/forums/library/XenForo/FrontController.php(347): VfcodersHH_ControllerPublic_Thread->actionIndex()
#3 /home/unkn0wn/public_html/forums/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /home/unkn0wn/public_html/forums/index.php(13): XenForo_FrontController->run()
#5 {main}

Request State

array(3) {
  ["url"] => string(70) "http://portalcentric.net/forums/threads/mztool-cracked-by-sonoro.5677/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
ok this add one is seriously causing issues with my mysql corruption and also in rare cases causes my server to crash

my hosting had a look at the logs and this what they had to say about it:

Hello, Reviewing the Apache logs on the server when you server experienced the large spike in system load I am showing that your liveupdate feature of the forum software was being abused

Your application was unable to quickly execute a query results in follow up queries being backed up resulting in all MySQL connection slots being consumed resulting in the application reporting the 500 errors listed in the Apache log output above. I very strongly encourage you to work with your developer to ensure that the MySQL queries being ran are optimized and efficient. I would also suggest that you implement a way to prevent the liveupdate function from crashing the server.

and i know its this add one because from the logs here these are all from threads: and my other live update add-ones are the conversation one by you and the favicon live update notifications


Code:
MySQL Processes (recorded at 2014-07-03 02:03:45): | Id | User | Host | db | Command | Time | State | Info | ------------------------------------------------------------------------------------------------ | 30413 | DELAYED | localhost | eximstats | Delayed insert | 15 | Waiting for INSERT | | | 38387 | DELAYED | localhost | hidden_hidden | Delayed insert | 208 | Waiting for INSERT | | | 40128 | eximstats | localhost | eximstats | Sleep | 15 | | None | | 40373 | DELAYED | localhost | hidden_hidden | Delayed insert | 117 | Waiting for INSERT | | | 40496 | root | localhost | hidden_hidden | Query | 0 | Opening tables | show fields from `xf_user_email_optout` | | 40497 | hidden_user | localhost | hidden_hidden | Execute | 45 | Waiting for table level lock | UPDATE `xf_session` SET `expiry_date` = '1404320582' WHERE (session_id = 'c0c1860261284e3ce598d7e183400dbc') | | 40498 | hidden_user | localhost | hidden_hidden | Execute | 45 | Waiting for table level lock | SELECT session_data FROM xf_session WHERE session_id = 'b60b2859a265066acbf18ca93a87a608' AND expiry_date >= '1404316982' | | 40499 | hidden_user | localhost | hidden_hidden | Execute | 45 | Waiting for table level lock | UPDATE `xf_session` SET `expiry_date` = '1404320582' WHERE (session_id = 'c0c7ab8c3d2e57d4112d7ff827b886f3') | | 40500 | hidden_user | localhost | hidden_hidden | Execute | 44 | Waiting for table level lock | SELECT session_data FROM xf_session WHERE session_id = '7df116b00ec12525b91103b366824288' AND expiry_date >= '1404316982' | | 40501 | hidden_user | localhost | hidden_hidden | Execute | 44 | Waiting for table level lock | SELECT session_data FROM xf_session WHERE session_id = '093fae3398792dc71bde96c382876b83' AND expiry_date >= '1404316983' | | 40502 | hidden_user | localhost | hidden_hidden | Execute | 42 | Waiting for table level lock | SELECT session_data FROM xf_session WHERE session_id = 'b1cd3aeb7f534be13c33d4fafc465744' AND expiry_date >= '1404316984' | | 40503 | hidden_user | localhost | hidden_hidden | Execute | 42 | Waiting for table level lock | SELECT session_data FROM xf_session WHERE session_id = 'a4ddac63886cdb8597e533b575bb40fd' AND expiry_date >= '1404316984' | | 40504 | hidden_user | localhost | hidden_hidden | Execute | 40 | Waiting for table level lock | SELECT session_data FROM xf_session WHERE session_id = '1ab2104f08f938845f5bfe67589daacd' AND expiry_date >= '1404316987' | | 40505 | hidden_user | localhost | hidden_hidden | Execute | 40 | Waiting for table level lock | SELECT session_data FROM xf_session WHERE session_id = 'd838aedd8f5489d6bb0100d0fdba796c' AND expiry_date >= '1404316987' | | 40506 | hidden_user | localhost | hidden_hidden | Execute | 39 | Waiting

Code:
| 40547 | root | localhost | None | Query | 0 | init | SHOW FULL PROCESSLIST | | 40548 | hidden_user | localhost | hidden_hidden | Sleep | 1 | | None | | 40549 | hidden_user | localhost | hidden_hidden | Sleep | 1 | | None | | 40550 | hidden_user | localhost | hidden_hidden | Sleep | 1 | | None | | 40551 | hidden_user | localhost | hidden_hidden | Sleep | 1 | | None | | 40552 | hidden_user | localhost | hidden_hidden | Sleep | 1 | | None | | 40553 | hidden_user | localhost | hidden_hidden | Sleep | 1 | | None | | 40554 | hidden_user | localhost | hidden_hidden | Sleep | 1 | | None | | 40555 | hidden_user | localhost | hidden_hidden | Sleep | 1 | | None | | 40556 | hidden_user | localhost | hidden_hidden | Sleep | 1 | | None | | 40557 | hidden_user | localhost | hidden_hidden | Sleep | 1 | | None

Code:
2.97.105.66 - - [03/Jul/2014:02:09:02 +1000] "POST /forums/index.php?liveupdate HTTP/1.1" 500 547 "http://portalcentric.net/forums/threads/ps-unban-119-2.6805/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36" 105.157.54.172 - - [03/Jul/2014:02:09:04 +1000] "POST /forums/index.php?liveupdate HTTP/1.1" 500 547 "http://portalcentric.net/forums/forums/free-ps3-console-ids.146/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36" 174.60.42.123 - - [03/Jul/2014:02:09:04 +1000] "POST /forums/index.php?liveupdate HTTP/1.1" 500 547 "http://portalcentric.net/forums/shoutbox/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36" 41.133.116.94 - - [03/Jul/2014:02:06:11 +1000] "GET /forums/posts/42818/ HTTP/1.1" 500 547 "http://portalcentric.net/forums/posts/42818/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36" 64.50.250.112 - - [03/Jul/2014:02:06:18 +1000] "POST /forums/index.php?liveupdate HTTP/1.1" 500 547 "http://portalcentric.net/forums/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.97 Safari/537.36" 174.60.42.123 - - [03/Jul/2014:02:09:09 +1000] "POST /forums/index.php?liveupdate HTTP/1.1" 500 53 "http://portalcentric.net/forums/shoutbox/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36" 174.60.42.123 - - [03/Jul/2014:02:09:10 +1000] "POST /forums/index.php?liveupdate HTTP/1.1" 500 53 "http://portalcentric.net/forums/shoutbox/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36" 174.60.42.123 - - [03/Jul/2014:02:11:59 +1000] "POST /forums/index.php?liveupdate HTTP/1.1" 500 53 "http://portalcentric.net/forums/shoutbox/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36"

i would highly recommend fine tuning this add one as this is eating up my server resources and mysql query slots
 
sonnbs Live Thread add-on is the older one (last updated 22.10.2013) so i think you should better ask sonnb for a update of the Live-Thread add-on. It cames out for xenforo 1.2 and so bevor xenforo 1.3.

by the way ... a similar add-on is out from *******, it calls also "Live-Thread" and its up to date.
Seems like there is a conflict with @borbole 's Post Comments.
 
******* submitted a new resource:

******* - Thread Live Update - This addon allows you create a simple live thread that auto display new posts without refresh.



Read more about this resource...

*******.. it doesnt work right.. the java scrip load keeps running.. and the floating tool bar is unclicable.. also.. doesnt work with merged thread posts
 
******* updated ******* - Thread Live Update with a new update entry:

05/09/2014: Version 1.1.0

- Added option to enable/disable post jump down.
- Performance Improvements.
- Fixed error undefined property.
- Fixed bug on duplicate message.

Read the rest of this update entry...
 
I updated it.. and when i click on a thread.. it gives me this error on all of my threads:

The following error occurred:
The requested thread could not be found.
 
after updating i cannot open any thread or post anymore and cannot close the error...have to close the site and reopen it

thread.webp
 
Status
Not open for further replies.

Similar threads

Back
Top Bottom