|
Author |
Message |
thebuddies

Member
Posts: 36
Registered: Jun 2010

 |
Posted June 14th, 2010 08:05 AM IP 
Hello,
Is there a code for automatiq refresh the page again?
lets say every 10min or so
so you don't have to do it yourself.
thanks
thebuddies
|
|
bunk

Member
Posts: 1340
Registered: Sep 2007

|
Posted June 14th, 2010 04:46 PM IP  I've never seen a script for that, but that dont mean one dont exist.....
I'm pretty sure it would be browser specific, if it did in fact exist. Have a nice day, Bunk
|
|
Orpheas

Super Moderator
Posts: 2187
Registered: Sep 2004

 |
Posted June 14th, 2010 05:42 PM IP  You could use a simple redirect script. They usually have a timer in it. You can set the redirect to whichever page you want it to go to. It isn't exactly a refresh, but it would get the job done. Excoboard Terms of Service
|
|
thebuddies

Member
Posts: 36
Registered: Jun 2010

 |
Posted June 14th, 2010 06:20 PM IP  thank you guys
i will look into it 
thebuddies
|
|
thebuddies

Member
Posts: 36
Registered: Jun 2010

 |
Posted June 15th, 2010 04:21 AM IP  I have found it
and i like to share it with you guys 
Add this code between <HEAD> and </HEAD> tags.
<meta http-equiv="refresh" content="30; url=current-or-new-url">
thebuddies
|
|
bunk

Member
Posts: 1340
Registered: Sep 2007

|
Posted June 15th, 2010 06:11 AM IP  Thanks thebuddies,
While I didn't test this, i'll guess that you change the 30 to change the time span ??? Have a nice day, Bunk
|
|
thebuddies

Member
Posts: 36
Registered: Jun 2010

 |
Posted June 15th, 2010 06:44 AM IP  your welcome 
yes i did Bunk 
i set 60 sec to refresh te page 
thebuddies
(Edited by thebuddies)
|
|
Flymaker
Member
Posts: 8
Registered: Mar 2006

|
Posted February 4th, 2011 07:00 AM IP 
Quote: thebuddies wrote:
I have found it
and i like to share it with you guys 
Add this code between <HEAD> and </HEAD> tags.
<meta http-equiv="refresh" content="30; url=current-or-new-url">
thebuddies
|
Where do I find this to put the code in?
Thanks
|
|
bunk

Member
Posts: 1340
Registered: Sep 2007

|
Posted February 4th, 2011 07:09 AM IP  Right there in your quote box ^^^ I'll put it in blue for ya:
<meta http-equiv="refresh" content="30; url=current-or-new-url">
Have a nice day, Bunk
|
|
Flymaker
Member
Posts: 8
Registered: Mar 2006

|
Posted February 4th, 2011 01:17 PM IP 
Quote: bunk wrote:
Right there in your quote box ^^^ I'll put it in blue for ya:
<meta http-equiv="refresh" content="30; url=current-or-new-url">
|
Sorry Bunk I'm new to this stuff I meant where do I go on my site to put this code in.
Thanks
|
|
bunk

Member
Posts: 1340
Registered: Sep 2007

|
Posted February 4th, 2011 03:36 PM IP  Ok, sorry 
Again, in your quote: Add this code between <HEAD> and </HEAD> tags
You will find those tags at the beggining of, and part of the way down in your: Custom Templates -> Header Template. The <HEAD> tag being the opening tag for the scripts, and the </HEAD> tag being the closing tag.
Hopefully that helps break it down a little better for ya ???  Have a nice day, Bunk
|
|
Belle

Member
Posts: 22
Registered: Mar 2011

|
Posted March 7th, 2011 08:19 AM IP  I tried it and when it refreshes , it goes to the exco boards home page . Where is the best place to add it between <head> and </head> to make this work right ?
|
|
bunk

Member
Posts: 1340
Registered: Sep 2007

|
Posted March 7th, 2011 06:07 PM IP  Ok, since everyone is having issues with this, I tested it and found that I had to insert my board URL in what i've written in red here to make it direct back to my main index page, or whichever page you wish for it to be directed:
<meta http-equiv="refresh" content="30; url=Insert your board URL here">
The original instructions probably should have said this 
And to your last question Belle, I put in right above my </head> closing tag, but I bet that part wont really matter. Have a nice day, Bunk
|
|
Belle

