MyBB Community Forums

Full Version: Auto refresh (without loading page)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,

i think this idea would be a great feature of mybb 2.0 :

http://ideas.mybb.com/idea/auto-refresh-...ading-page


Submitted by mrfield16, 20th July 2011, 1:29:35 PM

Perhaps an Ajax-type plugin? Where you can watch the thread and see replies as they are submitted. This would of course reduce click counts, but would be a nice feature for the user. Perhaps a toggle /on/off option for the admin.

what do you guys think?

Great idea.
I like this.
I agree in general with the implementation of jQuery.

jQuery is an excellent futuristic Javascript library, and MyBB would be great with jQuery/AJAX replies, logins, etc. Less reloads, and it would offer the ease of adding effects like fadeins to certain parts.

For example, in the simplest form, an element can be faded in using this jQuery code:
$(document).ready(function() { 
       $('#somebutton').click(function() { 

      $('#someelement').fadeIn(1000)
});

});

Of course, the complexity of MyBB would require a bit more advanced, but that shows in simple form how jQuery can be used.