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);


$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


//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.

Thursday, October 11, 2007

Moodle 1.8 Edit Default Database for New User

If you want to create a new user and have the value automatically filled such as the forum autosubscribe set to no and email set to disabled, what you need to do is to
edit the editadvanced.php which is located at your moodle/user/ folder.

Go to line 20, you will see if ($id == -1)
below that line, you can enter anything you want according to the database field.

Here is the example:
$user->auth = 'manual';
$user->confirmed = 1;
$user->autosubscribe = 0;

Friday, October 5, 2007

This week Food discount

All You Can Eat Suki & Dimsum @ Rp 58000 - net at Red Lotus Restaurant
Jl. Taman Pluit Permai Timur No. 16 (Seberang Gereja Stella Maris)
Pluit, Jakarta Utara
PH 1: (021) 6669-7369

Don't you just love BUS WAY

BUSWAY is a new transportation system in Jakarta, Indonesia, which supposely to help the city from it's nightmare of traffic jam. But in the real life, it's giving more headache than before we implement busway.

BUSWAY is the same as a bus transportation, except it's running on its own way. However, the city didn't make a new road for it, instead they are stealing our road. Most of our street are a two lane street and now we're force to use just one lane and give up the other for BUSWAY. There is nothing we can do as regular citizen except just wait patiently in the traffic as usual.

FYI: the price is Rp 3,500.00 (around US$ 0.50 ) for each entry.

Route Map