Topic: [request] Auto-refresh
Hi, do you think it might be possible, one day, to have an extension that refresh automatically the forum ? Like in facebook, hotmail, etc ?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 extensions → [request] Auto-refresh
Hi, do you think it might be possible, one day, to have an extension that refresh automatically the forum ? Like in facebook, hotmail, etc ?
it was discussed here
http://punbb.informer.com/forums/topic/ … framework/
and abandoned it seems...
What do you mean by "refresh automatically the forum"?
I think he means that it will update the topics etc so it will automatically come up if there are any new posts.
Don't think it would work personally but not the worst idea I've heard.
Thank you for anwering.
Is it so hard to create a tag that automatically refrech a forum all the xseconds ?
I have ext for this called Fancy_fast_gun, it use AJAX without reloading page, but it requires for work this ext http://punbb.ru/topic3551-rasshirennyi- … query.html and maybe little custom work.
http://punbb.ru/post26557.html
Be carefull, this version unoptimized and not tested on clean forum - i have custom build of punbb.
Current dev version optimized and good work on my forum http://forum.iteam.ua/
Thank you. I'm not sure to be able to implement this but I'll try !
Unfortunatelly, I don't speak the cyrillic... What custom changes should I make ? I think such an extension, usable by everyone would be very good.
Ok. i`m check my ext in default punbb instaliation and answer you.
If you just want to refresh forum pages, you need to add this line:
header('Refresh: 5; url=http://localhost'.$_SERVER['REQUEST_URI']);
after the 22 line of the "<FORUM_ROOT>/header.php" file. Don't forget to change the refresh time and your domain.
Thank you, this works !
But it implies a cookie problem. Indeed, when the page is refreshed, it goes on an error pages saying that "you don't have cookie enabled" and you seem to be disconnected. But in fact, if you go on previous page, of if you clic on any forum page , you can see that you are indeed well connected.
How can we fix this so that you remain on the same page, connected, without this error page ? Does someone have the same problem ?
Sexy Ajax solution wanted pleeease
PunBB Forums → PunBB 1.3 extensions → [request] Auto-refresh
Powered by PunBB, supported by Informer Technologies, Inc.