Member
Posts: 22
Registered: Mar 2011

|
Posted March 7th, 2011 06:08 PM IP  Ok thanks . Gonna try it .
|
|
bunk

Member
Posts: 1340
Registered: Sep 2007

|
Posted March 7th, 2011 06:12 PM IP  If you have an issue, please post your board address, and i'll put ya one together that should work....  Have a nice day, Bunk
|
|
Belle

Member
Posts: 22
Registered: Mar 2011

|
Posted March 7th, 2011 06:18 PM IP  Thank you so much Bunk . It works . I had added my URL but after the url-or- . Im learning . Thanks to you guys
|
|
bunk

Member
Posts: 1340
Registered: Sep 2007

|
Posted March 7th, 2011 06:28 PM IP  Ok, glad we got that sorted finally 
I havn't tested this any further, but I have a sneaky feeling that if left at 60 seconds, it might auto refresh back to whichever link you inserted while a member is in the middle of either reading, or writting a post, which wont go over very well with them.....
That's just an idea / opinion of mine, i'm sure you'll hear about it if this does start happening Have a nice day, Bunk
|
|
Belle

Member
Posts: 22
Registered: Mar 2011

|
Posted March 7th, 2011 06:35 PM IP  Youre right . It did start happening . Should I change it to 3 seconds ?
|
|
Belle

Member
Posts: 22
Registered: Mar 2011

|
Posted March 7th, 2011 06:38 PM IP  That was supposed to say 30 seconds . I tried it and it still refreshes back to the front page so I had to remove it altogether .
|
|
bunk

Member
Posts: 1340
Registered: Sep 2007

|
Posted March 7th, 2011 06:43 PM IP  NO, 3 seconds would make it happen almost instantly.
600 seconds would be 10 minutes, 300 seconds would be 5 minutes, and so on, but it's really hard to tell when a good timeout would be for this to take place.... If I were going to try and use this, i'd probably go with 300, and see how that works. But if a member is writting a long post, and it wipes them out after 5 minutes, they're not gonna be too happy. Have a nice day, Bunk
|
|
Belle

Member
Posts: 22
Registered: Mar 2011

|
Posted March 7th, 2011 06:46 PM IP  Im just not going to use this at all since it goes back to the main page . No matter what time it is set to , someone , sometime , is going to be posting and get redirected . Nope , they would not be happy . LOL
|
|
bunk

Member
Posts: 1340
Registered: Sep 2007

|
Posted March 7th, 2011 06:48 PM IP  I wouldn't either hun
That thought just happened to dawn on me while I was trying to figure out why it wasn't working.... Have a nice day, Bunk
|
|
Belle

Member
Posts: 22
Registered: Mar 2011

|
Posted March 8th, 2011 07:05 AM IP  LOL Thanks for trying
|
|
Belle

Member
Posts: 22
Registered: Mar 2011

|
Posted March 8th, 2011 09:16 AM IP  I found a code and it works . Just place this code
<meta http-equiv="refresh" content="60">
anywhere between the <head> and </head> tags in the Custom Templates - Page Header section of your site . You can change the number of seconds from 60 to whatever you like . The only problem is , if you are typing a post , and it refreshes , everything youve typed disappears and you have to start all over . Which is too much of a problem , so Im gonna keep looking .
|
|
bunk

Member
Posts: 1340
Registered: Sep 2007

|
Posted March 8th, 2011 06:12 PM IP  Thanks Belle 
I have a feeling that any script that refreshes the page will do this if someone is typing a post. I even thought about inserting it in the index template for example, in an attempt to refresh only the index page, but never tested or tried it. Any of them you put in the header or footer page, will have the same effect on all pages.
Personally, I never was in the market for this script, just tried to help you get it going, and that's when I realized what was gonna happen with it. You could try it in a different template as I mentioned and see how it goes, it might even work
Do you have a test board ??? If not, you might want to start one for testing these things. That way you dont mess up your regular board. You can blow up and reset a test board as many times as needed to figure things out  Have a nice day, Bunk
|
|
Belle

Member
Posts: 22
Registered: Mar 2011

|
Posted March 10th, 2011 07:41 AM IP  LOL . No . I dont have a test board . I guess I need to make one and try things out there first . Thanks
|
|
|
|