Bored? Looking to kill some time? Want to chat with other SMF users? Join us in IRC chat or Discord
Started by mitelforums, July 29, 2021, 10:04:56 AM
Quote from: mitelforums on July 29, 2021, 01:28:07 PMAs a matter of fact, the refresh allows the user, (esp moderators) to keep the website up and see that there are new topics or topic updates at a quick glance.
Quote from: mitelforums on July 29, 2021, 01:28:07 PMBecause that's what I want.
Quoteare you trying to just force a refresh of the page that they are on or bounce them back to the index?
Quote// Output any remaining HTML headers. (from mods, maybe?) echo $context['html_headers']; echo '<meta http-equiv="refresh" content="1800; url=http://<website>/forum/" ></head><body>';
Quote from: Kindred on July 29, 2021, 05:22:52 PMholy crap... you actually want to bounce them back to the main index?? ?? ?? ??That is, far and above, one of the most stupid ideas I have ever heard of.I am surprised that you still have any users, if you had this implemented before. As I initially said, this would piss me off beyond belief.What happens if a user is in the middle of reading a post/thread... steps away and comes back to find that the screen has reset, losing their last read spot?Even worse... what happens if a user is in the middle of WRITING a post... steps away and comes back to find that the screen has reset -- LOSING EVERYTHING THEY JUST WROTE??
Quote from: mitelforums on July 29, 2021, 04:33:05 PMQuoteare you trying to just force a refresh of the page that they are on or bounce them back to the index?Yes! That's exactly what I want to do. After 30 minutes, bounce back to the index.I thought I did that. It seems to work if the page is already on the main index. I'll check again to be sure I edited the right file but this is what I put in: