[3.2][RC] Knowledge Base

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!
Scam Warning
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: 1051
Joined: Mon Sep 01, 2014 1:00 am
Name: Kailey Truscott
Contact:

[3.2][RC] Knowledge Base

Post by kinerity » Sun Jan 08, 2017 5:54 am

Extension Name: Knowledge Base
Author: kinerity

Extension Description: An extension for phpBB 3.2.x that adds a Knowledge Base module to your phpBB installation.
Extension Version: [RC] 1.0.0

Requirements: 3.2.0

Features:
  • Fully integrated Knowledge Base for phpBB 3.2.x
  • Multiple categories
  • Support for BBCode, smilies and URLs
  • Approve, Disapprove, Deny, Edit, and Delete functions
  • Notification to article author on approve, disapprove, and deny actions
  • Notification to moderator on articles needing approved
  • Add Knowledge Base as a location to viewonline listing
  • User, moderator and administrator permission based
Screenshots: n/a

Demo URL: https://www.project-w.org/community/kb/index
Demo Username: n/a
Demo Password: n/a

GitHub Repository: https://github.com/kinerity/knowledgebase
Extension Download: https://github.com/kinerity/knowledgeba ... /1.0.0-RC3
Last edited by kinerity on Sun Aug 13, 2017 11:49 am, edited 7 times in total.
Image

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

Re: [3.2][DEV] Knowledge Base

Post by advocatus » Mon Jan 09, 2017 2:43 pm

I've very excited for this! I was planning on using the Pages extension for this, but that is, of course, not ideal. Plus, it requires giving the user an administrative permission, which forces them to have access to certain information. I'm really, really happy that you're working on this!
Hi, I'm advocatus and I own www.forumgames.in.

User avatar
Neculai Anisor
Translator
Posts: 168
Joined: Tue Jan 08, 2013 9:36 pm
Location: Renfrew, Renfrewshire, Scotland
Name: Neculai Anișor
Contact:

Re: [3.2][DEV] Knowledge Base

Post by Neculai Anisor » Tue Jan 10, 2017 5:43 pm

Bookmarked.
Waiting for it!
Image | Romanian Support Team | Animo @ phpBB.ro - Administrator

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

Re: [3.2][DEV] Knowledge Base

Post by kinerity » Thu Jan 12, 2017 5:37 pm

Sneak peek at the FA buttons I'm using for this extension. From left to right they are:
  • Approve
  • Unapprove
  • Deny
  • Edit
  • Delete
Image

Obviously the image above has been doctored to show all buttons. Not all of them will appear in viewarticle - the article's visibility and user permissions will determine which of the buttons are displayed.
Image

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

Re: [3.2][DEV] Knowledge Base

Post by kinerity » Wed Jan 18, 2017 11:35 am

I'd like some feedback from everyone. On the Knowledge Base index, is it preferable to have a list of all articles (with prefixes for unapproved and denied articles) or the dropdown to select each article type? Obviously either option would be shown based on the appropriate permissions.
Image

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

Re: [3.2][DEV] Knowledge Base

Post by advocatus » Wed Jan 18, 2017 1:01 pm

Can we have an option for either? Some people could use it for something like an alternative FAQ and that would require having all "questions" visible on the main page. Whereas someone like me, I plan on using it as an alternative to a wiki (to display all kinds of forum games related information) and having everything displayed on the main page would be overwhelming.
Hi, I'm advocatus and I own www.forumgames.in.

Kam3leoN
Registered User
Posts: 24
Joined: Sun Oct 04, 2015 9:02 pm

Re: [3.2][DEV] Knowledge Base

Post by Kam3leoN » Sun Jan 22, 2017 1:08 am

Super, fantastic, fabulous ^^
I'm happy if your extension see the day :)

for my wiki :D

User avatar
ultragigatank
Registered User
Posts: 11
Joined: Mon Jan 16, 2017 6:25 am
Location: Modesto, CA
Contact:

Re: [3.2][DEV] Knowledge Base

Post by ultragigatank » Sun Jan 22, 2017 10:42 am

I was just pondering how to make an integrated db style addition for my site. I'm very much waiting for this release... :twisted:

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

Re: [3.2][DEV] Knowledge Base

Post by kinerity » Wed Jan 25, 2017 11:26 am

I should have a github repo up by the end of next week. Work is coming along slower than I expected due to some real life stuff going on at work.
Image

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

Re: [3.2][DEV] Knowledge Base

Post by kinerity » Sat Jan 28, 2017 9:40 pm

Code is up on GitHub and a demo URL posted in the first post. Extension mostly works (still have to code "viewcategory"), I just have to figure out why notifications are not pushing.
Image

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

Re: [3.2][DEV] Knowledge Base

Post by advocatus » Sun Jan 29, 2017 12:05 am

Installed the extension on a test board and things seem to be nice so far. The only thing I've noticed so far is that the example category can't be deleted.
Hi, I'm advocatus and I own www.forumgames.in.

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

Re: [3.2][DEV] Knowledge Base

Post by kinerity » Sun Jan 29, 2017 12:07 am

advocatus wrote:
Sun Jan 29, 2017 12:05 am
The only thing I've noticed so far is that the example category can't be deleted.
Oh yeah, forgot to mention that. Category deletion isn't implemented yet.
Image

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

Re: [3.2][DEV] Knowledge Base

Post by advocatus » Sun Jan 29, 2017 12:18 am

The "link to this article" part is really clunky and doesn't use the viewed article's id. can it be changed to direct link (and moved to below the text) or dropped entirely (or toggled)?
Hi, I'm advocatus and I own www.forumgames.in.

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

Re: [3.2][DEV] Knowledge Base

Post by kinerity » Sun Jan 29, 2017 12:35 am

That's been fixed already (not pushed to github yet).

Open controller/main_controller.php

FIND:

Code: Select all

'U_VIEW_ARTICLE_LINK'   => $this->config['enable_mod_rewrite'] ? append_sid($board_url . '/kb/viewarticle', 'a=' . article_id) : append_sid($board_url . '/app.' . $this->php_ext . '/kb/viewarticle', 'a=' . $entity->get_id()),
REPLACE WITH:

Code: Select all

'U_VIEW_ARTICLE_LINK'   => $this->config['enable_mod_rewrite'] ? append_sid($board_url . '/kb/viewarticle', 'a=' . $article_id) : append_sid($board_url . '/app.' . $this->php_ext . '/kb/viewarticle', 'a=' . $entity->get_id()),
Image

User avatar
advocatus
Registered User
Posts: 290
Joined: Tue Aug 12, 2014 11:58 am
Location: Ontario, Canada.
Contact:

Re: [3.2][DEV] Knowledge Base

Post by advocatus » Sun Jan 29, 2017 12:51 am

I can wait, it's no problem at all. I'm just really excited about KB. :D
Hi, I'm advocatus and I own www.forumgames.in.

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: canonknipser, Chrono, dimetrius, Meis2M and 33 guests

cron