News:

Join the Facebook Fan Page.

Main Menu

refresh after 5 minets

Started by pjn, August 13, 2010, 03:18:15 AM

Previous topic - Next topic

pjn

refresh after 5 minets in all forums?

thanx!
Quick Portal - Free hosting & portal & forums system

Many designs + many extras + server = FREE!

Ask from us your free web now:
http://qp-free.com/index.php/board,2.0.html

CapadY

Do you realy expect us to know what you mean with those 6 words ?

Start reading the sticky about what info we need to be able to help.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

YogiBear

Capady is right pjn, we need proper information before anyone can help.

I presume you want your forum to refresh every five minutes. See if this helps...


http://custom.simplemachines.org/mods/index.php?mod=2369
SMF v2.1.3  Mods : Snow & Garland v1.4,  PHP  v.7.4.33

pjn

i meen, all page refresh in any 5 minutes, if you do not do something...
Quick Portal - Free hosting & portal & forums system

Many designs + many extras + server = FREE!

Ask from us your free web now:
http://qp-free.com/index.php/board,2.0.html

kat

Get Opera and set each page to do that, by right-clicking and "Refresh every".

Easy as easy can  be.

pjn

Quick Portal - Free hosting & portal & forums system

Many designs + many extras + server = FREE!

Ask from us your free web now:
http://qp-free.com/index.php/board,2.0.html


CapadY

Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

gbsothere

pjn, there is a Page Reload mod that does refresh and you can set the increments in your admin panel.  The problem I had is that my members objected to it, since it would refresh sometimes, while they were writing a post and they had to begin again.  You might have better luck with it.

:)

http://custom.simplemachines.org/mods/index.php?mod=1492
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

EffinToast

#9
I the Page Reload Mod doesnt do what you want. I just threw this together really quick use it if you like.

Open BoardIndex.template.php and Find:

function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;


Add after:

echo '<script language="javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>';
echo '<script language="javascript">
var refresh_interval = 15000;
function refresh_index(){
$("#main_content_section").load("',$scripturl,' #main_content_section");
}
$(document).ready(function () {
setInterval("refresh_index()", refresh_interval);
});
</script>';


This will refresh the main content on the index only. Info center, Categories, Last post by. Pretty much anything below the news slider on the index page. Without reloading the whole page.

To change refresh time change refresh_interval. Note its in milliseconds ie 1sec = 1000, 5min = 300000.

May need editing for custom themes.
aka: anzumerc / empireofthesun.net is no more.

pjn

Quick Portal - Free hosting & portal & forums system

Many designs + many extras + server = FREE!

Ask from us your free web now:
http://qp-free.com/index.php/board,2.0.html

kat

Yeah, it works.

As I said, though.

Dump Internet Explorer, get a decent browser and you won't need a mod. ;)

pjn

Quick Portal - Free hosting & portal & forums system

Many designs + many extras + server = FREE!

Ask from us your free web now:
http://qp-free.com/index.php/board,2.0.html

NanoSector

Quote from: K@ on August 13, 2010, 09:07:31 AM
Get Opera and set each page to do that, by right-clicking and "Refresh every".

Easy as easy can  be.
Hell yeah Opera for life!!!
Sorry just gotta say that... :P

I was just looking for this. It's just so goooooood for my forum :)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

scotty

Quote from: gbsothere on August 13, 2010, 12:46:40 PM
pjn, there is a Page Reload mod that does refresh and you can set the increments in your admin panel.  The problem I had is that my members objected to it, since it would refresh sometimes, while they were writing a post and they had to begin again.  You might have better luck with it.

:)

http://custom.simplemachines.org/mods/index.php?mod=1492

I tried this. I *does* work, but dumps us all out of the thread and back to the main topic!

Advertisement: