Silnei L Andrade Posted October 29, 2019 Share Posted October 29, 2019 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? Link to comment Share on other sites More sharing options...
Sonya* Posted October 29, 2019 Share Posted October 29, 2019 There is no way right now (unless you edit the template). I have suggested to make votes optional some months ago. Link to comment Share on other sites More sharing options...
Silnei L Andrade Posted October 29, 2019 Author Share Posted October 29, 2019 Did you find out how to remove it in the templates? It really gets really bad with all these zeros. Link to comment Share on other sites More sharing options...
Sonya* Posted October 29, 2019 Share Posted October 29, 2019 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. Link to comment Share on other sites More sharing options...
Adlago Posted October 29, 2019 Share Posted October 29, 2019 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}} Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.