Jump to content

How to remove forum votes in Questions Mode?

Featured Replies

Posted

 

I have a "quick questions forum" in my community and have enabled the Question Mode function there. The problem is that there are no votes and this amount of zeros. Is there any way to remove this view?

2019-10-29.thumb.png.4afc43c614b70095a8b1bfd1f4defc0a.png

There is no way right now (unless you edit the template). I have suggested to make votes optional some months ago. 

  • Author

 

Did you find out how to remove it in the templates? It really gets really bad with all these zeros.

No. We do not use this type of forum any more. There was not possible to quickly customize the language strings to differ between "threads" in normal forum and "questions" in this type. It sounds a bit ridiculous in our language, if questions and threads are the same.

2 minutes ago, Silnei L Andrade said:

 

Did you find out how to remove it in the templates? It really gets really bad with all these zeros.

Open template forums_front_forums/questionRow, and find

<span>{{if $row->question_rating}}{$row->question_rating}{{else}}0{{endif}}</span>
					<span class='ipsType_light'>{lang="votes_no_number" pluralize="$row->question_rating"}</span>
			

Replace with

<span>{{if $row->question_rating}}{$row->question_rating}{{else}}<p style="display:none"></p>{{endif}}</span>
					{{if $row->question_rating}}{$row->question_rating}<span class='ipsType_light'>{lang="votes_no_number" pluralize="$row->question_rating"}</span>{{endif}}
				

 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.