tag:blogger.com,1999:blog-1257698940975396741.post8318987001763997084..comments2024-03-16T11:05:18.670-07:00Comments on Moodle with a durian flavour. From Malaysia with love.: Making the "Web's best php shoutbox" even better for your Moodle siteUnknownnoreply@blogger.comBlogger20125tag:blogger.com,1999:blog-1257698940975396741.post-74870306236123645782013-03-23T10:07:41.495-07:002013-03-23T10:07:41.495-07:00Download link:
http://dl.dropbox.com/u/17797520/m...Download link: <br />http://dl.dropbox.com/u/17797520/moodle/mis.zipFrankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-18677990551552549412013-03-23T09:52:55.892-07:002013-03-23T09:52:55.892-07:00Hi Test Blog. You're in luck!
Here is the down...Hi Test Blog. You're in luck!<br />Here is the download link:<br />http://dl.dropbox.com/u/17797520/moodle/mis.zip<br />Create a folder named shout inside your public_html folder. Extract the mis contents into a mis folder.<br />You should have this structure:<br />public_html/shout/mis<br />Hope this helps.Frankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-7586896606502132232013-03-21T08:25:05.577-07:002013-03-21T08:25:05.577-07:00Shoot, the download zips above are not working. An...Shoot, the download zips above are not working. Any chance I could still get a copy for my 1.9 site ?Test Bloghttps://www.blogger.com/profile/04482126275092389421noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-12895853429521390172012-10-17T07:32:40.996-07:002012-10-17T07:32:40.996-07:00Great stuff! Do you know of anything like this tha...Great stuff! Do you know of anything like this that is similar to Live Chat? I was looking more for a one teacher/one student live chat capability that is only active when the teacher is logged in. Similar to messaging but in real time.Shanehttps://www.blogger.com/profile/05364261410038913866noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-37252060874952422102011-09-22T18:03:52.554-07:002011-09-22T18:03:52.554-07:00Hi Tom
I'm so happy it worked out for you! One...Hi Tom<br />I'm so happy it worked out for you! One thing this is true - kids are the SAME half-way around the globe. Haha..have fun and good 'luck' keeping a half-step ahead of them with all this technology stuff and all. Enjoy!Frankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-26441046827998190282011-09-22T16:46:34.880-07:002011-09-22T16:46:34.880-07:00Frankie,
You are a genius! I installed a commercia...Frankie,<br />You are a genius! I installed a commercial shoutbox on my Moodle site and within two days kids were impersonating each other and posting oddball comments. I took it off and immediately began looking around for an alternative when I found your blog. Eureka! Bingo, it works like a charm. Thank you SO MUCH for the great and detailed directions! <br /><br />-Tom ClausetTom Clausethttp://www.tclauset.org/moodle/noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-77956623732838653202011-09-02T08:38:10.944-07:002011-09-02T08:38:10.944-07:00I've now made the chmod instructions clearer. ...I've now made the chmod instructions clearer. David, I hope the time you spent to get Whisperbox working was worth it.Frankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-56389232225587712902011-09-02T08:25:56.323-07:002011-09-02T08:25:56.323-07:00Hi David
I checked the documentation.
It says:
c...Hi David<br /><br />I checked the documentation.<br />It says:<br /><br />chmod the file "lists/names.php" 666 (make it readable and writable by everyone). <br />IF problems arise chmod it *777* instead<br /><br />chmod the file "shouts.php" 666 (make it readable and writable by everyone). <br />IF problems arise chmod it *777* instead<br /><br />;-)Frankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-22252738553378461382011-09-02T08:21:29.463-07:002011-09-02T08:21:29.463-07:00Hi David. Thanks for sharing what worked and what ...Hi David. Thanks for sharing what worked and what didn't. Glad it worked out for you. Hope you have fun using the WhisperBox. <br /><br />If you are feeling adventurous, please let me know if my Avatar-display Version B and/or Version C work for Moodle 2.x (I doubt it!). I don't have a Moodle 2.x site installed due to lack of server hard-disk space (strangely enough).<br /><br />My future enhancement for the WhisperBox is to enable a post to include images and Youtube video. It's in the works. I have prototypes of each, but they are really buggy (do not work all the time) and not wise to distribute them.Frankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-45486180035906080332011-09-02T06:13:26.054-07:002011-09-02T06:13:26.054-07:00Just called Yvonne and she walked me through her i...Just called Yvonne and she walked me through her install. Turns out that the two files that ShoutPro first suggests setting to chmod 666 actually have to be 777.<br /><br />Now it works!Davidhttp://lingualucida.com/learningnoreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-19375557007462265122011-09-02T05:03:58.764-07:002011-09-02T05:03:58.764-07:00David, I took out a pink pen this time. From the w...David, I took out a pink pen this time. From the way you are able to scrutinize details and identify things, you are not that far away from getting the WhisperBox to work on your site, I think.Frankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-2738365904427367262011-09-02T02:50:53.047-07:002011-09-02T02:50:53.047-07:00Hey Frankie, you need to get your red pen out agai...Hey Frankie, you need to get your red pen out again.<br /><br />You wrote: What I meant was that the file *shoutpro.php* (NOT index.php <-- bad typo) <br /><br />I think you mean shoutbox.php NOT shoutpro.php<br /><br />I haven't fixed my own problem yet, but am optimistic :-)Davidhttp://lingualucida.com/learningnoreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-88232587696457113732011-09-01T18:43:58.836-07:002011-09-01T18:43:58.836-07:00Hi David
The installation instructions on ShoutPr...Hi David<br /><br />The installation instructions on ShoutPro notes refer to the original zip download from the ShoutPro.com website. THAT zip file extracts to a folder named shoutbox.<br /><br />In MY zip download file, the folder "shoutbox" has been renamed to "whisperbox". I actually use multiple copies of the system throughout my Moodle site, so for one course, the files are stored in mymoodlefolder/shout/dca-it. In another course, I use the files in mymoodlefolder/shout/whisperbox, etc. <br /><br />Hope it works out for you. ;-)Frankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-18361190295464650162011-09-01T12:25:32.117-07:002011-09-01T12:25:32.117-07:00Hey Frankie,
Thanks for getting back so quickly.
...Hey Frankie,<br /><br />Thanks for getting back so quickly.<br /><br />I am using Moodle 2.0.2 and will follow up with Nicholas and Yvonne, as you suggest.<br /><br />Re. the chmods, there is a slight confusion: in the ShoutPro notes, they say to set the shoutbox folder to 777, but in your package, there is no shoutbox folder. I tried setting the shout folder and the whisperbox folders to 777 but to no effect.<br /><br />Re. the config.php files, I checked the path to the higher one (two levels up also in Moodle 2.x) and made the personalized changes to the local config.php.<br /><br />I'm sure the mistake is on my part, and it's probably a very simple oversight.<br /><br />I'll let you know how it goes.<br /><br />-DDavidhttp://lingualucida.com/learningnoreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-89566599848237250682011-09-01T11:17:21.603-07:002011-09-01T11:17:21.603-07:00Hi David,
Firstly, are you using Moodle 1.9.x or ...Hi David,<br /><br />Firstly, are you using Moodle 1.9.x or Moodle 2.x? I haven't tried it on Moodle 2.x yet, but if you are using Moodle 2.x, then you can go here to get more help from Nicholas and/or Yvonne (who said that it worked on her Moodle 2.1 site).<br />http://moodle.org/mod/forum/discuss.php?d=184246<br /><br />Secondly, I assume you are talking about Version1? The zip file contains the complete set of files and works with Moodle 1.9.x and Moodle 2.x. Version2, consists of a modified shoutpro.php file which I have only tested on Moodle 1.9.x.<br /><br />Thirdly, yes you should follow the chmod instructions outlined in the shoutpro.com website. The chmod instructions are also inside the documentation folder in the download zip file. Nicholas (in the moodle.org forum mentioned above)has some experience with the chmods.<br /><br />SO SORRY for the confusion. Too many late nights and too many variants of this plugin. Yes there is NO index.php file. What I meant was that the file *shoutpro.php* (NOT index.php <-- bad typo) accesses the config.php file found in the moodlefolder, which in Moodle 1.9.x is two parent folders up. So somewhere inside the shoutpro.php file you will see the code:<br /><br />...<br />require_once('../../config.php');<br />...<br /><br />I specifically mentioned this because Moodle 2.x has a different folder structure, then you have to be mindful of the require_once code, to be sure that it access the config.php file with the correct path.<br /><br />Thanks for highlighting the error in the article. I've made the correction on this blog article in red.<br /><br />Also, the file include.php accesses the moodlefolder/shout/whisperbox/config.php file. It is this local config.php file inside the whisperbox folder that houses the $timeoffset setting and other settings.<br /><br />So there are two config.php files.<br /><br />Hope this helps you out. If you still can't get it to work, please let me know your version. And it might be good to also contact the other Moodlers who have got it to work on their sites.Frankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-73281290427449022582011-09-01T08:26:40.792-07:002011-09-01T08:26:40.792-07:00I note also that in the readme.txt you write:
the...I note also that in the readme.txt you write:<br /><br />the code that accesses yourMoodleFolder/config.php <br /> is found inside the file yourMoodleFolder/shout/whisperbox/index.php <br /><br />... but there is no index.php file at this location.<br /><br />*perplexed*Davidhttp://lingualucida.com/learningnoreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-78344302311286029912011-09-01T07:50:21.626-07:002011-09-01T07:50:21.626-07:00I can't get it to work. Do I need to change pe...I can't get it to work. Do I need to change permissions as per the ShoutPro 1.5.2 instructions? I get my site homepage appearing in the html shoutbox block, so I guess I've got the link address or folder hierarchy wrong.<br /><br />In your readme.txt there is no mention of any obligatory edits, so what could the problem be?Davidhttp://lingualucida.com/learningnoreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-8563463018586428342011-08-31T11:42:32.402-07:002011-08-31T11:42:32.402-07:00Yvonne of the Netherlands experienced a problem as...Yvonne of the Netherlands experienced a problem as she has a 6 hour difference between her local time and the moodle server she is using.<br />To solve her problem, I had to squash a hidden (until now) bug in the shoutbox.php original code as follows:<br /><br />Go to shoutbox.php, line 193. Modify the code so that it becomes like this:<br /><br />Line 193: $date = substr($date,-18,8);<br />Line 194: $date = str_replace (".0", ".", $date);<br />Line 195: $date = str_replace (" 0", " ", $date);<br />Line 196: $shout = $shout." (".$jd.", ".$date.", ".$time.")";<br /><br />Basically, just two changes to the code and you are home.<br />(at line 193) Change 18 to 8<br />(at line 196) Insert the code ", ".$time.<br />You can go to this discussion forum to be super-clear:<br />http://moodle.org/mod/forum/discuss.php?d=184246#p803081<br /><br />I've purposely set my config.php's<br />$timeoffset = 6;<br />and I've tested it on my Moodle site at<br />http://scm.moodleace.com/course/view.php?id=9<br />USername: student<br />Password: moodle<br /><br />Works for me. Just thought you might want to know this. Now this improved Shoutpro widget (Whisperbox) is perfect.Frankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-24519055320141194902011-08-28T13:29:42.630-07:002011-08-28T13:29:42.630-07:00Here is a modified version of the file profanities...Here is a modified version of the file profanities.php. The zip file contains 2 versions of the profanity list. The entire word is asterisked off (profanities.php), or all but the first letter is asterisked off (profanities.php_ori). Download it from:<br />http://i.minus.com/dD4RcCXqqqbfs.zipFrankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.comtag:blogger.com,1999:blog-1257698940975396741.post-14922442678198355652011-08-26T06:59:56.970-07:002011-08-26T06:59:56.970-07:00As of today, I have included a profanity-filter th...As of today, I have included a profanity-filter that asterisks out profanities from a 264-word list.Frankie Kamhttps://www.blogger.com/profile/15813484882030141541noreply@blogger.com