MyBB Community Forums

Full Version: [Beta] Live Threads 0.8
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
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
I'll test this out after I get my rest.
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.
(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!
Very Good.
When this release? almost? i look forward to use Big Grin
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)!
(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.
Soon to be released.

Updated to version 0.8
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...y_post_key=
To 
https://www.bug-community.com/forum/misc...y_post_key=
Does not give an error, but the button stays a green arrow and the database is row is not being updated.
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.
Pages: 1 2 3 4 5