NaFigator Posted August 3, 2005 Posted August 3, 2005 Can you make AJAX reply for IPB 2.1 to post reply without reloading of page? Sorry my bad english.
Wilko Posted August 3, 2005 Posted August 3, 2005 Why would you wan't to? You've already read the current posts when you reply. You've read your reply, since you wrote it. So all you're going to do from there is either leave the page or refresh to see new posts, making the AJAX just eye candy. Its better to reload the page when adding posts so that you get the new posts added since your reply.
NaFigator Posted August 3, 2005 Posted August 3, 2005 It's not hard to make refresh only if new posts was created. And no refresh page if new post not yet posted (more possible situation). AJAX - rulez ;)
Why Two Kay Posted August 3, 2005 Posted August 3, 2005 If you turn off the "Thanks..." Redirect pages, it's an almost instantanious return to the topic.
NaFigator Posted August 4, 2005 Posted August 4, 2005 If you turn off the "Thanks..." Redirect pages, it's an almost instantanious return to the topic.But it's redirect with reloading page. AJAX will exclude it.
SGS International Posted August 4, 2005 Posted August 4, 2005 What if... What if the AJAX function that sends the post also does a quick check for any new posts in the topic while it's at it, so that when it's done sending, it can display the topic properly, in full. And because it's only returning XML data (or whatever), there are no new images to load and that is good for 56k-ers.
JayX Posted August 4, 2005 Posted August 4, 2005 I quite like the sound of this, its the kind of thing I'd see AJAX being used for in the future for sure.
Stephen Posted August 4, 2005 Posted August 4, 2005 it would be quite slow checking for new posts and rebuilding the page with JS to add the new posts, it would probably turn out faster as it is now. Not the mention the fact that rebuilding the page could seriously hamper the administration skinning side as it would further restrict the structure of what the admin could change
SGS International Posted August 4, 2005 Posted August 4, 2005 Not really. XML data is just text, which will load much more quickly than full pages with images. If the XML was simply parsed and converted to HTML, it would not disrupt the users' flow. Unless of course the user's computer was very slow. Perhaps it could be turned on|off in the UCP.
Antony Posted August 5, 2005 Posted August 5, 2005 The current fast reply system works fine. Yes, its a redirect, but lets not use AJAX for the sake of it.
SGS International Posted August 5, 2005 Posted August 5, 2005 How is a technology ever going to become mainstream if we don't use it mainstream?
Antony Posted August 5, 2005 Posted August 5, 2005 How is a technology ever going to become mainstream if we don't use it mainstream? There are many bits of AJAX in 2.1. Its mainstream, but not overused.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.