[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!
Ideas Centre
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)
Post Reply
User avatar
kinerity
Registered User
Posts: 1128
Joined: Mon Sep 01, 2014 1:00 am
Name: Kailey Truscott
Contact:

[3.2][BETA] Best Answer

Post by kinerity » Tue Apr 19, 2016 3:41 am

Extension Name: Best Answer
Author: kinerity

Extension Description: An extension for phpBB 3.1.x that allows users to mark a post as the "Best Answer", which will then be quoted in the first post with a link to it. This is similar to IPB's feature.
Extension Version: 1.0.0-dev

Requirements: phpBB 3.2.2

Features:
  • Allow users to mark a post as the "Best Answer"
  • Answer is quoted in the first post with link to the post
  • Per-forum configuration
  • Permissions based
  • Answer post highlighted for distinction
  • Number of topics answered in viewtopic mini profile
  • Search topics a user has answered
Screenshots:

Image

Image

Image

Image

Image

Image

Image

Demo URL: n/a

Extension Download: n/a

GitHub: https://github.com/kinerity/bestanswer
Last edited by kinerity on Sun Nov 12, 2017 12:21 am, edited 15 times in total.
phpBB3 Refugees - Unofficial phpBB 3.0.x support

Image

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

Re: [BETA] Best Answer

Post by david63 » Tue Apr 19, 2016 7:06 am

Out of interest - how does this work?

I can understand the first person that comes along and marks a reply as the "best answer" but what happens when a second person comes along and marks another reply as the "best answer"?

Presumably the poster of a reply cannot mark their own reply as best answer - or can they?
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 or as they will be ignored

User avatar
kinerity
Registered User
Posts: 1128
Joined: Mon Sep 01, 2014 1:00 am
Name: Kailey Truscott
Contact:

Re: [BETA] Best Answer

Post by kinerity » Tue Apr 19, 2016 10:45 am

david63 wrote:what happens when a second person comes along and marks another reply as the "best answer"?
This is something I've never looked into because I've never had the need to. The relatively small staff on my site know that if a topic is already marked as answered, don't change it. I also have measures in place that let me know if they did (note to self - add logging to extension). Registered users do not have the permission to do so on my site, but I can see how this would be a problem.

I'll look into how to approach these situations. Thank you for the feedback.
david63 wrote:Presumably the poster of a reply cannot mark their own reply as best answer - or can they?
No, only Moderators and the original poster (if they have the permissions of course). That check is handled here.
phpBB3 Refugees - Unofficial phpBB 3.0.x support

Image

User avatar
Elias
Registered User
Posts: 4537
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: [BETA] Best Answer

Post by Elias » Tue Apr 19, 2016 11:59 am

david63 wrote:Out of interest - how does this work?

I can understand the first person that comes along and marks a reply as the "best answer" but what happens when a second person comes along and marks another reply as the "best answer"?

Presumably the poster of a reply cannot mark their own reply as best answer - or can they?
It's a permission you set.
Only the group/user with the permissions can set a post as 'Best Answer'.
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

User avatar
Lumpy Burgertushie
Registered User
Posts: 63196
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: [BETA] Best Answer

Post by Lumpy Burgertushie » Tue Apr 19, 2016 2:53 pm

I think that in most cases around the net, the only one that can set a reply as "best answer" would be the author of the original question/topic.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.
Premium phpBB 3.2 Styles by PlanetStyles.net

New phpbb 3.0 support site

User avatar
3Di
Registered User
Posts: 11826
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

Re: [BETA] Best Answer

Post by 3Di » Tue Apr 19, 2016 8:11 pm

Lumpy Burgertushie wrote:I think that in most cases around the net, the only one that can set a reply as "best answer" would be the author of the original question/topic.


robert
Ditto.

Or Moderators/Admins.
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
kinerity
Registered User
Posts: 1128
Joined: Mon Sep 01, 2014 1:00 am
Name: Kailey Truscott
Contact:

Re: [BETA] Best Answer

Post by kinerity » Tue Apr 19, 2016 8:49 pm

