Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Refresh homepage every X Seconds Details »»
Refresh homepage every X Seconds
Version: 1.00, by CrazyShooter CrazyShooter is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-17-2006 Last Update: Never Installs: 36
Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-18-2006, 08:06 PM
G_Man G_Man is offline
 
Join Date: Feb 2006
Location: Washington State
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Too Cool !!

Hard to believe that is all it took.

Installed and checking it now. Thanks for that!!
Reply With Quote
  #3  
Old 02-18-2006, 08:33 PM
CrazyShooter CrazyShooter is offline
 
Join Date: Oct 2005
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 02-18-2006, 08:45 PM
G_Man G_Man is offline
 
Join Date: Feb 2006
Location: Washington State
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

Thanks again.
Reply With Quote
  #5  
Old 02-19-2006, 09:23 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 02-19-2006, 09:47 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<meta http-equiv="refresh" content="XX; url=" />

content="x"

values for parameters should be inside the " .. "
Reply With Quote
  #7  
Old 02-19-2006, 02:41 PM
CrazyShooter CrazyShooter is offline
 
Join Date: Oct 2005
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry about that, just a typo error
Reply With Quote
  #8  
Old 02-20-2006, 05:54 PM
nufc fan nufc fan is offline
 
Join Date: Nov 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice and simple works a treat cheers mate.
Reply With Quote
  #9  
Old 02-24-2006, 01:26 AM
ChuckH's Avatar
ChuckH ChuckH is offline
 
Join Date: Mar 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #10  
Old 02-24-2006, 03:30 AM
trigon trigon is offline
 
Join Date: Dec 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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="
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05048 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete