vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Refresh homepage every X Seconds (https://vborg.vbsupport.ru/showthread.php?t=108314)

CrazyShooter 02-17-2006 10:00 PM

Refresh homepage every X Seconds
 
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:
Code:

$headinclude
And add above:
Code:

<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

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

Quote:

Originally Posted by CrazyShooter
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="


All times are GMT. The time now is 08:03 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01165 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete