More obvious voting and solution marking for question threads

More obvious voting and solution marking for question threads

Mr Lucky

Well-known member
Mr Lucky submitted a new resource:

More obvious voting and solution marking for question threads - Adds text prompts and thumbs up icons for voting (instead of chevrons)

Why do this?​


Users often don't realise that question thread posts can by voted on, or that OP can mark as solution.

These simple template edits make it more obvious.

Instead of:
View attachment 265193

It will be this:

View attachment 265194

This is still beta because I have not yet worked out how to make the text Mark as solution, change to Unmark as solution when it has been marked (as with the...

Read more about this resource...
 
Very nice modification! Doing it right now! Thanks for sharing.

Btw, do you know any widget that can show threads (like suggestion type) with the up/down votes like in the thread listing?
 
This is still beta because I have not yet worked out how to make the text Mark as solution, change to Unmark as solution when it has been marked (as with the tooltip text).

If you change
Code:
<span class="u-srOnly">{{ $post.is_question_solution ? $isSolutionText : $makeSolutionText }}</span>
                            <xf:comment>add the phrase mark as solution </xf:comment>
                            <span style="color:gray;text-align:center;font-size:11px">({{ phrase('mark_as_solution') }})</span>
to
Code:
<span class="u-srOnly">{{ $post.is_question_solution ? $isSolutionText : $makeSolutionText }}</span>
                            <xf:comment>add the phrase mark as solution </xf:comment>
                           <span style="color:gray;text-align:center;font-size:11px">({{ $post.is_question_solution ? $isSolutionText : $makeSolutionText}})</span>

it should update the text depending on the status solved/unsolved (it does need a page refresh tho.)
 
Back
Top Bottom