[3.2][BETA] Best Answer

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
mohamednayeem
Registered User
Posts: 50
Joined: Thu Dec 31, 2015 9:31 am
Location: Dubai
Name: mohamed nayeem
Contact:

Re: [BETA] Best Answer

Post by mohamednayeem » Tue Jun 14, 2016 10:15 am

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
I am learn from My Mistake!Without Mistake We Can't Learn Best ;)
https://www.betachess.com/
https://github.com/MohamedNayeem

User avatar
david63
Jr. Extension Validator
Posts: 14747
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Best Answer

Post by david63 » Tue Jun 14, 2016 10:19 am

mohamednayeem wrote:enabled but not working
It is still only beta so there is no guarantee that some aspects will work.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7379
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: [BETA] Best Answer

Post by JimA » Tue Jun 14, 2016 10:19 am

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
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

mohamednayeem
Registered User
Posts: 50
Joined: Thu Dec 31, 2015 9:31 am
Location: Dubai
Name: mohamed nayeem
Contact:

Re: [BETA] Best Answer

Post by mohamednayeem » Tue Jun 14, 2016 10:20 am

how to enable this ?

i cannot find this

Image
I am learn from My Mistake!Without Mistake We Can't Learn Best ;)
https://www.betachess.com/
https://github.com/MohamedNayeem

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7379
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: [BETA] Best Answer

Post by JimA » Tue Jun 14, 2016 10:22 am

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.
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

mohamednayeem
Registered User
Posts: 50
Joined: Thu Dec 31, 2015 9:31 am
Location: Dubai
Name: mohamed nayeem
Contact:

Re: [BETA] Best Answer

Post by mohamednayeem » Tue Jun 14, 2016 10:31 am

yea its working well
I am learn from My Mistake!Without Mistake We Can't Learn Best ;)
https://www.betachess.com/
https://github.com/MohamedNayeem

User avatar
aurquiel
Registered User
Posts: 243
Joined: Fri May 15, 2009 1:45 am
Contact:

Re: [BETA] Best Answer

Post by aurquiel » Tue Jun 14, 2016 11:54 pm

: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.

User avatar
3Di
Registered User
Posts: 12948
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [BETA] Best Answer

Post by 3Di » Wed Jun 15, 2016 1:38 am

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.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1900
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: [BETA] Best Answer

Post by kinerity » Wed Jun 15, 2016 10:49 am

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?
Kailey Truscott - Community Team

User avatar
aurquiel
Registered User
Posts: 243
Joined: Fri May 15, 2009 1:45 am
Contact:

Re: [BETA] Best Answer

Post by aurquiel » Wed Jun 15, 2016 4:17 pm

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.
Last edited by aurquiel on Wed Jun 15, 2016 4:30 pm, edited 1 time in total.

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7379
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: [BETA] Best Answer

Post by JimA » Wed Jun 15, 2016 4:26 pm

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.
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

User avatar
aurquiel
Registered User
Posts: 243
Joined: Fri May 15, 2009 1:45 am
Contact:

Re: [BETA] Best Answer

Post by aurquiel » Wed Jun 15, 2016 4:31 pm

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

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 1900
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: [BETA] Best Answer

Post by kinerity » Wed Jul 06, 2016 2:51 am

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
Kailey Truscott - Community Team

User avatar
aurquiel
Registered User
Posts: 243
Joined: Fri May 15, 2009 1:45 am
Contact:

Re: [BETA] Best Answer

Post by aurquiel » Sat Jul 09, 2016 8:13 pm

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.

floxx
Registered User
Posts: 38
Joined: Thu Nov 03, 2011 9:51 pm

Re: [BETA] Best Answer

Post by floxx » Mon Jul 25, 2016 4:03 pm

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. ;)

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Toxyy and 31 guests