Change the number of negative votes before hiding comment

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 04-14-2007, 05:34 PM
Casual Pligger
 
Join Date: Feb 2007
Posts: 46
post removed

Last edited by abcdefgary; 01-24-2009 at 03:22 PM.
Reply With Quote
  #2 (permalink)  
Old 04-14-2007, 05:44 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
show_comment.tpl. Look for this:
Code:
{if $comment_votes gte 0} 
     <span id = "comment_content-{$comment_id}"> <br />{$comment_content}</span> 
{else}
     <span id = "comment_content-{$comment_id}" style="display:none"> <br />{$comment_content}</span>
{/if}
Change 0 to whatever you want.
Reply With Quote
  #3 (permalink)  
Old 04-14-2007, 11:08 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
Very useful post and solution.

Thanks KB.

Geoserv
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change number of votes using the news management gnalkit Questions and Comments 5 05-19-2011 03:34 AM
Is it possible to voting so that both the positive and negative votes are displayed? shrikie Questions and Comments 1 08-19-2009 02:58 PM
How to change number of Top today and Published geodaud Questions and Comments 1 07-22-2009 08:42 AM
Change God from anonymous votes graphicsguru Questions and Comments 7 04-28-2008 12:37 AM
delay vote number change cryptkeeper Questions and Comments 2 01-31-2006 02:19 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development