Tips and Tricks

ip2cc supports displaying flag in node's link area

According to the flag in comment’s link area, now ip2cc is able to display flag in node’s link area also. These 2 features was suggested by Larry. The use of these capabilities, pointed out by Larry, is to verify the location of the visitor in E-Commerce sites.

What to see a demonstration? See below. You should see I am currently in Thailand.

4 steps to turn on NAT loopback in ZyXEL router

My colleage used ZyXEL Prestige 650R-31 as the main ADSL router for his company. It works very well and so stable. Last week he asked me to help him setup a server placed behide the ADSL router to be accessible anywhere from Internet. The main service is e-mail so I just added port forwarding via web-based configuration. It was so easy and worked like a charm. However, the connection could not establish if he sat inside the NAT. The problem is so called "NAT loopback". I found this kind of problem in D-Link also.

ip2cc supports displaying flag in comment's link area

Larry asked me how to use ip2cc module. This is very interesting question. ip2cc module generally just provides APIs to obtain location of given IP address programmatically but useless for end-user. He also inspired me to show flag for each post or comment. That"s why I quickly said thank to him and added this wonderful and useful functionality.

You could update the code to the latest one in CVS and then go to admin/settings/ip2cc to enable this function. If you want to see how it look like, check it out here.

Missing UK in ip2cc module

I have just found that ip2cc module doesn"t know the country of all IP from United Kingdom. The reason is ISO3166 used GB to identify United Kingdom but IANA used UK instead. To fix this problem, I added UK to iso3166.mysql so it will find the right country successfully.

Please update iso3166.mysql and apply it again.

Unable to change password in Drupal 4.7.0 beta 4

There is a bug in system.module which caused Drupal 4.7.0 beta 4 to reject password changing according to array functions. This bug has been discussed in http://drupal.org/node/46759. The patch is available right now.

=== modified file "modules/system.module"
--- modules/system.module       
+++ modules/system.module       
@@ -68,7 +68,7 @@ function system_elements() {
     "#value" => "pass",
     "pass1" => array("#type" => "password", "#size" => 12, "#maxlength" => 24),  

Blue screen caused by ialmrnt5.dll

I have got some strange problem with my laptop for a few days after installed driver for Chronos Web Camera PC380 (CamMaestro 4.7 EU build 21). The device worked great with a little lack of light compensation. However, I was unable to remove the directory which contained the setup file. It seemed there was some process that was being opened the directory for unknown reasons. I tried to find that process in Task Manager with no luck.

« first‹ previous646566676869707172next ›last »