r3n3
New Member
Posts: 2
inherit
216526
0
Dec 5, 2014 21:31:17 GMT -8
r3n3
2
December 2014
r3n3
|
Post by r3n3 on Dec 5, 2014 1:57:21 GMT -8
Is something like this possible for proboards forums? This is on a forum, and when the button is clicked the page refreshes! Is there anything similar to this? Attachments:
|
|
inherit
The Great Cinnamon Roll
191518
0
Oct 19, 2016 22:17:44 GMT -8
David Clark
Care for some tai chi with your chai tea?
17,602
March 2013
davidlinc1
|
Post by David Clark on Dec 5, 2014 10:00:29 GMT -8
Unfortunately this wouldn't be possible at this time, r3n3, since there's no way to tell (without refreshing) if any new posts were made while you're browsing a thread.
|
|
r3n3
New Member
Posts: 2
inherit
216526
0
Dec 5, 2014 21:31:17 GMT -8
r3n3
2
December 2014
r3n3
|
Post by r3n3 on Dec 5, 2014 21:32:28 GMT -8
Unfortunately this wouldn't be possible at this time, r3n3, since there's no way to tell (without refreshing) if any new posts were made while you're browsing a thread. It's not possible at all? Not even a Javascript or ajax? curious
|
|
inherit
The Great Cinnamon Roll
191518
0
Oct 19, 2016 22:17:44 GMT -8
David Clark
Care for some tai chi with your chai tea?
17,602
March 2013
davidlinc1
|
Post by David Clark on Dec 6, 2014 8:47:35 GMT -8
As far as I know, no -- sorry.
|
|
inherit
216224
0
Aug 1, 2024 1:18:46 GMT -8
Quozzo
408
November 2014
quozzo
|
Post by Quozzo on Dec 11, 2014 5:48:13 GMT -8
Its possible with AJAX but AJAX is not permitted and for good reason. Its not possible to know when a post is made unless an AJAX request is sent, therefore its impossible to determine when to send an ajax request. It would have to be every minute or so which would be the equivalent of opening the page every minute, even if there isn't a reply because the only way to check is to open the page. If you leave your browser on the topic then it will still be firing in the background.
It would be possible with a third party database such as firebase which could receive a message when a post is made to alert everyone to get the new posts, but as it its a third party site then anyone who finds access can see when certain posts get a new reply. They wont be able to see the content as that would be retrieved through the board via an AJAX request, but as AJAX requests are not permitted it's a futile endeavour
I made a mod for another board which checked the forum whenever someone made a reply and alerted the user about the new posts which was a good compromise as it wasn't timed but relied on user interaction.
|
|