You are here

Karthik's blog

Upgrade to 4.6.2

Submitted by Karthik on 3 July, 2005 - 23:13

Upgraded site to 4.6.2 from 4.6.0. No issues faced except for a possibly unrelated oddity:

File uploads (via attachments) requires a temporary directory set in the settings panel. This is (as Drupal suggests) a directory relative to the "files" directory. However, post upgrade, Drupal spewed a missing directory error for the temporary files directory. The directory exists where it was supposed to be, but Drupal no longer considered the directory relative to the files directory. Prepending the temporary files directory with the files directory solved the issue.

Here's to hoping that there are no more surprises.

Indrajals anyone?

Submitted by Karthik on 20 June, 2005 - 02:15

Dinesh put me onto these dude(s) a couple of days back, and it's been kinda fun to read dog-eared Indrajal copies of "The Phantom", Mandrake and Bahadur (!) once again. The disclaimer at the top of the site garnered a laugh though lol..

For Le Phantom fans out there, this is probably the most comprehensive site you'll ever see on the subject - the Indian section is fascinating ;)

-K

Robert Plant And The Strange Sensation - Mighty Rearranger

Submitted by Karthik on 1 June, 2005 - 09:57

I've never really listened to a Robert Plant Album, just listened to some of his more popular hits (read 29 palms etc.). But I decided to check this album out on a whim, and I can tell you that this has been one of the most complete albums I've listened to in a long long while..

1.Another Tribe - Strong opening track with a catchy rhythm and great lyrics..

2.Shine it all around - One of my favourite tracks on the album; intoxicating bass-line, simple effective beats and great vocals.. Reminds me of Lenny Kravitz's "Fly Away" in a few sections..

3.Freedom Fries - One of the more energetic songs on the album; solid track but gets a little boring after a few listens..

Dream Theater - Octavarium

Submitted by Karthik on 31 May, 2005 - 11:06

Just been checking out the new DT album (a leaked copy as it's not due out until June 7th)..

Track Review post first listen:

1.The Root Of All Evil - Solid track to open with, sounds like they are continuing from where they left off in Train Of Thought.. Borrows from "This Dying Soul" just before the solo, which was pleasant and annoying to hear (if that makes sense :P)

2.The answer lies within - Mellow ballady track that I kept waiting in vain to pick up.. ugh

3.These Walls - Stereotypical DT track, nothing to see here.. move along people..

4.I walk beside you - Catchy track with a rather Eurythmicky riff, and a decent chorus. LaBrie's vocals have begun to get pretty monotonously tiring by this point..

Early morning updates - link restrictions

Submitted by Karthik on 17 May, 2005 - 08:55

-Enabled the popular content block
-Removed ability to subscribe to entire blogs as it's .. pointless..
-Removed link clutter from node-previews:
-Removed "subscribe post" link
-Removed "Quote Post" link
These links will both appear for the nodes themselves, just not on the preview pages (for teasers).

For those interested this was accomplished in the hook_links function for both the subscriptions and quote modules:

Before:

  if ($type == 'node' && user_access('post comments') && $node->comment == 2) {
	$links[] = l(t('quote'), "comment/reply/$node->nid", array('title' => t('Start your new comment with a quote from this post.')), 'quote=1');

CSS fixed; referrer spam minimised

Submitted by Karthik on 15 May, 2005 - 10:27

-CSS fixes for the interviews page applied.

-a large percentage of referred spam has been cut down by adding asp, jsp and cgi extensions to the file extesions filter (htaccess). So this site will be seeing fewer "guests" now :P

-the div issues due to lengthy titles have been ignored for the time being.

-the image module has been postponed because the folksonomy module is apparently not current atm, as it's being ported into Drupal's core. So using it right now will probably result in compatability issues later on.

-K

Adsensing and bugsensing

Submitted by Karthik on 13 May, 2005 - 21:38

Well, added the adsense blocks (there are 3 of them) on the left and right. While most people informed me that installing it was a pain, I found it rather straightforward - set the block filter to PHP, added code and voila!

The colour palette for the blocks are the same as for the nuke ancestor of this site. Looks pretty.. striking :)

The reason why there are three of them is because there are different ones for different sections of the site. One (on the left) for the frontpage and a few manually areas; another (also on the left) for all nodetypes except blogs; the third (on the right) displayed only during blogs. I tried to combine the first two, but the block specifiers don't accept.. OR conditions. It does AND and NOT, but ... not OR. The NOT section also says that all blogs can be blocked via blogs/*, but that just blocks the blog listing rather than individual nodes.. which is pointless.

Getting clean URLs working under Windows running Apache2

Submitted by Karthik on 11 May, 2005 - 12:13

Just a quick note on getting clean URLs working under windows:

  • Open your httpd.conf file
  • run a find for mod_rewrite, and you will end up with something like:
    #LoadModule rewrite_module modules/mod_rewrite.so
            

    Remove the # from the above statement.

  • Run a search for "<Directory". You will come across the default directory config for Apache, followed by an example config.
  • Add the following below both of the above directory config blocks:
    <Directory "D:/programs/apache2/Apache2/htdocs/drupal">
    

Pages

Subscribe to RSS - Karthik's blog