MyBB Community Forums
[Beta] Live Threads 0.8 - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Development (https://community.mybb.com/forum-68.html)
+---- Thread: [Beta] Live Threads 0.8 (/thread-162325.html)

Pages: 1 2 3 4 5


[Beta] Live Threads 0.8 - Paul H. - 2014-11-04

Live Threads adds AJAX functionality to threads by making new replies show up automatically when the user is on the last page of a thread.

Features:
  • Groups that can set a thread as a live thread
  • Groups that can view live threads
  • Forums where threads are automatically live threads
  • Users can choose to turn off live thread functionality on a thread-by-thread basis
  • Language support

Current version: 0.8
Download: https://github.com/PenguinPaul/livethreads


Please report issues/comments in this thread or, preferably, on Github here: https://github.com/PenguinPaul/livethreads/issues


RE: [Beta] Live Threads 0.7 - dragonexpert - 2014-11-04

I'll test this out after I get my rest.


RE: [Beta] Live Threads 0.7 - SAEED.M - 2014-11-04

Oh ... That's Amazing ...
I look forward to this is release Smile

Have Question:
This means is if i on this page (last page) and i not refresh page, if another user send post , post add ajax to page and i can see new post? Smile

Thanks.


RE: [Beta] Live Threads 0.7 - Paul H. - 2014-11-04

(2014-11-04, 10:51 PM)SAEED.M Wrote: Oh ... That's Amazing ...
I look forward to this is release Smile

Have Question:
This means is if i on this page (last page) and i not refresh page, if another user send post , post add ajax to page and i can see new post? Smile

Thanks.

Correct!


RE: [Beta] Live Threads 0.7 - SAEED.M - 2014-11-04

Very Good.
When this release? almost? i look forward to use Big Grin


RE: [Beta] Live Threads 0.7 - Omar G. - 2014-11-05

Interesting one, can see some issues coming from it. Also, make use of the is_member() function instead of in_array(.., explode(..)). You can even use it for forums validation (though unnecessary)!


RE: [Beta] Live Threads 0.7 - Paul H. - 2014-11-05

(2014-11-05, 10:39 AM)Omar G. Wrote: Interesting one, can see some issues coming from it. Also, make use of the is_member() function instead of in_array(.., explode(..)). You can even use it for forums validation (though unnecessary)!

Thanks! Will do.


RE: [Beta] Live Threads 0.7 - Paul H. - 2014-11-06

Soon to be released.

Updated to version 0.8


RE: [Beta] Live Threads 0.8 - fonta - 2014-11-06

Not working as expected over here Sad
I've put only administrators to be able to set the live status of a thread and after that made a test topic.

[Image: FW0khin.png]

As an administrator, the only thing i get to see is a red cross:

[Image: YzIHVyZ.png]

pressing the button, puts me to the last post of the thread and the 0 in the database changed to 1, scrolling back up, the red cross changed into an green arrow.
Pressing it, gives me an access denied page.
Also, there are no new posts visible when I just leave the button for what it is and ask someone to post in the thread.

(www.bug-community.com/forum/)

EDIT:
After clicking the red cross, the link behind the green arrow is still "deactivate".
Changing 
https://www.bug-community.com/forum/misc.php?action=livethread_deactivate&tid=431&my_post_key=
To 
https://www.bug-community.com/forum/misc.php?action=livethread_activate&tid=431&my_post_key=
Does not give an error, but the button stays a green arrow and the database is row is not being updated.


RE: [Beta] Live Threads 0.8 - Paul H. - 2014-11-06

I edited your post key out of the post, but I recommend you change your password on your forum in case it got cached somewhere. Someone could use it in a CSRF attack.

It seems the language part is messed up, I'll fix that now...

and done. Reupload and try again.