It looks like you're new here. If you want to get involved, click one of these buttons!
Is there a way to only show the "answered label" for posts with accepted answers? Also, how to you get a checkmark next to the accepted post? The board here has that feature.
422
Developer MVP
this can be done quite easily.
The class vanilla use for Accepted is:
class="Tag QnA-Tag-Accepted"
The class for answered is:
class="Tag QnA-Tag-Answered"
So with some css jiggery pokery it could be solved quite easily. As for the tick, that is controlled by the plugin. I dont think the devs have actually released that. But uses a unicode tick next to answer, so pretty easy to hack
Answers
The latest version of Q&A has the following translation:
- Spam
- Abuse
2 · Insightful 2Awesome LOL ·I'm still not sure how I would make it blank unless an answer was accepted. I tried this but it still leaves a little black square.
$Definition['Q&A Answered'] = '';
- Spam
- Abuse
0 · Insightful Awesome LOL ·You need to look in the sourcecode where $Definition['Q&A Answered'] is used. Then you need to do an if-then-else function in the view to hide the $Definition['Q&A Answered'] when the question is not answered. Everything will be much clearer once you've found the piece of code where $Definition['Q&A Answered'] is used.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
0 · Insightful Awesome LOL ·Sometimes you've got to look for the easy solution:
- Spam
- Abuse
2 · Insightful 2Awesome LOL ·