WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Simple Facebook Connect] After someone commented with FB near the avatar is showed Connect (2 posts)

  1. XnaMe
    Member
    Posted 4 years ago #

    Hello! Some days ago i changed my theme to INove theme. I got SFC and i installed it on the new theme by editing the comments.php

    <?php else : ?>
    			<?php // SFC ?>
    			<div id="comment-user-details" align="left">
    			<?php do_action('alt_comment_login'); ?>
    				<?php if ( $comment_author != "" ) : ?>
    					<div class="row">
    						<?php printf(__('Buna ziua <strong>%s</strong>.', 'inove'), $comment_author) ?>
    						<span id="show_author_info"><a href="javascript:void(0);" onclick="MGJS.setStyleDisplay('author_info','');MGJS.setStyleDisplay('show_author_info','none');MGJS.setStyleDisplay('hide_author_info','');"><?php _e('Change &raquo;', 'inove'); ?></a></span>
    						<span id="hide_author_info"><a href="javascript:void(0);" onclick="MGJS.setStyleDisplay('author_info','none');MGJS.setStyleDisplay('show_author_info','');MGJS.setStyleDisplay('hide_author_info','none');"><?php _e('Close &raquo;', 'inove'); ?></a></span>
    					</div>
    				<?php endif; ?>
    
    				<div id="author_info">
    					<div class="row">
    						<input type="text" name="author" id="author" class="textfield" value="<?php echo $comment_author; ?>" size="24" tabindex="1" />
    						<label for="author" class="small"><?php _e('Nume', 'inove'); ?> <?php if ($req) _e('(*)', 'inove'); ?></label>
    					</div>
    					<div class="row">
    						<input type="text" name="email" id="email" class="textfield" value="<?php echo $comment_author_email; ?>" size="24" tabindex="2" />
    						<label for="email" class="small"><?php _e('E-Mail (nu va fii facuta public)', 'inove');?> <?php if ($req) _e('(*)', 'inove'); ?></label>
    					</div>
    					<div class="row">
    						<input type="text" name="url" id="url" class="textfield" value="<?php echo $comment_author_url; ?>" size="24" tabindex="3" />
    						<label for="url" class="small"><?php _e('Site', 'inove'); ?></label>
    					</div>
    
    				</div>
    
    				<?php if ( $comment_author != "" ) : ?>
    					<script type="text/javascript">MGJS.setStyleDisplay('hide_author_info','none');MGJS.setStyleDisplay('author_info','none');</script>
    				<?php endif; ?>
    			</div> <?php // SFC END?>
    		<?php endif; ?>

    Here is how i edit it.

    Look what strange is on the comments in blog: http://ghiddesecuritate.com/devirusare/ghid-de-dezinfectare-pc-mightymax.html/

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    You definitely put the wrong code somewhere else as well. It looks like you pasted the code somewhere in the comments display loop as well.

    Restore your theme back to normal and make the changes again, but only to the comments form, not to the comments loop.

Topic Closed

This topic has been closed to new replies.

About this Topic