Page 3 of 10

Re: [BETA] Best Answer

Posted: Tue Jun 14, 2016 10:15 am
by mohamednayeem
JimA wrote:
mohamednayeem wrote:extension did not showing (ACP -> Extensions )

why ?

how to enable best answer feature ?
Are you able to enable it under ACP -> Customise -> Manage extensions?
yea enabled but not working

Re: [BETA] Best Answer

Posted: Tue Jun 14, 2016 10:19 am
by david63
mohamednayeem wrote:enabled but not working
It is still only beta so there is no guarantee that some aspects will work.

Re: [BETA] Best Answer

Posted: Tue Jun 14, 2016 10:19 am
by JimA
You need to enable the feature for each forum where you want it individually, under the Forums tab.

See the screenshot from the first post.

Image

Re: [BETA] Best Answer

Posted: Tue Jun 14, 2016 10:20 am
by mohamednayeem
how to enable this ?

i cannot find this

Image

Re: [BETA] Best Answer

Posted: Tue Jun 14, 2016 10:22 am
by JimA
It should be under the Forums tab, click the green gear icon for the forum where you want to enable the feature. If you have the extension enabled, the option should be somewhere in that list.

Note: only do this for forums, it won't have much use in categories.

Re: [BETA] Best Answer

Posted: Tue Jun 14, 2016 10:31 am
by mohamednayeem
yea its working well

Re: [BETA] Best Answer

Posted: Tue Jun 14, 2016 11:54 pm
by aurquiel
:o This extension its great, for answer question, there is a possibility to lock topic when the best answer is submitted.
if the user get the best answer there is no reason to maintain the topic open for more answer.
Just select if you want lock the topic or not could be very useful.

Re: [BETA] Best Answer

Posted: Wed Jun 15, 2016 1:38 am
by 3Di
If the user wants to lock the topic once the best answer has been given he/she can do it him/herself, permission granted. Is a built-in feature of phpBB actually.

Re: [BETA] Best Answer

Posted: Wed Jun 15, 2016 10:49 am
by kinerity
3Di wrote:If the user wants to lock the topic once the best answer has been given he/she can do it him/herself, permission granted. Is a built-in feature of phpBB actually.
^ This

I'm still contemplating how I want to handle topics that have been marked as answered. Do we allow users to change the answer or allow only moderators/administrators the ability to change it? What is everyone's thought?

Re: [BETA] Best Answer

Posted: Wed Jun 15, 2016 4:17 pm
by aurquiel
kinerity wrote:
3Di wrote:If the user wants to lock the topic once the best answer has been given he/she can do it him/herself, permission granted. Is a built-in feature of phpBB actually.
^ This

I'm still contemplating how I want to handle topics that have been marked as answered. Do we allow users to change the answer or allow only moderators/administrators the ability to change it? What is everyone's thought?
I think is better an automatic lock when best answer is selected, because that way the users don't have to close them self, what happen if the user forget to close the topic? it will be open until the moderator found it. The user wants the things quickly and they are lazy, only few user will lock the topic that means more work to moderators.

Re: [BETA] Best Answer

Posted: Wed Jun 15, 2016 4:26 pm
by JimA
aurquiel wrote:I think is better an automatic lock when best answer is selected, because the user don't have to close it himself, what happen if the user forget to close the topic? it will be open until the moderator found it.
Personally, I wouldn't have it automatically happen. I guess you could add the option of having the topic closed when a best answer is chosen, but not have it happen by default.

If I were to install the extension, I would like topics to remain open after a Best Answer is chosen because someone might have something useful to add to the discussion. Also, I don't like closing topics after they have supposedly been answered anyway. But of course, other admins may very well have other preferences so I would say it would be good to just add it as an option on a per forum basis.

Re: [BETA] Best Answer

Posted: Wed Jun 15, 2016 4:31 pm
by aurquiel
JimA wrote:
aurquiel wrote:I think is better an automatic lock when best answer is selected, because the user don't have to close it himself, what happen if the user forget to close the topic? it will be open until the moderator found it.
Personally, I wouldn't have it automatically happen. I guess you could add the option of having the topic closed when a best answer is chosen, but not have it happen by default.

If I were to install the extension, I would like topics to remain open after a Best Answer is chosen because someone might have something useful to add to the discussion. Also, I don't like closing topics after they have supposedly been answered anyway. But of course, other admins may very well have other preferences so I would say it would be good to just add it as an option on a per forum basis.
I agree with an open or close selection will be ok for all of us

Re: [BETA] Best Answer

Posted: Wed Jul 06, 2016 2:51 am
by kinerity
This is still in development. The reason there has been no update is because I'm on a month long assignment 800 miles away (in WI). Once I get home, I should be able to ramp up development. I have more features planned. :D

Re: [BETA] Best Answer

Posted: Sat Jul 09, 2016 8:13 pm
by aurquiel
kinerity wrote:This is still in development. The reason there has been no update is because I'm on a month long assignment 800 miles away (in WI). Once I get home, I should be able to ramp up development. I have more features planned. :D
Thanks Kinerity i look foward to the release. I just installed in my demo board.

Re: [BETA] Best Answer

Posted: Mon Jul 25, 2016 4:03 pm
by floxx
Hi,

I'm reporting an issue : when I try to delete a topic or a post I got this SQL error :

Code: Select all

SQL ERROR [ mysqli ]

BIGINT UNSIGNED value is out of range in '(`flxpufltpp`.`PP2_users`.`user_answers` - 1)' [1690]

SQL

UPDATE PP2_users SET user_answers = user_answers - 1 WHERE user_id = 2

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/kinerity/bestanswer/event/listener.php
LINE: 159
CALL: phpbb\db\driver\factory->sql_query()

FILE: (not given by php)
LINE: (not given by php)
CALL: kinerity\bestanswer\event\listener->delete_posts_in_transaction_before()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 158
CALL: call_user_func()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 46
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 60
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/includes/functions_admin.php
LINE: 958
CALL: phpbb\event\dispatcher->trigger_event()

FILE: [ROOT]/includes/functions_posting.php
LINE: 1334
CALL: delete_posts()

FILE: [ROOT]/includes/functions_posting.php
LINE: 2660
CALL: delete_post()

FILE: [ROOT]/posting.php
LINE: 484
CALL: phpbb_handle_post_delete()
I hope you will find what is wrong with it. ;)