Hello!
1. That field is not part of the LF integration. To remove it:
- edit [Joomla dir]/components/com_hotornot/views/show/tmpl/default.php and delete or comment out lines 93-96:
<tr>
<td><label for="name"><?php echo JText::_('Enter your name'); ?>:</label></td>
<td><input name="name" id="name" value="<?php echo $this->name; ?>" /></td>
</tr>
- edit [Joomla dir]/components/com_hotornot/models/comment.php and change line 39 from:
. ' VALUES ("", ' . $this->id . ', "' . $this->source . '", ' . $user->id . ', "' . $this->name . '", "' . $this->comment . '", NOW(), 0)';
to:
. ' VALUES ("", ' . $this->id . ', "' . $this->source . '", ' . $user->id . ', "' . ($user->guest ? 'Guest' : $user->username) . '", "' . $this->comment . '", NOW(), 0)';
2. To add the date icon:
- edit [Joomla dir]/components/com_hotornot/views/comments/view.html.php and add on line 23:
JHTML::stylesheet('main.css', 'components/com_lovefactory/assets/css/'); JHTML::stylesheet('buttons.css', 'components/com_lovefactory/assets/css/');
- edit [Joomla dir]/components/com_hotornot/views/comments/tmpl/default.php and change line 8 from:
<span class="hotornot-comment-date">(<?php echo date('H:i d.m.Y', strtotime($comment->date_added)); ?>)</span>
to:
<span class="hotornot-comment-date lovefactory-button lovefactory-date"><?php echo date('H:i d.m.Y', strtotime($comment->date_added)); ?></span>