Showing posts with label Web. Show all posts
Showing posts with label Web. Show all posts

Friday, January 12, 2018

Sharable and Reusable eLearning ITS (Share ITS)

Alhamdulillahirabbil'alamiin . . .
Syukurku tiada terkira kehadirat Allah Ta'ala
Dia mengajari apa saja yang Ia kehendaki kepada siapa saja yang Ia kehendaki

entah kenapa, saya ingin menulis2 sambil mengenang2 beberapa pengalaman yang Allah berikan dalam dunia web. karena dengan mengenang itu, mengingatkanku untuk banyak banyak bersyukur.

laman depan Share ITS elearning

di masa kuliah, sebagian besar matakuliah yang saya pelajari adalah terkait engineering, elektro, teknik kendali dan seputarnya. entah kenapa, takdir menerpa saya mengambil tugas akhir tentang elearning.

Friday, August 11, 2017

WordPress Post Thumbnail not Shown via WhatsApp Share

Bismillah. I manage several websites using WordPress. klikmu.co is the most recent one. We use a theme named newspaper-X.

I faced a weird problem: When a post shared via Facebook, a featured image is shown and previewed by default. But when it is shared via WhatsApp, the image is not shown and replaced by a static web icon. Any different post I have shared via WhatsApp are always accompanied by the static web icon. It is really weird thing. This problem really stuck in my mind for two days.

Friday, April 28, 2017

Log Aktivitas untuk Blog @Moodle

Bismillah. Ada mahasiswa S3 yang disertasi tentang e-learning. Beliau request data log aktivitas untuk mata kuliahnya termasuk blog yang di dalamnya. Agak lama saya kesulitan menemukan cara mencari log untuk blog dan panduan dari google pun belum ada. Alhamdulillah, akhirnya ketemu solusinya. Query-nya saya tulis di sini siapa tahu ada yang memerlukan data yang sama.

SELECT p.courseid, p.module, ba.blogid, p.subject, ba.contextid, ls.userid, ls.action, ls.timecreated
FROM mdl_post p
JOIN mdl_blog_association ba ON p.id=ba.blogid
JOIN mdl_logstore_standard_log ls ON ba.contextid=ls.contextid
WHERE p.courseid IN (2208,2209,2210)

CATATAN
Isi blog tersimpan di tabel mdl_post, lognya tersimpan di mdl_logstore_standard_log, dan informasi tentang contextid sebagai perantara kedua tabel tersimpan di mdl_blog_association. Diujicoba di moodle 3.1.

Saturday, December 3, 2016

Dimana entri blog disimpan?

Ada mahasiswa S3 riset tentang elearning moodle dan request data log suatu matakuliah. Beliau lalu mengetahui bahwa entri blog tidak dimuat di mdl_logstore_standard_log. Lalu, setelah googling saya mendapati bahwa entri blog tersimpan di mdl_post.

SELECT * FROM `mdl_post` WHERE courseid = ‘xxxx’

Sekian. Mudah2an bermanfaat.

M. Nur Qomarudin

Monday, August 29, 2016

Membuat direktori writeable

Error message: Plugin files not writeable, Parent directory is not writeable
Eksekusi sebagai root:
chown -R www-data:www-data /var/www/html/
chmod -R u+w /var/www/html/
Selanjutnya, restart Apache2 (as root):
service apache2 restart
http://superuser.com/questions/927917/debian-permission-to-write-to-directories-and-files

Sunday, June 5, 2016

Recent Post Slider tidak muncul di Front Page

I used WP Responsive Recent Post Slider plugin in my wordpress, after I put code [recent_post_slider] as text widget for Home/Front page, the slider did not shown anything except the code [recent_post_slider] itself. But, when I put the code as a post content, and then I view the post, the slider is visible correctly.

Tuesday, May 10, 2016

format_time

adalah fungsi untuk mengubah durasi waktu dalam format moodle ke format standar. Misalnya, digunakan untuk mencari sudah berapa lama seorang user tidak login.

Wednesday, April 20, 2016

Setting batas rekam log

Site administration > Plugins > Logging > Standard log

~ moodle 2.9.2+

Tuesday, April 5, 2016

Enrol course via Upload users

Cara enrol existing user ke suatu course tanpa mengubah data users melalui fitur Upload users.

Setting
Upload type: Update existing users only
Existing user details: Fill in missing from file and defaults

~ moodle 2.9.2+, dokumentasi pribadi

Monday, April 4, 2016

Setting quiz: Agar tak dapat mengerjakan soal sebelumnya

Misalnya, bila mahasiswa sedang mengerjakan soal no. 5, dia tidak bisa kembali lagi melihat atau mengerjakan ke soal-soal sebelumnya.

Setting:
Quiz administration > Edit setting > Layout > New page: Every question, Navigation: Sequential > Save

~ moodle 2.9.2+, dokumentasi pribadi

Setting quiz: Acak urutan soal

Misalnya, quiz terdiri dari 20 soal dan tampil secara acak, mahasiswa yang berbeda akan melihat urutan soal yang berbeda pula.

Setting:
Quiz administration > Edit quiz > Shuffle (centang)

~ moodle 2.9.2+, dokumentasi pribadi

Wednesday, January 6, 2016

Moodle Legacy Log

by: Nur Q | alfiyahibnumalik@gmail.com | Surabaya | Indonesia

Diujicoba di moodle 2.9.2+

