Comments from generic user

Hey guys,

I am trying to do a work around so people can still leave comments on my elgg site without having to be registered and logged in. I got 2/3 of the way but need a bit of help.

So I created a "visitor" as a generic user and trying to adapt the comments so when not logged in someone would post under that user.

My user had a guid of 918 and would like to be able to put this in my elseif so it would be transparent to the user. Suggestions would be appreciated

on: the /views/default/comments/forms/edit.php

<?php

    /**
     * Elgg comments add form
     *
     * @package Elgg
     * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
     * @author Curverider Ltd <info@elgg.com>
     * @copyright Curverider Ltd 2008
     * @link http://elgg.com/
     *
     * @uses $vars['entity']
     */
     /**/
     if (isset($vars['entity'])&& isloggedin() ) {
         
         $form_body = "<p><label>".elgg_echo("generic_comments:text")."<br />" . elgg_view('input/longtext',array('internalname' => 'generic_comment')) . "</label></p>";
         $form_body .= "<p>" . elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID()));
         $form_body .= elgg_view('input/submit', array('value' => elgg_echo("save"))) . "</p>";
         
         echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/comments/add"));




    }
/*user not logged in able to put comment user "visitor"*/
elseif (isset($vars['entity']) ) {
         
         $form_body = "<p><label>".elgg_echo("generic_comments:text")."<br />" . elgg_view('input/longtext',array('internalname' => 'generic_comment')) . "</label></p>";
         $form_body .= "<p>" . elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID()));
         $form_body .= elgg_view('input/submit', array('value' => elgg_echo("save"))) . "</p>";
         
         echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/comments/add"));

    }

?>