News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SA Knowledge Base

Started by SMFHacks.com Team, January 20, 2012, 06:14:12 PM

Previous topic - Next topic

vbgamer45

Probably using an outdated version of jquery on that theme.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

mrrhino27

I'm guessing there isn't a way to update it myself?

MrMike

I installed SA Knowledge Base on a brand new instance of SMF.

Everything seems to work well with one exception: when I edit an already-existing article and try to save it when the editor is HTML mode, I get this error:

Fatal error: Call to undefined function html_to_bbc() in /var/www/virtual/centosforum.org/htdocs/forum/Sources/KB/KBSubs.php on line 635

which is apparently this line in KBSubs.php:

$_REQUEST['description'] = html_to_bbc($_REQUEST['description']);

If I save the edited article when it's showing the BBCode, everything works fine.

SMFHacks.com Team

Update!
!Fixed a bug in edit kb article for undefined function html_to_bbc()
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

MrMike

Quote from: SMFHacks.com Team on December 12, 2014, 12:59:09 PM
Update!
!Fixed a bug in edit kb article for undefined function html_to_bbc()

Thank you!

Do I need to uninstall it before I upgrade it, or is there a specific file I can just replace, or a quick manual edit, or...?

vbgamer45

You can just replace the kbsubs.php
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

MrMike

Quote from: vbgamer45 on December 12, 2014, 02:06:18 PM
You can just replace the kbsubs.php

Thanks, VB, it worked like a charm.


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

windstar

Hope that this MOD is still actual.

I did a clean install on SMF 2.0.11 and I have an issue with the attachments.
When I try to attach an .pdf or an .doc document to an article it tells me that "xxx.pdf ist not an image" and the attachment is not added.

I have set the Allowed attachment extensions to: doc, gif, jpg, mpg, pdf, png, txt, zip
Is it not possible to attach non image files to the KB?

Attaching a .pdf in a regular SMF article works without problems.

Thanks for help
windstar

vbgamer45

It only supports images at this time.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

windstar

thats a pity  :-[
Anyway thanks for answer.

icehawke

This mod seems to work great, however the only way I could get it to function so that people could enter articles was to give them full admin rights to the kb. Is this proper or am I missing something?

vbgamer45

No In the knowledge base click "Edit Categories" then click permissions link for each category
In there you can set permissions for each membergroup
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

icehawke

Quote from: vbgamer45 on October 15, 2015, 12:28:06 AM
No In the knowledge base click "Edit Categories" then click permissions link for each category
In there you can set permissions for each membergroup

Thanks. That fixed things.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Kindred

problem  -- Illegal offset 'name'



index.php?action=kb;area=cats;cat=2
2: Illegal string offset 'name'
File: /..../Sources/KB/KBView_All.php
Line: 73



70: $artperpage = !empty($modSettings['kb_app']) ? $modSettings['kb_app'] : 30;
71:     $list_options = array(
72:   'id' => 'kb_know',
==>73:'title' => $catname['name'],
74: 'items_per_page' => $artperpage,
75: 'base_href' => $scripturl . '?action=kb;area=cats;cat='.$_GET['cat'].'',
76: 'default_sort_col' => 'kbnid',
77: 'get_items' => array(
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

vbgamer45

Every category get that error? IN the same line. Odd because it is used before that as well..
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Sigyn

Is there a way to change the name displayed on the forum? Meaning, instead of seeing "Knowledge Base" everywhere, can it be named custom to what it's being used for? Example being, I run a roleplay site for the world of Pern and we would like to rename it something along the lines of a mashup of Pern+Encyclopedia (whatever we decide that is). Would that be something possible to do?

vbgamer45

themes/default/languages/modifications.english.php that is where it stored.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Sigyn

Quote from: vbgamer45 on December 23, 2015, 11:56:45 PM
themes/default/languages/modifications.english.php that is where it stored.

Thank you, but will changing that call issues in the code with it being a different name? Knowledge Base is also throughout the articles and the Home Index of the mod -- does it all change if I edit that part of the file?

Advertisement: