AndrewSimm
Well-known member
It would be great if you had a separate mod for up and down vote. I use this on my vbulletin site opposed to other rating options.
<div class="message-inner">
for the post that is marked best answer? For example you could change it to <div class="message-inner thqa-best-answer">
or similar, this way we can apply some CSS to it to suit our taste.It would be great if you had a separate mod for up and down vote. I use this on my vbulletin site opposed to other rating options.
I purchased this and I'm happy with it so far.
One critique I have is that the best answer is not visually distinguishable enough from other posts. The only difference is the color of the trophy icon.
If possible, could you please add a class to<div class="message-inner">
for the post that is marked best answer? For example you could change it to<div class="message-inner thqa-best-answer">
or similar, this way we can apply some CSS to it to suit our taste.
Thanks!
Also, can we get a question mark icon in threadlist for unanswered threads, similar to how you have a check mark icon for answered threads?
This will be helpful for forums that have mixed content, question threads and normal threads.
Thanks!
INSERT INTO xf_thread (`node_id`, `user_id`, `username`, `discussion_state`, `title`, `discussion_open`, `sticky`, `th_is_qa_qaforum`, `post_date`, `last_post_date`, `last_post_user_id`, `last_post_username`, `thread_id`, `reply_count`, `view_count`, `discussion_type`, `first_post_id`, `last_post_id`, `first_post_likes`, `prefix_id`, `custom_fields`, `tags`, `th_answered_qaforum`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1364, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(70): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1364, 'HY000')
#2 src/XF/Db/AbstractAdapter.php(69): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(146): XF\Db\AbstractAdapter->query('INSERT INTO xf...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1343): XF\Db\AbstractAdapter->insert('xf_thread', Array)
#5 src/XF/Mvc/Entity/Entity.php(1085): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Service/Thread/Creator.php(285): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Thread\Creator->_save()
#8 src/XF/Pub/Controller/Forum.php(714): XF\Service\Thread\Creator->save()
#9 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'post-thread', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(ThemeHouse\QAForums\XF\Pub\Controller\Forum), NULL)
#11 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(1844): XF\Mvc\Dispatcher->run()
#13 src/XF.php(328): XF\App->run()
#14 index.php(13): XF::runApp('XF\\Pub\\App')
#15 {main}
Could you provide the error message as well?
[LIST]
[*]XF\Db\Exception: MySQL query error [1364]: Field 'questionthreads_best_post' doesn't have a default value
[*]
[*]src/XF/Db/AbstractStatement.php:212[/codeo]
[/LIST]
I think dev has fixed this issue i reported something similar error when i uninstall that add on.
Can i see a live demo of your addon
Bugs fixed:
Features:
- Minor incompatibility issue with [TH] Bookmarks
- A
?
icon will now display next to Q&A threads (#35)- Different styling is now applied to the best answer in a thread. By default Accent 1 is used as the background, but this can be customized to use a border or different color instead via style properties...
Bugs Fixed
- Sort by votes button displayed on non Q&A threads
We use essential cookies to make this site work, and optional cookies to enhance your experience.