hi webmods,
tried it but its not working,
here is my code of comments section:
<?php if( osc_comments_enabled() ) { ?>
<?php if( osc_reg_user_post_comments () && osc_is_web_user_logged_in() || !osc_reg_user_post_comments() ) { ?>
<div id="comments">
<h2><?php _e('Comments', 'bender'); ?></h2>
<ul id="comment_error_list"></ul>
<?php CommentForm::js_validation(); ?>
<?php if( osc_count_item_comments() >= 1 ) { ?>
<div class="comments_list">
<?php while ( osc_has_item_comments() ) { ?>
<div class="comment">
<h3><strong><?php echo osc_comment_title(); ?></strong> <em><?php _e("by", 'bender'); ?> <?php echo osc_comment_author_name(); ?>:</em></h3>
<p><?php echo nl2br( osc_comment_body() ); ?> </p>
<?php if ( osc_comment_user_id() && (osc_comment_user_id() == osc_logged_user_id()) ) { ?>
<p>
<a rel="nofollow" href="<?php echo osc_delete_comment_url(); ?>" title="<?php _e('Delete your comment', 'bender'); ?>"><?php _e('Delete', 'bender'); ?></a>
</p>
<?php } ?>
</div>
<?php } ?>
<div class="paginate" style="text-align: right;">
<?php echo osc_comments_pagination(); ?>
</div>
</div>
<?php } ?>
<div class="form-container form-horizontal">
<div class="header">
<h3><?php _e('Leave your comment (spam and offensive messages will be removed)', 'bender'); ?></h3>
</div>
<div class="resp-wrapper">
<form action="<?php echo osc_base_url(true); ?>" method="post" name="comment_form" id="comment_form">
<fieldset>
<input type="hidden" name="action" value="add_comment" />
<input type="hidden" name="page" value="item" />
<input type="hidden" name="id" value="<?php echo osc_item_id(); ?>" />
<?php if(osc_is_web_user_logged_in()) { ?>
<input type="hidden" name="authorName" value="<?php echo osc_esc_html( osc_logged_user_name() ); ?>" />
<input type="hidden" name="authorEmail" value="<?php echo osc_logged_user_email();?>" />
<?php } else { ?>
<div class="control-group">
<label class="control-label" for="authorName"><?php _e('Your name', 'bender'); ?></label>
<div class="controls">
<?php CommentForm::author_input_text(); ?>
</div>
</div>
<div class="control-group">
<label class="control-label" for="authorEmail"><?php _e('Your e-mail', 'bender'); ?></label>
<div class="controls">
<?php CommentForm::email_input_text(); ?>
</div>
</div>
<?php }; ?>
<div class="control-group">
<label class="control-label" for="title"><?php _e('Title', 'bender'); ?></label>
<div class="controls">
<?php CommentForm::title_input_text(); ?>
</div>
</div>
<div class="control-group">
<label class="control-label" for="body"><?php _e('Comment', 'bender'); ?></label>
<div class="controls textarea">
<?php CommentForm::body_input_textarea(); ?>
</div>
</div>
<div class="actions">
<button type="submit"><?php _e('Send', 'bender'); ?></button>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<?php } ?>
<?php } ?>
</div>