You are here

Drupal

Drupal related topics.

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.

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">
    

Trackback module added

Submitted by Karthik on 9 May, 2005 - 22:24

Installed Trackback module. Had a bug where the configuration page was missing a save configuration button. Fixed it by inserting

$formitems .= form_submit(t('Save configuration'));

in line 490.

I actually still am yet to see this in action, so if you have a blog or whatever, please use it so I can see what happens :P

Also noticed a ton of referrer spam in the logs, thanks to a thread on Drupal.org. Will need to do something about it..

Server was down about an hour back (for ~45 minutes). Sluggish on reboot :(

-K

Pages

Subscribe to RSS - Drupal