Jump to content

AJAX Reply

Featured Replies

Posted

Can you make AJAX reply for IPB 2.1 to post reply without reloading of page?
Sorry my bad english.

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.

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 ;)

If you turn off the "Thanks..." Redirect pages, it's an almost instantanious return to the topic.

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.

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.

I quite like the sound of this, its the kind of thing I'd see AJAX being used for in the future for sure.

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

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.

The current fast reply system works fine. Yes, its a redirect, but lets not use AJAX for the sake of it.

How is a technology ever going to become mainstream if we don't use it mainstream?

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.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.