about 1 year ago - No comments
TweetSometimes you want to make minor changes to WordPress plugins that no body except your self would want. Then comes the issue of upgrading to new versions of the plugin. git-svn is the perfect tool for this. It has all the cool features of the distributed SCM git and ability to pull from subversion (and [...]
about 2 years ago - No comments
TweetThere was a need to put a log in link with destination get variable set if the user is not authenticated and trying to view a premium node. The obvious place to put such content is the “Premium body text” in /admin/settings/premium, however one problem was that “Premium body text” can only static html, no [...]
about 2 years ago - No comments
TweetDrupal Atom module is spitting invalid XML in some cases. It is obvious that all user generated text in XML should be either escaped or appear within CDATA section. However it is not the case with title and subtitle sections. If the site title contains “&”, then the atom/feed will guaranteed to be invalid. I [...]
about 2 years ago - 6 comments
TweetI was supposed to move one of the Drupal sites I’m maintaining behind a Reverse Proxy. The migration was smooth as it could get, but soon throttiling was an issue. All requests were coming from the Proxy server, and Drupal didn’t seem to automagically detect the client IP based on the X-Forwarded-For header. So I [...]
about 2 years ago - 21 comments
TweetI recently wanted to add social bookmarking links to all of my blog posts. As you might notice my blog is hosted on blogger, only way I could do that is by editing the template. I thought I would share how to get about editing the template such that you add social bookmarking links which [...]
about 3 years ago - No comments
TweetWW2 cipher breaking machine Colossus will be exhibited at new National Museum of Computing, Bletchley Park. If you are in UK, you better not miss this chance to see early days of hacking. After 6,000 volunteered man days of diligent work Colossus now sits in the original location of Colossus No. 9 in Block H [...]
about 8 months ago
This should be done without hacking drupal. Play with db_rewrite_sql hook for a bit.