Log in

View Full Version : Refresh homepage every X Seconds


CrazyShooter
02-17-2006, 10:00 PM
This is my very first mod so go easy on me!

This mod will make your homepage automaticly refresh to how ever many seconds you choose!

In FORUMHOME Find:
$headinclude

And add above:
<meta http-equiv="refresh" content="XX"; url=" />

Where XX is change to the number of seconds you want in between every refresh

60: 1 minute


PLEASE CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=108314)

G_Man
02-18-2006, 08:06 PM
Too Cool !!

Hard to believe that is all it took.

Installed and checking it now. Thanks for that!!

CrazyShooter
02-18-2006, 08:33 PM
lol, i might adapt this so that it will have its own option in the vbulletin options, but bare in mind this is the first hack i released :)

G_Man
02-18-2006, 08:45 PM
lol, i might adapt this so that it will have its own option in the vbulletin options, but bare in mind this is the first hack i released :)


You might want to add in the instructions something about adding your own url in the code like you did with the time setting.

And an AdminCP function would of course be the professional finishing touch, but as is, I love this. It was one of my two "wish list" mods in fact. :D

Thanks again.

bashy
02-19-2006, 09:23 AM
Hi

I have tried this and it works well...
There is a down side to having this....

If you have a shoutbox of ny kind then auto refreshing of the page
will not go down too well, as whilst typing in the box and it refreshes
you will lose all that you have typed lol

Great idea btw but i cant use it, well done :)

Floris
02-19-2006, 09:47 AM
<meta http-equiv="refresh" content="XX; url=" />

content="x"

values for parameters should be inside the " .. "

CrazyShooter
02-19-2006, 02:41 PM
sorry about that, just a typo error

nufc fan
02-20-2006, 05:54 PM
nice and simple works a treat cheers mate.

ChuckH
02-24-2006, 01:26 AM
How would you do it with showthread or forumhome? Something that has info after the .php?

For example, http://www.YOURSITE.com/forumdisplay.php?f=27

How would you refresh that without losing the f=27?

trigon
02-24-2006, 03:30 AM
installed, BUT: on the forumhome they shows me this:
function largerThan(a,b) { return a>b; }
Changed the time from 60 to 30 but no change. :(

Edit: Now it works, i delete this: url="

ChuckH
02-24-2006, 04:11 PM
How would you do it with showthread or forumhome? Something that has info after the .php?

For example, http://www.YOURSITE.com/forumdisplay.php?f=27

How would you refresh that without losing the f=27?

Anybody?

Iain M
02-25-2006, 01:12 PM
Anybody?

you just want it for forum id 27? or with all forums?

if you want it for all forums you would just edit the FORUMDISPLAY template and add the code above
$headinclude

for showthread you would just edit the SHOWTHREAD template and do the same...

Rukbat
03-28-2006, 10:13 PM
you just want it for forum id 27? or with all forums?

if you want it for all forums you would just edit the FORUMDISPLAY template and add the code above
$headinclude

for showthread you would just edit the SHOWTHREAD template and do the same...


Is it possible for the 'newposts' to auto-refresh, and if so, change what where?

gothicuser
03-29-2006, 03:04 AM
Hi

I have tried this and it works well...
There is a down side to having this....

If you have a shoutbox of ny kind then auto refreshing of the page
will not go down too well, as whilst typing in the box and it refreshes
you will lose all that you have typed lol

Great idea btw but i cant use it, well done :)
:tired::tired: Same here, took a few hours before the PM's started to come in from disgruntled members tho' :D

Iain M
03-29-2006, 09:00 AM
Is it possible for the 'newposts' to auto-refresh, and if so, change what where?

this hack was released a couple of days ago

https://vborg.vbsupport.ru/showthread.php?t=111494

Rukbat
03-29-2006, 03:05 PM
thanks :D

basketmen
12-09-2006, 02:53 PM
you just want it for forum id 27? or with all forums?

if you want it for all forums you would just edit the FORUMDISPLAY template and add the code above
$headinclude

for showthread you would just edit the SHOWTHREAD template and do the same...



Where to edit the on specific SHOWTHREAD template like example f=27?