The website is for sale. Check here for more information.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.
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-2021 MyBB-Plugins Forums.

Statistics

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

Impressed? For sure
Check Full Stats here