Legacy Log adalah log dari moodle versi sebelumnya, memuat data log user sebelum moodle di-upgrade ke v2.9. Log pasca upgrade disebut Standard Log.
 
Opsi Standard/Legacy log muncul di: Course Administration > Reports > Logs
 
Legacy log bisa di-disable melalui: Site administration > Plugins > Logging > Manage log stores
 
Perhatian: Sebelum melakukan disable pada Legacy log, pertimbangkan bahwa data Legacy log sudah benar-benar tidak diperlukan dan tidak ada plugin Reports yang membutuhkan datanya.

Cek plugins yang membutuhkan Legacy logs di sini: Site administration > Plugins > Reports > Manage reports
 
Legacy log bisa diatur tetap enable tapi tidak lagi merekam data log baru, di sini: Site administration > Plugins > Logging > Manage log stores: Legacy log Settings
 

Monday, December 21, 2015

Change Maximum Number of Uploaded Files

by: Nur Q | alfiyahibnumalik@gmail.com | Surabaya | Indonesia

Bismillah. This was my posting in
moodle dev forum https://moodle.org/mod/forum/discuss.php?d=227606

I am running moodle 2.9.2+. I think, I have found a way to change Maximum Number of Uploaded Files in Assignment. The site give a limitation only 20 files, but I need to give a space for 30 uploaded file, just for very very special case.

The setting was saved in database:
mdl_config_plugins > [plugin] assignsubmission_file > [name] maxfiles > [value] 20

All we need to do is only change the value. Don't change manually using phpmyadmin or something else, because it will not make any effect, instead, use moodle function set_config

Saturday, December 12, 2015

Fungsi require_login

Fungsi require_login di moodle digunakan untuk memastikan:
  • user login sebelum mengakses halaman/aktivitas tertentu
  • akses user terekam dalam log
Deklarasi fungsi:
function require_login($courseorid = NULL, $autologinguest = true, $cm = NULL, $setwantsurltome = true, $preventredirect = false)
Penggunaan sederhana:
require_once(__DIR__ .'/../../config.php');
require_login(NULL,FALSE); // NULL: courseid, FALSE: autologinguest
$url = new moodle_url("/ftp/somefiles/index.php");
$PAGE->set_url($url);
[halaman html/php Anda]
@Moodle 2.9.x, ref: moodle dev > Access API

Monday, October 19, 2015

Cron untuk Moodle 2.9+

By: Nur Q | alfiyahibnumalik@gmail.com | Surabaya | Indonesia

Cron di moodle adalah kode PHP untuk mengeksekusi beberapa tugas seperti mengirim email, update reports, rss feeds, posting forum messages, dll. Cron seharusnya dijalankan secara periodik, di tempat penulis sekitar seminggu sekali.

Di moodle versi sebelumnya, cron dapat dieksekusi via web browser dengan alamat

http://myelearning.ac.id/admin/cron.php

Di versi 2.9+ ini, hal ini secara default tidak dapat dilakukan.

Monday, October 12, 2015

Upgrade Moodle ke 2.9.2+ (Build: 20151008)

by: Nur Q | alfiyahibnumalik@gmail.com | Surabaya | Indonesia

Upgrade Moodle dari versi 2.5.1+ (Build: 20130719) ke 2.9.2+ (Build: 20151008)

Ahad, 11 Oktober 2015

rekam jejak mengupgrade moodle dari 2.5.1+ ke versi 2.9.2

PRASYARAT Moodle 2.9.2+:
- di-upgrade dari moodle 2.2 dst
- php 5.4.4
- mysql 5.5.31
- curl aktif
- mysql engine > InnoDB
- innodb baracuda (rekomendasi, tidak wajib)
- php extension > intl

Wednesday, May 27, 2015

Ubah alamat home dan siteurl via database

PHPMyAdmin > Dbase > wp_options
Field: siteurl, home

PHPMyAdmin > Dbase > wp_postmeta
Field: _menu_item_url

Tuesday, February 10, 2015

restore: error/tmp_backup_directory_not_found

Bismillah. I have encountered unusual problem about backup-restore in moodle. We use moodle v2.5.1. I backup a course and created 4.1 GB mbz file. I need to restore it to another category, seems like creating a duplicate course. When I tried to restore it, after long time waiting, the process have been suspended and give me a message

error/tmp_backup_directory_not_found

Something odd in my mind, when I download the file, its only 147 MB in size. This happen many times. Then, I try to backup partially, not the whole course. It just 2 GB mbz file. I try to restore it to another place and seems completed normally. Then I backup the rest and restore it, it seems normal too.

Wednesday, January 28, 2015

mengirim pesan ke banyak user, moodle

Hm… memang kuliah online ini banyak tantangannya. Keaktifan peserta masih sangat minim. Sebenarnya yang login sudah cukup banyak, tetapi untuk memberi pertanyaan atau sekedar komentar masih jarang. Saya terpikir untuk mengirim pesan ke semua peserta kuliah tersebut.

Platform e-learning yang kami gunakan adalah LMS moodle v2.5. Artikel ini akan membahas prosedur untuk mengirim pesan ke banyak user.

Tuesday, March 25, 2014

membuat tabel di moodle

diujicoba di moodle 2.4.x

moodle menyediakan fungsi khusus untuk membuat tabel, sehingga kita tak perlu repot mengatur tampilan tabel. berikut contoh tampilannya.

image

misal, saya buat tabel tiga kolom, mengambil data dari database dengan nama table ‘mdl_scorm_repository’.

berikut codenya: