[Snippets] Refresh Page

Mods, snippets and styles postet and supported by the users
Forum rules
As the forum title says this is for User Contributions
Post a support request in this forum and you will be banned!
Locked
Chico Gois
BBCoder II
BBCoder II
Posts: 10
Joined: 08 Mar 2010, 17:00
Contact:

[Snippets] Refresh Page

Post by Chico Gois »

If you need to refresh your page every x seconds, is very simple, just make this change.

Open index.php
Find:

Code: Select all

// Assign index specific vars     
Add Before:

Code: Select all

// Refreshing the page every 60 seconds...
meta_refresh(60, append_sid("{$phpbb_root_path}index.$phpEx")); 
FAQ.:
Change the value 60 as needed.
User avatar
Solidjeuh
BBCoder IV
BBCoder IV
Posts: 257
Joined: 16 Oct 2011, 02:15
BBCodes: 7
Favourite MOD: Top stats
Location: Aalst / Belgium
Contact:

[Snippets] Refresh Page

Post by Solidjeuh »

And who wants to refresh his index page every 60 seconds?
So annoying.. :D
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

[Snippets] Refresh Page

Post by martin123456 »

Thats what the browser refresh button is for and this refresh junk has been posted before in many topics
User avatar
Sniper_E
BBCoder II
BBCoder II
Posts: 44
Joined: 04 Dec 2011, 06:30
BBCodes: 1
Contact:

[Snippets] Refresh Page

Post by Sniper_E »

That would be used more for a web cam page or a page where the data is updated periodically.
I don't think you want your index page refreshed every 60 seconds.
The 'Who's Online' page updates periodically.
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Solidjeuh
BBCoder IV
BBCoder IV
Posts: 257
Joined: 16 Oct 2011, 02:15
BBCodes: 7
Favourite MOD: Top stats
Location: Aalst / Belgium
Contact:

[Snippets] Refresh Page

Post by Solidjeuh »

Sniper_E wrote:I don't think you want your index page refreshed every 60 seconds.
halfway down the index page = Refresh
Try again...
And again..
for the last time now..
Naah one more time...

:lol: :D :lol:
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

[Snippets] Refresh Page

Post by martin123456 »

can you imagine trying to steal some thing off some one's page and then it refresh's on ya lmao half way thru copy n paste :evil:

i'l be forced to view the source :lol:
Locked