Drupal
IP to Country Module
IP to Country Module is a module for Drupal which provides APIs for obtaining country information such as country code, country name, and flag by given IP address. This module could be used to display real-time geo location in addition to just plain IP address.
IP to Country Module is currently submitted to drupal.org and waiting for approval. For now, you could obtain it directly from CVS at http://cvs.drupal.org/viewcvs/drupal/contributions/modules/ip2cc/. Issues and suggestions are welcome to submit at http://drupal.org/node/45806. You could try to test this database at product/ip2cc/demo.
- sugree's blog
- 3 comments
- Read more
- 6330 reads
Configurable ping.module in Drupal
Ping is one of the most a-must mechanism for interactive web community and blogging platform. Drupal comes with ping.module which periodically pings to pingomatic.com. However, sometimes you might want to specify a list of pinger URLs that pingomatic don"t support or pingomatic may be too busy for you. To satisfy this requiremnt, David Herron suggested to modify ping.module directly.
Fortunately, Richard Eriksson submitted a patch for configurable settings. That patch is for Drupal 4.6.x so I adapted that patch to work properly on Drupal 4.7.x. Download the patch from the drupal site or see below.
- sugree's blog
- Add new comment
- Read more
- 3376 reads
How to upgrade to Drupal 4.7.0 beta 3 gracefully
Yesterday, Drupal 4.7.0 beta 3 officially released. The upgrade procedure is quite simple 6 steps.
- Backup everything
- Log on as the first user with ID 1 aka admin
- Remove all the old Drupal files
- Extract new Drupal files into the place
- Modify configuration and copy add-on modules
- Run update.php
Anyway, there are a few bugs that I immediately found. These bugs has been patched in beta 2 so it is so easy to do now.
- sugree's blog
- Add new comment
- Read more
- 1129 reads
adsense.module with Revenue Sharing for Drupal 4.7.x
is a way for earning money from your website. However, it would be a problem if your website has more than one person for generating content. This is a kind of a conflict of intrest problem. A workaround is to use channel ID to distinguish contents into groups for each person.
Fortunately, for Drupal 4.6.x, there is adsense.module which supports Revenue Sharing. I then managed to port this feature to CVS so I can use it at howforge.com. You can see the pending issue with my patch at drupal.org or directly download the patch.
- sugree's blog
- Add new comment
- Read more
- 1133 reads
nodewords.module for Drupal 4.7.x
If you have to manage your own website, Drupal is the best cadidate that maximizes its rank on search engines. However, it would be better if you could specify description and keywords meta tags of each page freely.
nodewords.module is the module you want for this case. However, it seems original author of this module don’t have time to actively response to feature requests. My request is to support new forms API of Drupal 4.7.x since I used Drupal 4.7.x right now.
- sugree's blog
- 9 comments
- Read more
- 2187 reads
Related Contents Block for Drupal
Usually, a Drupal site will come with Navigation block. However, it is not enough for complex categories just like this site. So, I modified book-like navigation block to show only related contents.
- sugree's blog
- Add new comment
- Read more
- 2088 reads
Recent comments
3 years 34 weeks ago
3 years 39 weeks ago
3 years 39 weeks ago
3 years 40 weeks ago
3 years 40 weeks ago
3 years 42 weeks ago
3 years 42 weeks ago
3 years 42 weeks ago
3 years 43 weeks ago
3 years 43 weeks ago