MyBB-Plugins Forums

Full Version: How to show progress for a long moderation script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm developing a moderation plugin

The script (which has to execute many subscripts) will take some or maybe a lot of time to complete and I want to show some progress to user How can I do this ... ???

Currently after hitting GO ,page lands on moderation.php which displays a short completion message and rediercts within seconds
I would like to display progress along with a report at this page and I don't want that page automatically redirects.

What is displayed

[Image: 2rf9cm0.jpg]

What I want

[Image: nyixch.jpg]

Actually I'm just a novice into mybb development

Huh
A way of doing it is by doing each step through an AJAX call. Then for each call completed, you display the result as "Completed".
(07-07-2014, 07:36 PM)Pirata Nervo Wrote: [ -> ]A way of doing it is by doing each step through an AJAX call. Then for each call completed, you display the result as "Completed".

Thanks, yeah I'm trying to do it right now........