By Andrew Grevett on Monday, 08 June 2015
Posted in General Issues
Replies 1
Likes 0
Views 490
Votes 0
Hi Guy's,

Is there somewhere in the source that I can disable down voting and just leave up voting?
Hello Andrew.

You can remove this code from ...\components\com_easydiscuss\themes\flatt\post.vote.php at line 43 until line 47

	<?php if( $access->canVote() && !$post->isVoted ){ ?>
<a href="javascript:void(0);" class="vote-down voteDown"> <i class="icon-minus-sign"></i></a>
<?php }else{ ?>
<a href="javascript:void(0);" class="vote-down" <?php if( $system->my->id ){ ?> data-original-title="<?php echo JText::_( 'COM_EASYDISCUSS_ALREADY_VOTED_POLL' ); ?>" data-placement="top" rel="ed-tooltip" <?php } ?>> <i class="icon-minus-sign"></i></a>
<?php } ?>


Hope this help
·
Monday, 08 June 2015 19:31
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post