Author |
Message |
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 03/08/2004 16:06:48
|
Anonymous
|
First off, I really like this guestbook - despite knowing virtually nothing about PHP, I was able to install and customize it. But I do have 2 questions that I have not found answers for on this forum (if they're here, sorry I missed them!):
1) Where do I find the place to change the amount of time (default is set to 2 seconds) that it takes to go from the screen advising that the guestbook entry has been successfully posted until it automatically goes back to the guestbook itself?
2) Currently, after adding a post to the guestbook, I have to hit the refresh/reload button on my browser for the new entry to appear. Is there some way to make it automatically refresh (or did I accidently eliminate that function in my customization efforts)? I am concerned that those individuals who are not very computer savvy will not think to do that and instead try to post the same message over and over again when they don't see their post.
Thanks in advance to anyone who can help me!
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 03/08/2004 16:39:25
|
Carbonize
Master
![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I'm not one hundred percent on the location but the redirect after a successful posting is a <meta refresh tag which is in one of the templates I think.
As for the second matter this sounds more like a problem with either your browser caching the page or your ISP running an invisible cache. You could add the pragma nocache meta tag to the index to fix this. If nobody else gives more specifics I will post them when I get home.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 04/08/2004 02:44:37
|
Anonymous
|
Thanks for your quick reply!
1) Thanks for pointing that out. I had thought that there might be something in the support.php file, and sure enough there it was - I just never thought to look for a meta tag!
2) I tried to post in several different browsers: I.E.6, Netscape 7.1 and Opera 7.5 with mixed results: only the Netscape showed the message automatically, so it obviously is not an ISP issue, but rather a browser issue. Until I can find out more about this "pragma nocache meta tag", I think I will simply modify the text on the success page to tell the poster to hit refresh if the message doesn't appear automatically, and lengthen the time that message appears to actually give enough time to read it!
Thanks again!
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 04/08/2004 07:18:28
|
Carbonize
Master
![[Avatar]](/forum/images/avatar/96871336492d73e733f55.jpg)
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Have a look at http://www.htmlgoodies.com/beyond/nocache.html for a quick tutorial on the pragma nocache tag.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 04/08/2004 16:03:21
|
Anonymous
|
Thanks!!
|
|
|