Hoeflicher-nachbar.com

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
robertDouglass's picture

After another night of hating my neighbors because 1) they wouldn't stop making noise, and 2) because their cigarette smoke was filling our apartment, I made this site: Hoeflicher Nachbar.

I then passed out over 50 flyers to all the mailboxes in the building and am watching with curiosity as the discussion brews.

The site is interesting in and of itself. It uses panels 2 with these instructions for placing nodes into panes: http://drupal.org/node/207381 Panels is so cool. I took one of the nodes and put its comment form and comments into panes as well (total normal options in the Panels UI), so that the whole site is one page, but you can vote on three polls and participate in a forum. So flexible.

The three nodes on the site are stink-normal Drupal polls.

The only coding I did was to hack the node template so that we return to the front page after poll submission.

At the very top of node.tpl.php:

<?php
  $arg1
= arg(1);
 
$arg2 = arg(2);
  if (
arg(0) == 'node' && is_numeric($arg1) && ($arg2 != 'view') && empty($arg2)) {
   
drupal_goto('umfragen');
  }
?>

Other interesting facts:

  • the photo was stitched together from two photos using Calico Panorama from http://www.kekus.com/
  • I'm using commentmail module to find out when people leave comments.
  • Mollom is protecting the form so that anonymous users can argue leave comments.
  • Google analytics (with the google_analytics module) is tracking how many people come
  • I used Digg to submit to search engines. The result? Google had the Digg page indexed within a couple of hours so links to the site are showing up in google already.
  • The site is geotagged so people will be able to find it in local search engines and Google Earth
  • The site should do pretty well for searches of addresses that match these apartments, such as "Vorgebirgsstr 39".

UPDATE: I was warned that the geotagging and the addresses might get me in hot water legally so I've removed them.