Bitcoin Forum

Other => New forum software => Topic started by: Muhammed Zakir on April 07, 2015, 03:31:58 AM



Title: Fetching posts without reloading page!
Post by: Muhammed Zakir on April 07, 2015, 03:31:58 AM
Hello,

Will there be an option to fetch posts without reloading the page? A refresh button or similar, so new posts will be fetched and can be seen without reloading. If not, adding this will be good IMHO. Thank you!


Title: Re: Fetching posts without reloading page!
Post by: btcton on April 08, 2015, 07:20:44 AM
It sounds like an unnecessary waste of bandwidth to me. People could have their tabs open without actually looking at them and you would still be using up the forum's bandwidth. That is, if it is done automatically. If it is done manually then, yeah, it would be a nice feature to have to save a second or two per load, but nothing crucial.


Title: Re: Fetching posts without reloading page!
Post by: Muhammed Zakir on April 08, 2015, 07:43:21 AM
It sounds like an unnecessary waste of bandwidth to me. People could have their tabs open without actually looking at them and you would still be using up the forum's bandwidth. That is, if it is done automatically. If it is done manually then, yeah, it would be a nice feature to have to save a second or two per load, but nothing crucial.

Yes, it is done manually. I don't like automation in this feature.

=snip=
A refresh button or similar, so new posts will be fetched and can be seen without reloading.
=snip=


Title: Re: Fetching posts without reloading page!
Post by: coinpr0n on April 08, 2015, 08:21:31 AM
Yeah, I too think the idea is a good one. I've never thought about it or been in need of it, but if the option were there I would probably use it.


Title: Re: Fetching posts without reloading page!
Post by: Bitcoin_BOy$ on April 10, 2015, 03:23:48 PM
I think it can be easy coded , like a script to refresh posts every X seconds and if return true , get the new posts
just need a little work , and will be a good option , also some users may not like it , someone can have limited
bandwidth or something like this  :D .

Kind Of Respect ,
Bitcoin Boy.


Title: Re: Fetching posts without reloading page!
Post by: Muhammed Zakir on April 10, 2015, 05:42:15 PM
I think it can be easy coded , like a script to refresh posts every X seconds and if return true , get the new posts
just need a little work , and will be a good option , also some users may not like it , someone can have limited
bandwidth or something like this  :D .

Kind Of Respect ,
Bitcoin Boy.

No "automation".

Yes, it is done manually. I don't like automation in this feature.

=snip=
A refresh button or similar, so new posts will be fetched and can be seen without reloading.
=snip=


Title: Re: Fetching posts without reloading page!
Post by: btcton on April 10, 2015, 06:15:13 PM
It sounds like an unnecessary waste of bandwidth to me. People could have their tabs open without actually looking at them and you would still be using up the forum's bandwidth. That is, if it is done automatically. If it is done manually then, yeah, it would be a nice feature to have to save a second or two per load, but nothing crucial.

Yes, it is done manually. I don't like automation in this feature.

=snip=
A refresh button or similar, so new posts will be fetched and can be seen without reloading.
=snip=
Ah, in that case I don't see a problem, since it really isn't too different from what we already do. In fact, it'd be even better since only part of the page would be refreshed, saving some bandwidth. It also shouldn't be hard to do. You have my support.


Title: Re: Fetching posts without reloading page!
Post by: mitzie on April 15, 2015, 11:02:44 PM
Could be easily implemented with Ajax and jQuery. I think that it is a nice feature to have


Title: Re: Fetching posts without reloading page!
Post by: HeroC on April 22, 2015, 11:50:08 PM
Would be nice for support / help threads or others where you needed to pay attention +1, good feature


Title: Re: Fetching posts without reloading page!
Post by: EcuaMobi on April 23, 2015, 12:01:23 AM
It sounds like an unnecessary waste of bandwidth to me. People could have their tabs open without actually looking at them and you would still be using up the forum's bandwidth. That is, if it is done automatically. If it is done manually then, yeah, it would be a nice feature to have to save a second or two per load, but nothing crucial.

Actually this can be automatic and save bandwidth (not only not waste it) if done properly:

Something like infinite scroll can be implemented via jQuery and that could be triggered only when the tab is on focus and a scroll happens. Another option is to query regularly (every 30 seconds or so) for new posts only when the page is on focus (even if no scroll happens) but only a boolean would be returned indicating whether or not new posts are available on that specific thread (cache could be used server-side if several users are on the same thread). If there are new posts then a message would appear and the user would need to click on it to have them loaded. Gmail does this for new emails on the current conversation.

Only a few bytes would be queried only when the site is on focus. This would prevent a lot of users to hit F5 just in case, wasting a lot of bandwidth and -even worst- DB queries and other resources.