dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on February 22, 2016, 01:15:08 PM

Title: SA Knowledge Base (SA KB)
Post by: Chip on February 22, 2016, 01:15:08 PM
http://custom.simplemachines.org/mods/index.php?mod=3185

installed and still figuring out how to best use it.

DO NOT USE IT UNTIL I FIGURE OUT HOW THIS IS BEST DEPLOYED.
Title: Re: SA Knowledge Base (SA KB)
Post by: Guts on February 22, 2016, 01:55:09 PM
So this will allow us to build up a "knowledge base" with like how to's and FAQs and stuff?
Title: Re: SA Knowledge Base (SA KB)
Post by: Chip on February 22, 2016, 01:57:12 PM
yes but it seems to work with Articles and to me, they both look the same.

i need to suss this out some more but i'd like to have all the FAQ and related articles within Knowledge Base and Articles.

they we easy installs so i'd thought i would check them out.

see SMF Articles
Title: Re: SA Knowledge Base (SA KB)
Post by: Guts on February 22, 2016, 02:07:57 PM
They do look similar... I think one difference is on articles, people can post replies and in knowledge base they cant. Depending on if you want people to be able to do that or not, it probably makes sense to just have one or the other. I doubt we'd create enough content to really need both. Or knowledge base could be the standard how to inject type stuff and articles could be what's going on in the news or something. That might take a bit away from the forum though... I don't know if articles would show up under "all unread".
Title: Re: SA Knowledge Base (SA KB)
Post by: smfadmin on May 11, 2021, 07:08:22 AM
Bug (mktime(): You should be using the time() function instead) code change:

Save a copy:
cp /var/www/html/Themes/default/KB.template.php /var/www/html/Themes/default/KB.template.php-orig

ee +1365  /var/www/html/Themes/default/KB.template.php:

Change:
Code: [Select]
       &copy; 2011 - '.date("Y",mktime()).' <a href="http://www.smfhacks.com">SMFHacks.com</a>
To:
Code: [Select]
       &copy; 2011 - '.date("Y",time()).' <a href="http://www.smfhacks.com">SMFHacks.com</a>

Post Merged: May 11, 2021, 09:30:45 AM
1. Just in case: I copied ./Packages/SA_KB to ./Packages/Old/SA_KB-v1.2.zip

2. Upgraded to SA KB 2.3
SimplePortal 2.3.6 © 2008-2014, SimplePortal