If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced Guestbook: preview button works only once  XML
Forum Index » Support Forum
Author Message
Anonymous



My guestbook at http://maloneandhutch.com/avg/ is not allowing revisions from preview. Even on the demo on this site, I find that if you preview your post, go, back and revise it, and hit the preview button again, nothing happens. This is not what happens on the real guestbook on this site, which does allow revisions from preview. What could be the matter?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Works fine for me.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



The mystery deepens:

Testing this on the guestbooks here at proxy2, both demo and real:

It works fine in Firefox (0.10.1), just the way you'd like it to.

In Opera (7.23), clicking "Go Back" from the preview takes you back to the add entry form, and you can edit, but clicking "preview" again does nothing.

In IE (5.5 and 6.0), clicking "Go Back" from the preview blinks the screen (a reload? if so, very fast) and leaves you at the preview; clicking "Go Back" again takes you back to the main page of the guestbook. This is the behavior reported by Robotjes in thread 191. Robotjes mentions the preview working fine in Netscape; Firefox is based on Netscape, I think.

It's a puzzlement.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Firefox is the latest browser from Mozilla. Netscape used the Gecko engine that Mozilla makes. Netscape uses a very very old version of the gecko engine though while Firefox has the shiny new version. I'm wondering if the problem isn't with the browsers caching the pages.

Opera used to be good but these days it's getting pathetic. Firefox is the browser of the future and if Microsoft had any sense they would give up on IE and just include Firefox and Thunderbird in the next windows.

Doesn't really help with the problem though. Wonder if using the pragma nocache meta tag would help

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



I wonder which template you'd want to put it into, and if you'd need the second head section described here.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

header.php would be my guess.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



In header.php up in the head section next to the other meta tag, like this?


tried this both with and without the suggested (link in earlier post)


observed no change.

The iterative Preview in this forum works perfectly (in Opera, my browser of choice), without any need for a "Go Back" button.

hmmmm...... Increasingly puzzled.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Yup my mate and I both looked at it and cannot see why. I'll give it more thought later on.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Thanks Carbonize (and your mate). I'll be looking forward to your further comments. (want to say "hearing your thoughts" but it seems wrong somehow.)
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Still looking into it. It's a strange one indeed.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

phpBB seems to do previews okay maybe there is some header info you can look at in its files.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Upload the default guestbook files into a different folder and see if it still errors.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



It seemed like the easiest way to get a default install was to do a fresh install, so I did: maloneandhutch.com/guest2/

It won't be there for long, but: same behavior. As I said above, you can test this on the guestbooks at proxy2, no need to come over here; but I'll leave this up, unlinked from the site so as not to trouble my users, all 3 of them, for a few days. Carbonize, the guestbook on your site does the same thing.

Something else, about Opera, which I just noticed with the new install, is that when you have returned to the editing screen and made your edits, as noted above, the "Submit" button does nothing, also, just like the "Preview" button. I'm surprised no one but Robotjes noticed this before.
Anonymous



Sorry, slip of the mind there, Robotjes's comment was about IE, not Opera.
Anonymous



Just added a post to my own (real) guestbook, and watched myself while I was doing it. Using Opera, I did not need or use the "Go Back" button in the post form, but instead used the back and forward buttons on the browser. This would account for why I had not noticed the problem earlier, and possibly for why it is being under-reported. Though since this approach does not work in IE ( I just tried it, for a test), since everybody and their sister uses IE, that really wouldn't account for the under-reporting.

OT: I hate the thought of removing HTML, but amber222 has got me worried.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum