Monday, November 12, 2007

Online User Map Block hide username

How to hide the username on the Online User Map Block?

The easiest way to hide the name completely would just be to change a line in getusers.php (in the online_users_map code). The line that needs changing is no 79 and change from:

$puser->fullname = fullname($puser);

To:

$puser->fullname = "";

Then the name will be hidden completely.

Monday, October 29, 2007

Disable Window Key at Keyboard

How to disable Window Key at your keyboard?

1. Open Registry Editor.

2. Goto: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout.

3. Right Klik Mouse and choose [New] > [Binary Value].

4. Give it name Scancode Map then data value with 00 00 00 00 00 00 00 00 03 00 00 00 00 00 5B E0 00 00 5C E0 00 00 00 00.

5. Close Registry Editor then restart PC.

Tuesday, October 23, 2007

Moodle Excel Download Error

If you ran into error when downloading to excel in Moodle, the fix is
Go to the moodle/lib/excellib.class.php

Then find these two strings and commented out

//$this->pear_excel_workbook->setVersion(8)

//str = $textlib->convert($str, current_charset(), 'utf-16le');

Monday, October 15, 2007

Moodle Login Page is not shown in different language using Firefox

When using Firefox, apparently your moodle login page is still showing some English phrase even though you already force the site to use other international language.

To fix it, just copy Moodle.php from that international language, usually on the moodledata/lang/ folder to the moodle/lang/en_utf8 folder.

This will override the English language.

Moodle Set Number of Questions Displayed

Go to the question for that course and edit it. At the bottom, there is an option for Show Page Breaks. Check it and choose the number of question you'd like to display at the Repaginate. Then click the Go button.

Moodle 1.8 Unable to Login

Problem: After upgrading to 1.8, some users are unable to login. You have check and reset the password and it still won't let them to login.

Solution: Check the user's profile and click on the Show Advanced if it is not already shown. Make sure the Choose an Authentication Method is set to something, preferably Manual Accounts.

Moodle Certificate creating Custom Signature and Watermarks

In order to create a custom Signature and Watermarks for Moodle Modules Certificate, there is some guidelines.

First, you need to create a transparent background images. Then the picture is set, you need to set the color - mode to indexed.
I'm using GIMP and just go to Color - Mode and then choose Indexed.

Then save the file as .png type.

If you get the following error "FPDF error: Alpha channel not supported:" that means you have not properly follow the guidelines.

For a signature, set the size to 150 x 30 pixels.