Lumpy Burgertushie wrote:I think that in most cases around the net, the only one that can set a reply as "best answer" would be the author of the original question/topic.
3Di wrote:Or Moderators/Admins.
Which is exactly the way this is setup. It's all permissions-based. You decide who gets to mark posts and who doesn't.
phpBB3 Refugees - Unofficial phpBB 3.0.x support

Image

User avatar
kinerity
Registered User
Posts: 1128
Joined: Mon Sep 01, 2014 1:00 am
Name: Kailey Truscott
Contact:

Re: [BETA] Best Answer

Post by kinerity » Wed Apr 20, 2016 10:48 pm

I've added logging to the extension.

Image
phpBB3 Refugees - Unofficial phpBB 3.0.x support

Image

User avatar
Xtracker!
Registered User
Posts: 522
Joined: Sun Apr 05, 2009 10:36 pm
Location: Area 51

Re: [BETA] Best Answer

Post by Xtracker! » Wed Apr 20, 2016 10:55 pm

Any demo forum where this extension its active so I can see it in action?
TeenReply.com - Teen Support | Teen Advice | Teen Forums :D :D

User avatar
3Di
Registered User
Posts: 11826
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

Re: [BETA] Best Answer

Post by 3Di » Wed Apr 20, 2016 10:56 pm

Xtracker! wrote:Any demo forum where this extension its active so I can see it in action?
Just install it and you got the demo.. uh? :)
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
Lumpy Burgertushie
Registered User
Posts: 63196
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: [BETA] Best Answer

Post by Lumpy Burgertushie » Wed Apr 20, 2016 11:25 pm

one of the benefits of extensions is that there is no reason not to just install it to see if you like it.

if not, disable it and then delete it.

an extension never touches core files so there is no chance of screwing up your board.

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.
Premium phpBB 3.2 Styles by PlanetStyles.net

New phpbb 3.0 support site

User avatar
Xtracker!
Registered User
Posts: 522
Joined: Sun Apr 05, 2009 10:36 pm
Location: Area 51

Re: [BETA] Best Answer

Post by Xtracker! » Thu Apr 21, 2016 12:39 am

So extensions are not like mods? You don't run the risk of messing up your forum like back in the day with installing mods?
TeenReply.com - Teen Support | Teen Advice | Teen Forums :D :D

User avatar
Lumpy Burgertushie
Registered User
Posts: 63196
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: [BETA] Best Answer

Post by Lumpy Burgertushie » Thu Apr 21, 2016 1:20 am

correct. extensions are self contained. you simply download the extension to your computer. unzip it, and upload to the server. then in your admin panel you look in the customize tab and click the enable link and poof, it works. if you don't like it or it doesn't work for some reason, you click the disable link and then click the delete link and then delete the files from the ftp and you are done.

https://www.phpbb.com/extensions/installing/

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.
Premium phpBB 3.2 Styles by PlanetStyles.net

New phpbb 3.0 support site

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

Re: [BETA] Best Answer

Post by david63 » Thu Apr 21, 2016 6:30 am

3Di wrote:Just install it and you got the demo
I would just qualify that by saying that you should only install an extension on a live board if you get it from the CDB - all others should only be used on a test board.
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 or as they will be ignored

Fnor
Registered User
Posts: 5
Joined: Fri Apr 22, 2016 8:52 pm

Re: [BETA] Best Answer

Post by Fnor » Fri Apr 22, 2016 9:10 pm

Hello,

This extension looks very promising.

I tried to get something similar on 3.0 but quickly stopped because of mod was to heavy to use in case it ceased to be supported. Given the new extension system I was ready to try again. I found your previous, abandoned, and was a bit disappointed. I quickly searched the forum to see if anyone picked anything and I find you again, glad to see you health improved !

I will probably install the extension on a test board this weekend, however I would like to ask you if you have considered any of the following options/improvements :
- an option to disable the quote in the first message (maybe several options : nothing, just the link the answer, and the full answer) ;
- the possibility to mark several answers if one doesn't answer the question fully ;
- a counter showing how many "best answers" a member has posted that could be displayed (informations, profile page, member list... or even a new page with a ranking). That'd be a nice way to thank helpful members.

Also, when using a custom theme, what should be added except the css in the theme folder?

Thank you, I'm quite excited about this one!

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Geekess, Naguissa, PELP, Stoker 4.0 and 28 guests