Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Silnei L Andrade Posted October 29, 2019 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?
Sonya* Posted October 29, 2019 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.
Silnei L Andrade Posted October 29, 2019 Author Posted October 29, 2019 Did you find out how to remove it in the templates? It really gets really bad with all these zeros.
Sonya* Posted October 29, 2019 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.
Adlago Posted October 29, 2019 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}}
Recommended Posts
Archived
This topic is now archived and is closed to further replies.