--- acidfree.module.orig	2007-08-14 14:02:38.000000000 -0400
+++ acidfree.module	2007-10-25 22:10:36.000000000 -0400
@@ -2299,19 +2299,35 @@
 /**
  * Implementation of hook_user
  */
-function acidfree_user($op, &$edit, &$account, $category = NULL) {
+function acidfree_user($op, &$edit, &$account, $category = NULL, $uid = NULL) {
+    global $user;
+
+    if (empty($uid)) {
+        $uid = $user->uid;
+    }
     if ($op == 'view' && variable_get('acidfree_per_user_albums', 0)
             && user_access('get a per-user album', $account)) {
         $album = _album_from_tid($account->acidfree_album);
         if (!$album) {
-            user_save($account, array('acidfree_album' => null));
-            return null;
-        }
-        $items['acidfree-albums'] = array(
+            // if this is the user's page and there is no album
+            // give link that will create one
+            if ($uid == $account->uid) {
+                user_save($account, array('acidfree_album' => null));
+                $items['acidfree-albums'] = array(
+                      'title' => t('Personal album'),
+                      'value' => l('Create my album', "user/acidfree"),
+                      'class' => 'acidfree-albums',
+                );
+            } else {
+                return null;
+            }
+        } else {
+            $items['acidfree-albums'] = array(
                 'title' => t('Personal album'),
                 'value' => l($album->title, "node/{$album->nid}"),
                 'class' => 'acidfree-albums',
             );
+        }
         return array(t('Acidfree Albums') => $items);
     }
 }
