Auto refresh Moodle's HotQuestion plugin

27 views
Skip to first unread message

nadavkav

unread,
Nov 27, 2011, 6:44:12 PM11/27/11
to Sunner Moodle Plugins
Hi Sunner :-)

I was wondering if you can help me improve the hotquestion plugin with
an auto refresh function.

A teacher asked me if it is possible to turn the refresh .toolbutton
into an ON/OFF button that when clicked
starts an auto-refresh timer of 5 sec for the question list and when
clicked again turns OFF and stop refreshing the list.

Is it possible? is it difficult?

Nadav :-)

Zhigang Sun

unread,
Nov 28, 2011, 12:59:47 AM11/28/11
to sunner-moo...@googlegroups.com
Hi Nadav,

Thank you for the suggest. Somebody has opened an issue about it at https://github.com/hit-moodle/moodle-mod_hotquestion/issues/11 . It is a good suggest but I still do not know when to implement it. Watch the above project to know the latest updates. 


--
You received this message because you are subscribed to the Google Groups "Sunner Moodle Plugins" group.
To post to this group, send email to sunner-moo...@googlegroups.com.
To unsubscribe from this group, send email to sunner-moodle-pl...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sunner-moodle-plugins?hl=en.




--
哈尔滨工业大学(Harbin Institute of Technology)
孙志岗(Sun Zhigang)http://sunner.cn
Sent from my GMail

Nadav Kavalerchik

unread,
Nov 28, 2011, 11:22:02 AM11/28/11
to sunner-moo...@googlegroups.com
Thank you very much!

btw, excellent module. everyone LOVE it over here (Israel)
:-)

2011/11/28 Zhigang Sun <sun...@gmail.com>

Nadav Kavalerchik

unread,
Nov 28, 2011, 8:54:25 PM11/28/11
to sunner-moo...@googlegroups.com
Hi Sunner :-)

I found some spare time to make it happen :-)
I made a patch that you can apply to the module.js file, if it looks ok.
(I am attaching both)

Nadav :-)

2011/11/28 Nadav Kavalerchik <nada...@gmail.com>
module.js
hotquestion_auto-refresh-questions.patch
Reply all
Reply to author
Forward
0 new messages