Purchase Credits 2.0.1 released and NewPoints 2.1.2 released .
How to show progress for a long moderation script
#1
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
Reply
#2
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".
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#3
(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........
Reply





Users browsing this thread: 1 Guest(s)

About MyBB-Plugins

Plug Yourself into the best MyBB AddOn.

Copyright © 2009-2020 MyBB-Plugins Forums.

Statistics

  • 51,000+ Posts
  • 19,000+ Members
  • 3,600+ Threads

Impressed? For sure
Check Full Stats here