Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SMFHacks.com Team on January 20, 2012, 06:14:12 PM

Title: SA Knowledge Base
Post by: SMFHacks.com Team on January 20, 2012, 06:14:12 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=3185)

Some features:

-Categories, add unlimited.
-Permissions view,rate,edit articles,edit cats,add articles,add categories,comment,auto approve articles,auto approve comments,report articles,approve comment/articles,search,del articles,del cats
-Per category permissions
-Pagination, to easily navigate through the Knowledge and categories
-ways to sort your Knowledge
-Supports BBC editor and BBC code
-Searching Knowledge Feature
-Rate Knowledge
-Comment Knowledge
-Report Knowledge
-Approve knowledge
-Import SMF Articles
-Import TP Articles
-Import FAQ's from FAQ mod
-Stand alone mode

And many more features included
Title: Re: SA Knowledge Base
Post by: Robert. on January 21, 2012, 03:37:50 AM
Nice! Just what I was looking for :D
Title: Re: SA Knowledge Base
Post by: GlitchPC on January 22, 2012, 06:42:12 AM
Keeping an eye on this one...looks promising.

Questions:
Feature requests:
Title: Re: SA Knowledge Base
Post by: SA™ on January 22, 2012, 12:11:47 PM
Quote
How many queries does this modification use?

it uses whats it needs but later it will use cache

Quote
Any idea when this mod will come out of beta?
no idea though im using on my site and seems pretty stable

Quote
Ability to import SimplePortal articles
was going todo this later

Quote
Ability to add sub-categories
you already can :P

Quote
Ability to add link to KB as a sub-link, instead of in SMF's main navigation tabs
im not sure i fully understand thisone

Quote
Ability to add attachments

already started this one for next realse
Title: Re: SA Knowledge Base
Post by: GlitchPC on January 22, 2012, 04:10:58 PM
Quote
Ability to add link to KB as a sub-link, instead of in SMF's main navigation tabs
im not sure i fully understand thisone



Most mods add a menu tab, as yours does, to the main navigation bar of the forum.  I know there are ways to add the link to the Knowledge Base as a menu item in a drop down.  However...couldn't this be incorporated into the mod, as a "hook"...so an Admin can have the option to add this new tab as a sub-menu item in a drop down for the Forum tab...or any tab of his choosing for that matter?  Just asking...

Thanks for the quick reply, by the way.
Title: Re: SA Knowledge Base
Post by: SA™ on January 22, 2012, 04:46:37 PM
you mean choose placement of the menu button?
Title: Re: SA Knowledge Base
Post by: GlitchPC on January 22, 2012, 04:55:41 PM
you mean choose placement of the menu button?

Yes...however, as a sub-menu button in a drop-down.  Not as a main menu tab.
Title: Re: SA Knowledge Base
Post by: SA™ on January 22, 2012, 05:05:00 PM
yeah i hear ya ill see what i can do though im not fully sure how to implement sub button part going to think how i can achive this
Title: Re: SA Knowledge Base
Post by: GlitchPC on January 26, 2012, 04:28:43 PM
I look forward to your next release...

In the meantime...where's the code that adds the current KB tab to the menu?  I'd like to remove it and manually code Subs.php to add the link as a sub-menu link in the Help tab.

Thanks, in advance...
Title: Re: SA Knowledge Base
Post by: SA™ on January 26, 2012, 06:07:49 PM
that can be found in sources/KB/KBHooks.php

Code: [Select]
if(!empty($modSettings['kb_enabled']) && allowedTo('view_knowledge')){
    KB_array_insert($menu_buttons, 'mlist',
     array(
    'kb' => array(
    'title' => $txt['knowledgebase'],
    'href' => $scripturl . '?action=kb',
    'show' => true,
    'sub_buttons' => array(
     ),
    'active_button' => false,
    ),
    )
    );
}
Title: Re: SA Knowledge Base
Post by: GlitchPC on January 26, 2012, 06:29:35 PM
Thank you for the quick reply.

Edit...

Okay...I found a couple of issues with your mod.  I'm assuming it's your mod...or it could just be a conflict with other mods I have installed.  Anyhow...see attached image.

The avatar looks like it is not re-sized properly...it appears to be skewed a bit.
The mod has an issue with the [list] tag...be it just bullets, or decimal format.
Title: Re: SA Knowledge Base
Post by: SA™ on January 27, 2012, 01:59:06 PM
ah i see the issue thanks for the report :)

here is a sneak preview of the next version
Title: Re: SA Knowledge Base
Post by: Robert. on January 27, 2012, 02:05:32 PM
Nice! :D
Title: Re: SA Knowledge Base
Post by: GlitchPC on January 27, 2012, 05:59:40 PM
Looking good!  When's the next version due out, though?  ;-)
Title: Re: SA Knowledge Base
Post by: SA™ on January 27, 2012, 06:04:53 PM
when it is ready hopfully not too long though :)
Title: Re: SA Knowledge Base
Post by: GlitchPC on January 29, 2012, 11:26:42 AM
I'm on the edge of my seat...

This mod is awesome!  Anyhow...I just wanted to make one more suggestion/feature request (if you don't mind).  The ability to change the "Author" of an article would be nice, too.  Whether the Author is another member, or source.

Also...I use a mod called ILA (Inline Attachments) which gives a user the ability to add images (as attachments) within a topic/post.  Is it possible for this mod to do the same...and/or incorporate that mod within it?

Other than that...I can't think of anything else.  Like I said...sitting on the edge of my seat for the next release.

I had been using Suki's FAQ mod...but, decided against it...for numerous reasons.  To each, his own, I guess.  Personally...I'm liking this one much better and just want to thank you for an awesome mod!
Title: Re: SA Knowledge Base
Post by: SA™ on January 29, 2012, 01:24:51 PM
why thank you glitch  i have a bit more testing todo then ill add new version here :)


Quote
This mod is awesome!  Anyhow...I just wanted to make one more suggestion/feature request (if you don't mind).  The ability to change the "Author" of an article would be nice, too.  Whether the Author is another member, or source.

you can already change an author of an article after you have added it just go and edit it and chnage the member id
Title: Re: SA Knowledge Base
Post by: GlitchPC on January 29, 2012, 03:39:00 PM
you can already change an author of an article after you have added it just go and edit it and chnage the member id

Okay...but what if the source is not a member/user?  What if the source was...say...from Wikipedia?  That's what I meant about changing the "source".  Just a thought...
Title: Re: SA Knowledge Base
Post by: SA™ on January 30, 2012, 02:37:45 PM
hmm how about another input when adding/editing an article

somthing like

source: [urltosomearticle]
can be left blank if no source
Title: Re: SA Knowledge Base
Post by: GlitchPC on January 30, 2012, 03:31:49 PM
hmm how about another input when adding/editing an article

somthing like

source: [urltosomearticle]
can be left blank if no source


That, my friend...would be awesome!  Nice idea...
Title: Re: SA Knowledge Base
Post by: Kindred on January 30, 2012, 10:56:32 PM
ok...  I have this mod installed (along with 100+ other mods to test the robustness/overlap of the system with that much in it...

So far, it looks pretty good. SA, let me tell you how happy I am that you use the integration arrays... it makes for simple multi-mod installs. The only problem that comes with it, of course, is that the menu items are now outside of the standard subs.php array (as Glitch noticed)
Title: Re: SA Knowledge Base
Post by: SA™ on January 31, 2012, 04:45:03 PM
thanks kindred hooks do sure make things easy when you have that many mods installed
do you get many errors with that many mods instaled?
Title: Re: SA Knowledge Base
Post by: Kindred on January 31, 2012, 05:00:23 PM
actually, I have surprisingly few errors, and the ones that I do find are pretty straight forward (where the mod author forgot to define something or, more likely forgot to initialize the variable with something and never built in checks to see if the variable is blank)
Title: Re: SA Knowledge Base
Post by: SA™ on February 02, 2012, 03:21:04 PM
ok here is the new version i dont have any beta testers at the moment this is why it took a little longer so im just gonna attach it here for you guys to test

there is still a couple of things i need to tweek like resizing of thumb nails jquery tweeks

Quote
added supprt for chacheing
added ption to attach images with settings
fixed display issue on view article page
implemented jquery/ajax for commenting on article and previewing articles
supports highslide for attachments will also convert img bb code
added option to add a source when add/editing articles

here is a demo with attachments and img bbc converted
http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=42
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 08, 2012, 06:53:33 AM
If I uninstall the old version before I install the new version...will I lose any articles I have already created, or any permissions I have already set?
Title: Re: SA Knowledge Base
Post by: SA™ on February 08, 2012, 07:00:31 AM
no they will be preserved in the database
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 08, 2012, 07:01:32 AM
Thanks for the quick reply...will let you know how it goes...
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 08, 2012, 07:17:00 AM
By the way...I should mention...I'm using this mod on a production site.  Not sure if that makes a difference but, just wanted you to know.

Anyhow...I uninstalled old version and installed new one from your previous link.  The avatar still seems a little skewed as in my previous post:  http://www.simplemachines.org/community/index.php?topic=466185.msg3261935#msg3261935

Also...the list bbcode tag does not indent as it does within other areas of the board.  Just doesn't look like a professional article if one uses this particular tag in their articles.  The bullets and numbers just appear too close to the info box of the article.  Try it yourself and you'll see what I mean...

Sorry for the double-post here...
Title: Re: SA Knowledge Base
Post by: SA™ on February 08, 2012, 07:21:13 AM
yeah i was just looking at this on your site it does look kinda awfull with the list bbc tag i may chnage the article layout for this as im not too good with templates and css i have soem ideas tho

ill get some screen shots of different layouts later for you to see wich one looks best

the avatars are all set to a certain size as not to break the layout with bigger avatars
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 08, 2012, 07:27:48 AM
Gotcha...look forward to seeing these screenshots of the new layouts.

Also...maybe include an admin option to not show the avatar...or certain info which just really isn't needed for the article.

Edit...

Since the mod has been updated...I can't find the area in KBHooks.php to turn the tab link off in the forum's main menu.  It's not the same coding as your previous version.


Edit...

never mind...found it.

I should note, too...that if you're going to re-size an avatar...you should have it retain its aspect ratio as not to cause what is currently happening in the article page.  Not sure if you can do that, though...
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 08, 2012, 08:14:07 AM
Actually...come to think of it...moving the "Article Details" to the top of the article could solve the layout issue...don't you think?
Title: Re: SA Knowledge Base
Post by: SA™ on February 08, 2012, 03:47:15 PM
yeah i was thinking the same after i posted what i did earlyer
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 14, 2012, 03:17:53 AM
Just checking on the prgoress, SA™...How are things going?

Oh, by the way...just wanted you to know, the parsing of bbcode is not the same in all browsers.  Take, for instance, the list tag.  While it may appear somewhat okay in Chrome...it doesn't appear the same or, at all, in Opera's latest version.  Just thought you'd like to know.  Later this morning I'll attach some images to let you see what I'm referring to.  Have to get ready for work...and I'm a little strapped for time.

All in all...I really do love this mod...and look forward to a final release.  Keep up the great work!

Edit...

See attached images.  Chrome shows the  list tags as good as can be expected...while Opera has issues.  Using the latest versions of both browsers.  Also...Firefox and Safari display the same as Chrome.  Problem seems to be associated only with Opera.
Title: Re: SA Knowledge Base
Post by: SA™ on February 15, 2012, 04:57:14 AM
sry not had much time todo this :( had a litle play last night and got it displaying a bit better with floating the article to details to the right instead of left
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 15, 2012, 09:31:37 AM
Looks good...

Have you checked the display in all current browser versions?
Title: Re: SA Knowledge Base
Post by: SA™ on February 15, 2012, 02:47:44 PM
that above image was in chrome not tryed other ones yet tho im undecided not realy sure if i like it floated right might just have to move to across the top of the aarticle where the share icons and source are or maybe above
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 15, 2012, 03:31:40 PM
Alrighty then...  Keep us posted...
Title: Re: SA Knowledge Base
Post by: Storman™ on February 17, 2012, 02:53:48 PM
Noticed that in the Admin main menu item, the sub menu items that were there previously are now gone.

Originally the sub menu items were:

Feature and Options
Package Manager
Error Log
Permissions
Simpleportal (additional mod)

Now I only see:

Features and Options
Knowledge Base

 :(

Quote
The only problem that comes with it, of course, is that the menu items are now outside of the standard subs.php array (as Glitch noticed)

Hmm... on that point how do I actually remove the KB menu item ? I'm so used to looking in Subs.php  :P

I have so much on the main menu bar that it's overflowing so I want to remove the KB menu item and put it as a link somewhere else.

Thanks  ;)

Title: Re: SA Knowledge Base
Post by: GlitchPC on February 18, 2012, 11:50:20 AM
SA™...

As an added feature request(s):

1.  Make the "Source" and "Title" fields expandable to the number of characters specified in administrative settings, or configuration of the mod.

As it stands...long URLs for Source(s) and long Titles are truncated by the mod.
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 18, 2012, 12:01:36 PM
Noticed that in the Admin main menu item, the sub menu items that were there previously are now gone.

Originally the sub menu items were:

Feature and Options
Package Manager
Error Log
Permissions
Simpleportal (additional mod)

Now I only see:

Features and Options
Knowledge Base

 :(

Quote
The only problem that comes with it, of course, is that the menu items are now outside of the standard subs.php array (as Glitch noticed)

Hmm... on that point how do I actually remove the KB menu item ? I'm so used to looking in Subs.php  :P

I have so much on the main menu bar that it's overflowing so I want to remove the KB menu item and put it as a link somewhere else.

Thanks  ;)



See this post:  http://www.simplemachines.org/community/index.php?topic=466185.msg3261925#msg3261925

Set
Code: [Select]
'show' => true,to
Code: [Select]
'show' => false,
Title: Re: SA Knowledge Base
Post by: SA™ on February 18, 2012, 01:59:33 PM
SA™...

As an added feature request(s):

1.  Make the "Source" and "Title" fields expandable to the number of characters specified in administrative settings, or configuration of the mod.

As it stands...long URLs for Source(s) and long Titles are truncated by the mod.

aready spotted this the other day and fixed in the next rev real life (TM) is preventing me from realy working on it as much as i would like so new revs will take a little longer
Title: Re: SA Knowledge Base
Post by: sound2005 on February 20, 2012, 07:14:18 AM
Superb mod.
Does anyone (or SA) know how to to add the most recent postings to the knowledge base to show on the front page of simpleportal (basically i need a php block to show the last 5 posts) if possible, please??
I think a similar thing exist with smf articles/adk blog??
Title: Re: SA Knowledge Base
Post by: visir on February 21, 2012, 06:01:11 AM
Installed beta 3. In the comments there is no avatar picture. Somehow it missed avatar folder at the website.
instead mysite.com/avatar/avatar_1.png it's trying to show mysite.com/avatar_1.png
Where I can correct a problem?
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 26, 2012, 08:56:27 AM
SA™...

Still using the mod... ;)

I know it's still in the "beta" stage.  Just wanted to note some bugs and additional feature requests...if you haven't already noticed or implemented them.  I also know you're busy...so, I'll try to be as short and as specific as possible.

Bug?  When an article is created and there is no "Source" listed...it would seem the mod takes the "Title" and sticks it in that field.  I've noticed this happening when I edit the article.  I'm not really positive if this happens when creating the article, though.  Something you may want to look into.

Bug?  When an article (with attachments) is created and submitted with your default attachment settings for the mod...the article is posted but if the attachments do not meet the default criteria...the article is posted, anyway...minus the attachments not meeting the settings configured for the mod.

Again...I know the mod is in beta.  I'm just one of those using it...and testing it out for you.  Letting you know what issues I experience with the use of it.

A feature request would be to leave the attachment settings...as far as folder size, file size, and the number of attachments disabled, with no limits.  This way...an admin can specify exactly what they want as it pertains to each field.  In a related note...there are no help features for this mod.  Each setting should have this feature to further explain the requirements and instructions for each field associated with your mod.

Another feature request...as it pertains to attachments would be to delay posting of the article, when submitted, if the attachments fail for any reason.  This way...the article creator can resolve the issue before posting and then re-submit the article.  The creator of the article will receive a message to correct the issue(s) and then re-submit the article.

Not sure where you stand...as far as a "final" version of this mod.  However, I still think it is awesome...and look forward to its completed version.


All my best!


Edit...

I also noticed the Facebook Like feature doesn't work.  I click it...confirm it...and post it to my Wall...but, it doesn't show up.  Disabling it...for now.

Additionaly, Google+ links to the Knowledge Base...not the article, itself.

I do not have a Twitter account...so I could not test it.  Only an assumption but, if Facebook and Google+ aren't working properly...I'd assume Twitter isn't either.  Again...that's only an assumption.
Title: Re: SA Knowledge Base
Post by: SA™ on February 26, 2012, 01:37:47 PM
thanks glitch for the reports the attachments issue i am aware of just not sure et on the best way of doing it i have been working on this this weekeend just didnt get far cos this stupid old pentium 2 it too slow lol cantt wait to get my quad care back this week
Title: Re: SA Knowledge Base
Post by: SA™ on February 28, 2012, 01:11:59 AM
new version realsed

fixed issue using source used title
fixed issue with attachments failing and article where still submitted
fixed issue with avatars not resisized properly
moved article details to the right of the article
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 28, 2012, 03:35:12 AM
Kudos for the update...

A couple of issues I have found:

I get the following error(s)...

xxxx://glitchpc.net/index.php?action=kb;area=article;cont=6

2: getimagesize(xxxx://glitchpc.net/index.php?action=dlattach;attach=65;type=avatar) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: no suitable wrapper could be found

File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/KB/KBSubs.php
Line: 56


xxxx://glitchpc.net/index.php?action=kb;area=article;cont=6

2: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0

File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/KB/KBSubs.php
Line: 56

Also...checking Featured Articles does nothing...


Any ideas?
Title: Re: SA Knowledge Base
Post by: SA™ on February 28, 2012, 03:52:28 AM
Quote
Also...checking Featured Articles does nothing...

you have to also enable this is admin other wise it wotn show nothing

for the errors pls try the updated package i just added
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 28, 2012, 04:38:54 AM
I have enabled it in Admin...

I am using the most recent package you uploaded.

I have to go to work, now...will check back with you later.
Title: Re: SA Knowledge Base
Post by: SA™ on February 28, 2012, 05:03:06 AM
Quote
I am using the most recent package you uploaded.

i updated it just before my last post to fix them errors you got
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 28, 2012, 11:06:06 AM
LOL!  Okay...my bad.

Sorry, though...I'm still not seeing anything referring to Featured Articles after selecting it in the configuration.  Where does it list the featured articles?

Never mind...I see it.

Edit...

I see another issue, SA™...

I opened an article to edit it as a Featured Article.  However, the link tree is not referring to the actual article I'm editing.

Even though the article I want to edit is open.  The link tree reads different.


Any ideas what's causing that?
Title: Re: SA Knowledge Base
Post by: SA™ on February 28, 2012, 01:55:23 PM
thanks for the report the title is also wrong lol


edit fixed pls redownload the pckage

hmm i just notice that whe editing an article you cant push the attachments button :( do you get this issue?
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 28, 2012, 05:02:56 PM
thanks for the report the title is also wrong lol


edit fixed pls redownload the pckage

hmm i just notice that whe editing an article you cant push the attachments button :( do you get this issue?

I have no issues with the attachments after your latest download.  However, I still have the Social plugin issues I told you about before.

Also...if enabling the feed through Chrome...the only thing I see is an XML feed.  Shouldn't this be a little more structured?  I mean...like a normal RSS feed?  Not sure if I'm being clear enough, though.
Title: Re: SA Knowledge Base
Post by: SA™ on February 28, 2012, 05:11:29 PM
Quote
I have no issues with the attachments after your latest download.  However, I still have the Social plugin issues I told you about before.

im still looking into them issue with social but for the gplus issue see this

http://www.simplemachines.org/community/index.php?topic=460796.msg3247862#msg3247862

Quote
Also...if enabling the feed through Chrome...the only thing I see is an XML feed.  Shouldn't this be a little more structured?  I mean...like a normal RSS feed?  Not sure if I'm being clear enough, though.

can you explain more?
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 28, 2012, 06:08:55 PM
The Chrome issue was fixed by installing an extension for RSS.  It's okay, now.  However, if I use Safari for Windows.  The browser crashes when loading the feeds.

Will check that link out, now...

Sorry, bud...I didn't understand anything from that link.
Title: Re: SA Knowledge Base
Post by: SA™ on February 28, 2012, 07:03:58 PM
Quote
The Chrome issue was fixed by installing an extension for RSS.  It's okay, now.  However, if I use Safari for Windows.  The browser crashes when loading the feeds.

never tried safri will try it out later

Quote
Will check that link out, now...

Sorry, bud...I didn't understand anything from that link.

sry read the whole topic you need to make an edit to your index.php
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 28, 2012, 08:22:26 PM
sry read the whole topic you need to make an edit to your index.php

Read the whole topic...used the last edit he submitted to you within that topic.  Edited my index.php file.  Tried again.  Still get the same issues as reported before.  It just doesn't work for me.  Sorry, bud.  Needless to say...I'll just have to disable the RSS and Social plugins until I can get them resolved.

Still using the mod, though...  ;-)

By the way....the new location of the avatar and info on the right is nice.  Avatar looks good and everything else seems to be as it should.  However...take a look at the date within that block.  Doesn't it look out of place to you?  While everything else is short and to the point.  The date and time just sticks out like a sore thumb.  Maybe shorten it?  What do you think?
Title: Re: SA Knowledge Base
Post by: SA™ on February 28, 2012, 11:19:13 PM
not finding any issue with rss feeds in safri ?

Quote
By the way....the new location of the avatar and info on the right is nice.  Avatar looks good and everything else seems to be as it should.  However...take a look at the date within that block.  Doesn't it look out of place to you?  While everything else is short and to the point.  The date and time just sticks out like a sore thumb.  Maybe shorten it?  What do you think?

indeed ive updated the package and shortend it also added some config for the menu in KBHooks.php

Code: [Select]
    #You can use these settings to move the button around or even disable the button and use a sub button
#Main menu button options

#Where the button will be shown on the menu
$kb_button_insert = 'mlist';

#before or after the above
$kb_button_pos = 'before';
#default is before the meberlist

#Sub button options

#Insert as sub button of help example $kb_button_insert_sub = 'help';
$kb_button_insert_sub = '';
#Leave blank to disable
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 29, 2012, 08:52:52 AM
Nice touch with the menu code.  Haven't tested it, yet...since I used your earlier remedy.  I hard-coded it into Subs.php.  I'll have to check it out.  Thanks, for that...

I can't understand why Safari keeps hanging/crashing on the KB page for me...unless there's a setting for RSS I don't know about in that particular browser.  All other browsers seem okay with it now.

Feature request:  There will be those who want to configure the date submitted...nature of the beast.  Some will want it European, while others will want it US.  Also...using the full name of the month isn't really necessary, is it?  Jan, Feb, Mar, Apr...and so on.

Like I said...tried the fix in the link you gave me for the Social networking issue.  It didn't work.  Others may have the same issue...if the future of this mod takes off like I think it will.
Title: Re: SA Knowledge Base
Post by: SA™ on February 29, 2012, 05:13:20 PM
i wasnt sure how to do the month like jan.feb,march so on so i just used on example from php.net tho i may change this still if i find a better way maybe the month number instead of the name might work

Quote
Like I said...tried the fix in the link you gave me for the Social networking issue.  It didn't work.  Others may have the same issue...if the future of this mod takes off like I think it will.

yeah i can see where you comming from with this ive not looked into it much yet but i did have a simual;r issue with my fb mod

Quote
I can't understand why Safari keeps hanging/crashing on the KB page for me...unless there's a setting for RSS I don't know about in that particular browser.  All other browsers seem okay with it now.

whats version of safari? im testing with the latest version but i dont get no issues can you enable rss feeds on your site so i cant test it with safari there?
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 29, 2012, 08:00:13 PM
Will do...give me two secs and I'll enable the RSS for the KB on my site.

I'm using Safari's latest version...
Title: Re: SA Knowledge Base
Post by: SA™ on February 29, 2012, 08:30:31 PM
hmm seems t work for me
Title: Re: SA Knowledge Base
Post by: GlitchPC on February 29, 2012, 08:43:10 PM
indeed ive updated the package and shortend it also added some config for the menu in KBHooks.php

Code: [Select]
    #You can use these settings to move the button around or even disable the button and use a sub button
#Main menu button options

#Where the button will be shown on the menu
$kb_button_insert = 'mlist';

#before or after the above
$kb_button_pos = 'before';
#default is before the meberlist

#Sub button options

#Insert as sub button of help example $kb_button_insert_sub = 'help';
$kb_button_insert_sub = '';
#Leave blank to disable


This works but, does not set the Help tab as the active tab...if that is the sub menu selected per the above code.
Can it be fixed?

Edit...

Added the below to Subs.php:

Code: [Select]
elseif ($context['current_action'] == 'kb')
$current_action = 'help';
Title: Re: SA Knowledge Base
Post by: SA™ on March 01, 2012, 12:22:58 AM
slitly better way todo it with the hooks

KB/KBHooks.php

find
Code: [Select]
if(!empty($modSettings['kb_enabled']) && $kb_button_insert_sub != '' && allowedTo('view_knowledge')){

add after

Code: [Select]
if ($context['current_action'] == 'kb')
    $context['current_action'] = $kb_button_insert_sub;
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 01, 2012, 12:32:35 AM
Doesn't work...sorry.  Just tried it.
Title: Re: SA Knowledge Base
Post by: tfs on March 02, 2012, 05:26:44 PM
Liking what I see so far.  Very nice work.
Title: Re: SA Knowledge Base
Post by: tfs on March 02, 2012, 06:10:25 PM
Beta 4, when comments must be approved, after commenting, the user gets no feedback that they've commented.  Similar when comments are auto-approved.
Title: Re: SA Knowledge Base
Post by: tfs on March 02, 2012, 06:15:03 PM
Beta4, when approving comments.  Remove selected or remove all doesn't get rid of the comment.  You end up needing to approve it and then delete it from the article.
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 02, 2012, 07:29:07 PM
I don't mean to sound like a twit or, anything like that.  I was just wondering...

Normally, a Knowledge Base is just a list of important information a user may be looking for.  I honestly don't see a need for any KB articles to have comments.

SA™...

It would be interesting to read your comments about this.
Title: Re: SA Knowledge Base
Post by: tfs on March 03, 2012, 12:15:14 AM
I think I'll probably leave comments on as a way for my clients to suggest enhancements to the KB, and I would remove the comments after the enhancements were implemented.
Title: Re: SA Knowledge Base
Post by: SA™ on March 03, 2012, 04:03:24 AM
Beta 4, when comments must be approved, after commenting, the user gets no feedback that they've commented.  Similar when comments are auto-approved.

there is a red warning on the add comment bos tha says Your comment wont be visible until approved

Beta4, when approving comments.  Remove selected or remove all doesn't get rid of the comment.  You end up needing to approve it and then delete it from the article.

there is no remove all remove selected with approving comments?

I don't mean to sound like a twit or, anything like that.  I was just wondering...

Normally, a Knowledge Base is just a list of important information a user may be looking for.  I honestly don't see a need for any KB articles to have comments.

SA™...

It would be interesting to read your comments about this.

it was just a feature i decided to add tho i personly dont use the comments part
Title: Re: SA Knowledge Base
Post by: tfs on March 04, 2012, 01:28:13 PM
there is a red warning on the add comment bos tha says Your comment wont be visible until approved

When commenting with no approval required, you type into the dialog box and then click on the save button.  The comment immediately appears, and you see it (if your resolution is set high enough), but the dialog box where you typed your message is still open with your message in it, and the mouse remains hovered over the "Save" button.  This is a recipe for mass duplication of comments.  Particularly so for people who have their screen set to a low resolution, or who have zoomed in on the page using CTL-+, because they'll have no feedback whatsoever that the comment was saved.  It looks just like the "Save" button does nothing.

My recommendation would be to un-expand the comment dialog box and display a line that says "Comment saved" when the comment is saved.

When commenting with approval required, yes, there is a red "Your comment wont be visible until approved" line.  But everything I've said above is still at issue, including the fact that since the red warning uses up two lines, it's even more likely that the commenter won't see their comment appear below because it has scrolled down even farther.

Also, the word "wont" needs and apostrophe.

there is no remove all remove selected with approving comments?

There is a Remove All and a Remove Selected button in the approval dialog area, but they don't do anything.
Title: Re: SA Knowledge Base
Post by: SA™ on March 04, 2012, 02:32:32 PM
hmmm the rmove all remove selcted itsnt part of the aprove comments part

you said this

Quote
Beta4, when approving comments.  Remove selected or remove all doesn't get rid of the comment.  You end up needing to approve it and then delete it from the article.

so i assumed you meant the comments like i said there is no remove all remove selected for thge comments  well there is but it is for reports not comments wich is why it does nothing cos there isnt any reports look closly at tht page tere is three different parts

approve aticles
approce comments
and reports
Title: Re: SA Knowledge Base
Post by: tfs on March 04, 2012, 04:16:15 PM
there is no remove all remove selected for thge comments

Ahhh... so there isn't.  Sorry for the confusion.

If I'm NOT going to approve a comment, what is the suggested workflow for deleting it?  Is a "Delete Selected" button in the cards for the Approve Comments area of the management console?

Let me say again... this is a beautiful and important mod.  Thank you for your effort to get it to this level.  It would be very useful to me, and I'm willing to put in the time and effort to help in the design and debugging effort.  Let me know how I can help.
Title: Re: SA Knowledge Base
Post by: Hasta La Vista on March 04, 2012, 04:31:35 PM
Excellent mod! Thank you!
Title: Re: SA Knowledge Base
Post by: SA™ on March 04, 2012, 04:38:40 PM
Quote
If I'm NOT going to approve a comment, what is the suggested workflow for deleting it?  Is a "Delete Selected" button in the cards for the Approve Comments area of the management console?

i never realy fault about that case will do this for beta 5

Quote
Let me say again... this is a beautiful and important mod.  Thank you for your effort to get it to this level.  It would be very useful to me, and I'm willing to put in the time and effort to help in the design and debugging effort.  Let me know how I can help.

thanks for the kind words
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 04, 2012, 04:54:17 PM
SA™...

I, too, would like to reiterate how awesome this mod is.  Even if it didn't have the ability to post comments, post to social networks or, menu link placement.

Right now...it's doing exactly what I want it to and exactly what you intended it to do...and I can't be any happier than that.

Again...compared to the other option I had...this beats that, easily...no contest!  You should be proud of what you've accomplished.
Title: Re: SA Knowledge Base
Post by: SA™ on March 04, 2012, 05:03:32 PM
thanks Glitch :)
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 04, 2012, 06:14:00 PM
Houston...we have a problem...

I just noticed something...and I think it may be due to the fact certain areas of the configuration were not filled in by me.  I'm getting the following two errors for each inline image I use in a KB article:

xxxx://glitchpc.net/index.php?action=kb;area=article;cont=7
2: getimagesize(xxxx://xxxxxxxxxxxx/xxxxxx/xxxxxxxxxxxx/images/rank_guru.png) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: no suitable wrapper could be foundFile: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/KB/KBSubs.php
Line: 82


XXXX://glitchpc.net/index.php?action=kb;area=article;cont=7
2: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/KB/KBSubs.php
Line: 82

There are no settings for inline/linked images in this mod.  So...I'm all ears...

Never mind...it's a server side issue...I think.
Title: Re: SA Knowledge Base
Post by: SA™ on March 05, 2012, 02:12:26 PM
thanks glitch im looking into another way of resizing images with js instead should hopfuly fix this
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 05, 2012, 02:19:45 PM
You're welcome...

Also, you may want to look into other image fields of the mod...like attachments.  Where if we enter a "0" for folder size and image size...this would mean "no limit"...as do most other mods that involve images.
Title: Re: SA Knowledge Base
Post by: SA™ on March 06, 2012, 01:24:15 AM
new version added

Quote
fixed issues with custom menu options
tweeked the way dates was diplayed when veiwin articles
fixed sorting article by title was actualy sorted by id
Print article was not shown if no permission to add edit delete report articles
increased title size from 50 to 100
avatars on comments was using origanal article creaters avatar
added delete all/delete selected option to mange kb page
managers can now see all catagorys by defult
images now get resized using jquery
adding comments now closes the add com box after submission
fixed hardcoded text
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 06, 2012, 03:17:28 AM
Will give it a shot, later...when I get home from work...

...and thanks for the update!
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 06, 2012, 01:36:19 PM
SA™...

Fatal error: Call to undefined function kb_imageresize() in /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/KB/KBSubs.php on line 77

After the update...

I get that error for the following link to a kb article that has in-line images:  http://glitchpc.net/index.php?action=kb;area=article;cont=7

I can't edit the article, either...since it returns that error.
Title: Re: SA Knowledge Base
Post by: Inti31 on March 06, 2012, 02:41:09 PM
SA™...

Fatal error: Call to undefined function kb_imageresize() in /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/KB/KBSubs.php on line 77
I did a fresh install - same thing here - I've to disable highslide.

I modified the package and deleted the highslide part - and modified KBSSubs.php - just corrected the path to the /hs4smf dir - it won't work.

I've installed Highslide 0.81 mod and that works fine... - all emebeded picture are now zoomable...


please find attached my german-utf8 translation

once again: please use the /hs4smf path if possible... theres is no need to have it more than once installed in different places...

screenshot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs12.postimage.org%2F62u543t61%2Funtitled.jpg&hash=9e9aef172a1c08649de3ccf8ccbb991b) (http://postimage.org/image/62u543t61/)

What I found out...

- if I unapprove an article and then I approve it again - it is shown double - is this history option?
 - also i would like to have the facebook symbol(social media) a little bit bigger - means width, so that the German "Gefällt mir"- Text  (=Like) is fully shown... (see screenshot)
- If I search for a member who posted the article the found member is between quotes - all other things work fine... - what i've tested...

- one note: the dir languages is not neccessary in that mod...

- if you report an article as guest without typing anything in the field - the message is sent blank.

Lastly... - I miss the permission for normal member to post an article... - have a look to the permissions - so it is just me who can post an article... is that the intentention?

thx for that release - seems like you are not far away from the final release

cheers inti31
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 06, 2012, 09:14:22 PM
Inti31,

I have the hs4smf mod installed.  Are you talking to me when you stated this:
Quote
once again: please use the /hs4smf path if possible... theres is no need to have it more than once installed in differnet places...

If so...where do I change this path?

Also...

The path to attachments for this KB mod is different than regular attachments for SMF.  Should I add the KB path to SMF's attachment settings...or, should I change the KB mod's attachment path to SMF's default attachment path?

One last note...

I still can't get the social buttons to work.  Oh...they show up but, do not do what they're intended to do.  If I "Like" an article...a windows pops up and then closes and nothing is shown on my Facebook wall.  Google+ links to the Knowledge Base page...not the article itself.  I don't use Twitter...so, there should be an option for this KB mod to select which social plugins should be displayed...correct?  I know there may be other users who use Twitter...however, I don't.  So...there's really no way for me to test it...unless I setup a Twitter account.  I just may have to do this, I guess.

Google+:  Links to KB page...not the actual article.
Twitter:  Links to KB page...not the actual link to the article.  No number in the tweet count, either.
Facebook:  As described above...I click "Like"...window opens then closes...no info on FB wall.   I logged out of my FB account and cleared my browser cache.  I clicked the FB Like button for the KB article.  Window opens to log into FB.  I login...nothing showing.  (See attached image after cllicking "Like" and logging in to FB)

Note:  I've currently disabled the social plugin settings for this mod.

A nice feature for this mod and the social plugin...when I can get it to work...would be an automatic minify url feature which would shorten the url when posting to your favorite social networks.

Thanks, in advance...
Title: Re: SA Knowledge Base
Post by: zg4me on March 06, 2012, 11:15:59 PM
Yes, VERY nice mod :) I'll toss a few bux your way, once out of Beta, and if I (we) install it on our forum.

Glitch, and may be related to running on Winders Server (Win 2k Server (test bed only), MySQL 5.0.15, PHP 5.2.17)

If I'll be adding a null field into a row, said table has to have "allow NULL" in the table, which should be specified in the table creation script. I received an instet NULL value error when I tried to create the first category.

Might be something to add to your table creation script?

Rick
Title: Re: SA Knowledge Base
Post by: Inti31 on March 06, 2012, 11:40:01 PM
@GlitchPC -  no Glitch, my last post was not adressed to you...
but to answer your question: you have to modify /KB/KBSubs.php (line 700,701, 704) - here is the path entered which refers to the sa_kb dir integrated in this package - the files are all the same are used when you install Highslide newest version (/hs4smf) - except 1  file: The knowledge base mod here has a highslide-full.js integrated... Highslide 0.8.1 uses a highslide.js which is smaller...

nevertheless - it  won't work...  - the changes are useless...
only point - because i deleted now the kb_sa dir, the language-dir from this package - my german installer mod is now smaller - 84kb instead of 435kb..

i disabled now highslide for img tag  in administration menu für knowledge base - and it works now - Highslide 0.8.1 has taken over the job.

cheers Inti31

Addition: When I am logged as a normal member - the permission list shows
I can't add new articles
...
 I can't edit my own article
you can delete your own article...

As a guest :
"you can delete your own article" is listed... - permission for guests iset just to view the knowledge base
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 07, 2012, 12:03:38 PM
Feature requests...

1.  Ability to edit content of Approve/Unapprove PMs.
2.  When deleting an article...confirmation of deletion...instead of a straight delete.  Just in case someone really didn't want to delete an article...as I just found out.

Errors on approve/unapprove articles...

1.  xxxx://glitchpc.net/index.php?action=kb;area=article;approve;aid=2;sesc

8: Undefined index: cont

 File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxxx/Sources/KB/KBSubs.php
 Line: 748

2.  xxxx://glitchpc.net/index.php?action=kb;area=article;unapprove;inap=2;sesc

8: Undefined index: cont

 File: /xxx/xxx/xxxxx/xxxxxxxx/xxxxxxx/Sources/KB/KBSubs.php
 Line: 748
Title: Re: SA Knowledge Base
Post by: SA™ on March 07, 2012, 01:06:45 PM
thanks for tyhe reports guys im gonna be busy for a bit with this :P
Title: Re: SA Knowledge Base
Post by: pierrelogic on March 09, 2012, 01:41:29 PM
Since you're busy updating this mod I'll throw out a question about one of the features that is probably easy to answer.

The "Import FAQ's from FAQ mod" feature.  I'm assuming steps if someone is actively using the FAQ mods are:

1A. Do a forum backup.   :)
1. Uninstall the FAQ mod without checking the Remove all data associated with this modification.
2. Install this KB mod and it automatcially pulls in the left over info from the FAQ mod?

Thanks!
Title: Re: SA Knowledge Base
Post by: SA™ on March 09, 2012, 06:21:37 PM
1A. as always :D

1. you can leave it installled it still works with this mod
2. same as above then once kb is installed you can inport faq through the kb admin area
Title: Re: SA Knowledge Base
Post by: SA™ on March 12, 2012, 12:49:30 AM
new version realsed

Quote
added profile veiw permisssion check to disable profile links
added option to disable link users names
added option to disable all kb pms
fixed issue Images dissapearing from other articles when editing
fixed issue undefined function kb_imageresize()
added checks to see if hs was installed
added check when submitting a report for empty comment
added check when submitting a report for a valide article id
fixed issue permission info was incorrect
fixed error  Undefined index: cont
fixed permission issues for adding articles
renamed some text on the search page
moved jquery validate js to scripts dir
added delete article confirm box
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 12, 2012, 02:08:26 AM
SA™...

RC1 installed...will keep you posted, bud.  Thanks for the updated release!


Edit...

SA™...

Check display of FB Like button after someone likes an article.  It's not appearing correctly.  Also...after I click the Like button, nothing happens except the button changes...nothing displayed on FB.  No option to post/comment after clicking Like.
Title: Re: SA Knowledge Base
Post by: Inti31 on March 12, 2012, 03:56:42 AM
Okay, I did some changes - as I said - I want to avoid to have highslide parts installed twice

I just copied the 2 js - files (jquery.validate.min.js, jquery.ae.image.resize.min) to $themedir/scripts

packages-info.xml
Code: [Select]
<require-file name="sa_kb/jquery.ae.image.resize.min.js" destination="$themedir/scripts" />
<require-file name="sa_kb/jquery.ae.image.resize.min.js" destination="$themedir/scripts" />

i modified KBSubs.php
Code: [Select]
function KB_doheaders(){
    global $settings, $modSettings, $context;

if(file_exists($settings['default_theme_url'] . '/hs4smf/highslide.js'))
    $hs_js = $settings['default_theme_url'] . '/hs4smf/highslide.js';
else
   $hs_js = $settings['default_theme_url'] .'/hs4smf/highslide-full.js';

$max_height = !empty($modSettings['kb_img_max_height']) ? $modSettings['kb_img_max_height'] : 150;
    $max_width = !empty($modSettings['kb_img_max_width']) ? $modSettings['kb_img_max_width'] : 150;
   
$context['html_headers'] .= '
<script type="text/javascript">
        !window.jQuery && document.write(unescape(\'%3Cscript src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"%3E%3C/script%3E%3Cscript src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"%3E%3C/script%3E\'));
    </script>
<script type="text/javascript" src="'.$settings['default_theme_url'] .'/scripts/jquery.ae.image.resize.min.js"></script>
<script type="text/javascript" src="'.$settings['default_theme_url'] .'/scripts/jquery.validate.min.js"></script>

Code: [Select]
#Highslide JS License:
        #Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. This means you need the author's
#permission to use Highslide JS on commercial websites.
#http://highslide.com/#licence
$context['html_headers'] .='

<script type="text/javascript" src="'.$hs_js.'"></script>
        <link rel="stylesheet" href="'. $settings['default_theme_url'] .'/hs4smf/highslide.css" type="text/css" media="screen" />

    <script type="text/javascript">
        hs.graphicsDir = \''.$settings['default_theme_url'] .'/hs4smf/graphics/\';

That works fine... highslide for attached images/bbcode is now activated

but... - I can't use bbcode from the menu - the code entered manually in the field works
maybe a browser problem? maybe someone could verfiy this?
this happens when writing soething new or adding a comment...

the facebook like button have to be a little bit bigger....

i set the permission for guests - guest are now able to write a comment
Guests are allowed to enter comments...

http://inti31.cwsurf.de/index.php?action=kb;area=article;cont=1

 I miss 3 translations strings (see 1st shot)
- Clear Cache
- Recount Articles
- Recount Comments

next: an attched image is not shown in smaller size - it is shown in original size.

the permssions view - maybe this block could be extend?
in 1280x1024 the information about BBCode/Smileys/img/html is not on one line and is too close to the information (2nd shot)

Please have a look to my testforum: http://inti31.cwsurf.de/index.php?action=kb;area=cats;cat=1

cheers Inti31
Title: Re: SA Knowledge Base
Post by: SA™ on March 12, 2012, 04:13:31 AM
i still dont get it lol i mean why bother doing all that when the mod has it buildt in i mean it shouldent affect hs4smf mod as the kb only loads that stuff when viewing the kb itself  im just a little lost whats the bennafit?
Title: Re: SA Knowledge Base
Post by: SA™ on March 12, 2012, 04:31:14 AM
Quote

the facebook like button have to be a little bit bigger....

I miss 3 translations strings (see 1st shot)
- Clear Cache
- Recount Articles
- Recount Comments

next: an attched image is not shown in smaller size - it is shown in original size.

the permssions view - maybe this block could be extend?
in 1280x1024 the information about BBCode/Smileys/img/html is not on one line and is too close to the information (2nd shot)

just fixed these
Title: Re: SA Knowledge Base
Post by: Inti31 on March 12, 2012, 05:33:28 AM
@SA™ - thx for fixing the other things - will give it a try...

the benefit is training for me, to understand how your excellent mod works, and because my testforum has highslide already installed this is my try to create my "own" installer package which fits my needs...

Does this make sense for you? I will give it a try today evening - will setup a new fresh 2.0.2 for that (I am at work now)

I just asked if it possible to use the same dir like highslide uses - not more.
Because you use the same files which highslide uses - is it a problem, to use the same directories?
If it is already installed - fine, when installing your mod- I don't care, if existing files will be overwritten during the installation process - or the other way round.


Edit
the facebook like button have to be a little bit bigger....
THX - looks nice now.

I miss 3 translations strings (see 1st shot)
- Clear Cache
- Recount Articles
- Recount Comments
cool...

next: an attched image is not shown in smaller size - it is shown in original size.
Fine - it works now
I did a fresh install of SMF (local installation - with Firefox it works - guess, this is an IE7 problem

the permssions view - maybe this block could be extend?
in 1280x1024 the information about BBCode/Smileys/img/html is not on one line and is too close to the information (2nd shot)
top - looks nice also now

I installed now the complete package - I am not able to use the bbc code menu to enter tags like center bold, etc
I just could do it manually

I have here at work just IE7 - no chance to test it with IE8+, Chrome, FF
Could someone verify this please?

EDIT1:
I imported successfully 1 FAQ - but the article count is wrong. Recounting does not work.
When I edit the new article and save it back - then the count is okay
cheers Inti31
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 12, 2012, 09:33:54 AM
SA™...

Using your latest submission...

Still have issues with the Social Sharing Icons...

Facebook doesn't work.  It'll add the count but, that's all it does.  It does not open a post/sahe window and nothing appears on my FB Wall or News feed....and yes, I'm logged into FB at the time I click the Like button on the article.

Google+ works...but, only links to the KB index...not the actual article I'm liking.

Twitter has the article title but, just links to the KB index.

Are you working on these?
Title: Re: SA Knowledge Base
Post by: SA™ on March 12, 2012, 04:49:30 PM
[quote
EDIT1:
I imported successfully 1 FAQ - but the article count is wrong. Recounting does not work.
When I edit the new article and save it back - then the count is okay
cheers Inti31[/quote]

this is a cache issue clearing the kb cache will sort this

Quote
I installed now the complete package - I am not able to use the bbc code menu to enter tags like center bold, etc
I just could do it manually

I have here at work just IE7 - no chance to test it with IE8+, Chrome, FF
Could someone verify this please?]

hmm i will test this later

SA™...

Using your latest submission...

Still have issues with the Social Sharing Icons...

Facebook doesn't work.  It'll add the count but, that's all it does.  It does not open a post/sahe window and nothing appears on my FB Wall or News feed....and yes, I'm logged into FB at the time I click the Like button on the article.

Google+ works...but, only links to the KB index...not the actual article I'm liking.

Twitter has the article title but, just links to the KB index.

Are you working on these?

yes im aware of these im considering using add this script instead now though
http://www.addthis.com/
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 14, 2012, 10:27:04 AM
SA™...

Discovered an issue with the default Curve theme and my custom theme...not sure if anyone else is experiencing it, though.

If I open the Add Article page, the Source and Title fields are truncated.  See first screenshot.

When I collapse the left naviagtion column...all appears fine.  See second screenshot.
Title: Re: SA Knowledge Base
Post by: tfs on March 14, 2012, 05:25:36 PM
Not seeing that behavior here on the default Curve theme.  I'm using FireFox 10 and 11.
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 14, 2012, 05:40:31 PM
I'm using Opera 11.61...

Edit...

IE 8, Firefox 11, and Chrome 17...all working fine.  The issue is with Opera only.  Haven't tested Safari...but, I have little faith in Safari to begin with.
Title: Re: SA Knowledge Base
Post by: Inti31 on March 15, 2012, 03:01:47 AM
So okay, just to give some feedback - I did a new install of my testforum - all I tested and /tried out is working (test with FF, IE7)

so congrats...   ;)
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 15, 2012, 03:32:51 AM
Works fine in Safari, too...except for the issue Safari has with its WebKitProcess and RSS feeds...
Title: Re: SA Knowledge Base
Post by: SA™ on March 15, 2012, 03:56:00 AM
SA™...

Discovered an issue with the default Curve theme and my custom theme...not sure if anyone else is experiencing it, though.

If I open the Add Article page, the Source and Title fields are truncated.  See first screenshot.

When I collapse the left naviagtion column...all appears fine.  See second screenshot.

fixed in the updated package  this waas only hapening on lower screen resulation
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 17, 2012, 06:31:15 PM
SA™...

It appears the html bbcode tag is not allowed when adding articles.  Was this on purpose...or just an oversight?
Title: Re: SA Knowledge Base
Post by: SA™ on March 17, 2012, 07:12:20 PM
an an oversight i guess dunno realy i never tryed html
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 17, 2012, 07:20:49 PM
Would it be possible to add that tag so that administrators only can use it?  Currently...SMF allows it...but, only for admins.
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 25, 2012, 12:44:26 PM
SA™...

Not sure where you are at this time...regarding this mod...but, it's coming along very nicely.  It has come a long way since you introduced it...and I'm currently populating it on my site...as we speak.

I know you're busy...and I don't want to sound or, come across as demanding...however, I was just wondering if you'd be willing to consider a couple of additional feature requests?

Granted...these may not be needed by others who may already be using this mod.  I just thought it would add a little more to its development.
Title: Re: SA Knowledge Base
Post by: SA™ on March 26, 2012, 02:05:47 PM
dont worry this mod isnt forgot about im just have a lot of catchingup todo with  my other social mods

i woulda acutaly fault that html tags woulda worked i guess not tho seen as this mod does use smf parse bbc function

2.ill think about this one tho it is going to be a lot of work todo this

3. is the easy one to get featred articles in a block the code todo his is aready there as it is used for the fetured articles on kb home page
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 26, 2012, 04:51:31 PM
SA™...

Thanks for taking a look into the feature requests...much appreciated.

By the way...just noticed something...(see attached images).  It would seem the option to sort the articles within a category includes a "-", as opposed to just using the sort image that's already there.

This is apparent in both my custom and default curve themes.
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 26, 2012, 04:52:29 PM
SA™...

Thanks for taking a look into the feature requests...much appreciated.

By the way...just noticed something...(see attached images).  It would seem the option to sort the articles within a category includes a "-", as opposed to just using the sort image that's already there.

This is apparent in both my custom and default curve themes.
Title: Re: SA Knowledge Base
Post by: SA™ on March 28, 2012, 10:18:24 AM
yup that - what added there intentionly cos the lickle sort arrow doesnt show otherwise
Title: Re: SA Knowledge Base
Post by: visir on April 03, 2012, 11:42:25 AM
Somehow after editing ID of author reset to 0. Then manually one by one need to set back to correct value.
 
Title: Re: SA Knowledge Base
Post by: GlitchPC on April 08, 2012, 09:05:21 AM
SA™...

The issue I reported before:  http://www.simplemachines.org/community/index.php?topic=466185.msg3293497#msg3293497

This same issue happens in Opera, when I try to edit a category, as well.  I just noticed it, today, when I wanted to change some images associated with the category.  The image field was truncated only when using the Opera browser.
Title: Re: SA Knowledge Base
Post by: SA™ on April 11, 2012, 02:44:26 PM
this is actualy fix already in my dev build i just aint had no time this last few weeks :(
Title: Re: SA Knowledge Base
Post by: tfs on April 18, 2012, 01:51:03 PM
Is that it for http://www.sa-smf.com ?

It's been down a few days now.
Title: Re: SA Knowledge Base
Post by: FrizzleFried on April 19, 2012, 04:36:31 PM
I am getting an extra BAR in categories when I add sub-categories... (see attached).

If I add a sub-category to a category called "FORUMS" I get an extra bar with the letter "F" on it.  If I add a sub-category to a category called "GAMES" I am getting an extra bar with the letter "G" on it.

Any ideas where to look to fix this behavior?

EDIT: Actually... it appears that the BAR is supposed to be there,  but the entire name of the category is supposed to be showing up not the first letter?
Title: Re: SA Knowledge Base
Post by: FrizzleFried on May 02, 2012, 02:41:50 PM
I had my first user go in and create an article.  It's set to auto approve and it did... however it assigned the article to user 0 (Guest) ... so he couldn't go back in and make edits?!   How can I rectify this issue?
Title: Re: SA Knowledge Base
Post by: NBK*Twitch on May 02, 2012, 08:10:51 PM
Another great mod,made by a great mod maker.


I just tried this out and it works without issue.
Title: Re: SA Knowledge Base
Post by: tfs on May 03, 2012, 04:31:20 PM
Is this mod abandoned?  The author's website has been down for weeks, and he hasn't responded to a PM.
Title: Re: SA Knowledge Base
Post by: TheListener on May 07, 2012, 12:44:04 AM
AFAIK the latest support is at https://www.facebook.com/devsamods
Title: Re: SA Knowledge Base
Post by: tfs on May 09, 2012, 10:41:41 AM
The last entry I see on his Facebook page is April 11th.  Two days shy of a month old.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on May 16, 2012, 08:20:51 PM
Have taken over work/support of this mod.

What would help me out is if you any bugs that you know about why this modification let me know and I will try to get it fixed. Might back port it to 1.1.x as well not sure though.
Title: Re: SA Knowledge Base
Post by: GlitchPC on May 17, 2012, 09:32:47 AM
vbgamer45...

Thanks for taking this over.  I currently use it and have posted throughout this mod with issues I have come across, as well as feature requests.

I'm not quite sure how far the previous developer got with it...so, feel free to take a look at some of my comments throughout this thread.

One issue that stands out in my mind is that the social plugins (Facebook, Twitter, Google+) do not work...correctly, that is.

I'm currently using the latest version of the previous author's mod...along with SimplePortal 2.3.5 and SMF 2.0.2.
Title: Re: SA Knowledge Base
Post by: Iomega0318 on May 27, 2012, 05:11:12 AM
Does anyone have the latest version released before the site went down? I would like to install this.
Version RC1 R19
Title: Re: SA Knowledge Base
Post by: FrizzleFried on May 27, 2012, 11:16:04 AM
I do believe that is what is available here in the modifications area.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on May 27, 2012, 11:34:04 AM
Yes the latest version is the on on the mod site.
Title: Re: SA Knowledge Base
Post by: Iomega0318 on May 27, 2012, 05:17:12 PM
Yes the latest version is the on on the mod site.
Yeah I just noticed that, I hadn't realized you removed all of them and put up only the one needed lol.. I have another question though, since you took over all the SA mods, would you be interested in continuing development on the SA Downloads mod?
Title: Re: SA Knowledge Base
Post by: Iomega0318 on May 27, 2012, 08:32:09 PM
Also noticed a few misspellings, and one which isn't misspelled but annoys me..
If you use the "Clear Cache" option in the KB you get this:
Quote
Task Compleate
On the main admin page for the KB Highslide is spelled wrong:
Quote
Convert bbc img tags to highalide
And if you have already rated a topic and try to rate it again you get this:
Quote
you can only rate an article once
I think it should look a little nicer, like this:
Quote
You can only rate an article once.
Title: Re: SA Knowledge Base
Post by: SMFHacks.com Team on May 29, 2012, 01:53:51 AM
Also noticed a few misspellings, and one which isn't misspelled but annoys me..
If you use the "Clear Cache" option in the KB you get this:
Quote
Task Compleate
On the main admin page for the KB Highslide is spelled wrong:
Quote
Convert bbc img tags to highalide
And if you have already rated a topic and try to rate it again you get this:
Quote
you can only rate an article once
I think it should look a little nicer, like this:
Quote
You can only rate an article once.
Just fixed posted new updated. Fixed a bunch of spelling errors including the ones above.
Title: Re: SA Knowledge Base
Post by: dvk01 on May 29, 2012, 06:55:09 AM
is there any reason why html won't work with articles
or is it set to only use bbc code
Title: Re: SA Knowledge Base
Post by: SMFHacks.com Team on May 29, 2012, 08:29:12 AM
is there any reason why html won't work with articles
or is it set to only use bbc code
It is set to use only bbc code. HTML code is not allowed since users could enter html code that could cause a security issue.
Title: Re: SA Knowledge Base
Post by: FrizzleFried on May 29, 2012, 10:15:32 AM
One big issue I am having with the KB...

When I post an article and then come back to edit it... I've lost all formatting and instead it's all one huge long line with HTML BR codes for page breaks, etc.  It sure makes it a pain in the ass to edit.  Is this on the list of improvements?  Also,  it would be AWESOME to get the inline image mod to work with KB.

As for this update... my KB is slightly modified and I'd lose any mods I did by upgrading... does this version only correct spelling errors?  Any way to post the updates made so guys like me can go in and made a couple edits?
Title: Re: SA Knowledge Base
Post by: SMFHacks.com Team on May 29, 2012, 10:17:28 AM
For comparing updates I suggest using software such as beyond compare.
Also the main changes in the last update were just changes to the language file.
Title: Re: SA Knowledge Base
Post by: FrizzleFried on May 29, 2012, 10:32:17 AM
That is what I figured.... any plans on changing the way the editor works with KB?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on May 29, 2012, 11:00:06 AM
If there is bugs will try to get them fixed.
Title: Re: SA Knowledge Base
Post by: FrizzleFried on May 29, 2012, 12:49:40 PM
Not sure if it's a bug or if that is what the original author intended.

Here is a screenshot of what (was a nicely laid out post) turns in to when you go back to edit it.

(ignore the FANCYPOST BBC codes)

Code: [Select]
[table]
[width=56%]<br /><br />[catbar]Golden Tee Fore Complete / Silverstrike Bowling[/catbar][roundframe]<br />Original "A" condition HOME cabinet running the official switcher from IT.  25" monitor.  Nice!   It gets played more than any other game. <br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/FORESSB_AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Gorf[/catbar][roundframe]<br />Original "B+" condition.  This game looks pretty damn spiffy.  It's a control panel away from getting an "A" IMHO...<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/GORF-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]MAME Cabinet - Horizontal Upright[/catbar][roundframe]<br />Running a Core2Duo with MAME and Daphne running.  All menu driven.  No keyboard/mouse interaction necessary.  25"/27" KOAM cabinet.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/MAME-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]MAME Cabinet - Vertical Cocktail + Juke[/catbar][roundframe]<br />Running an AMD XP3200 with MAME and WinCab jukebox software.  This is my vertical MAME cabinet plus it has about 2000 albums on it.   <br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/COCKTAIL-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Marble Madness[/catbar][roundframe]<br />Restored "A" condition.  Beautiful.  And she plays awesome.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/MM_AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Multi-Kong[/catbar][roundframe]<br />Nintendo Donkey Kong Jr. cabinet with a Multi Kong theme running an Arcadeshop multigame board with only DK, DKJR, DK2, DK3 and Mario Brothers running.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/MULTIKONG_AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Multi-Pac[/catbar][roundframe]<br />Original "B" condition. Original Pac Man PCB running a 96-in-1.  The monitor could stand to be rebuilt.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/MULTIPAC-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Multipede[/catbar][roundframe]<br />Restored Centipede cabinet in "B" condition running an ArcadeSD multigame PCB.  It could stand a new 19" tube as the on in it is burned a bit.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/MULTIPEDE-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Neo-Geo 4-Slot[/catbar][roundframe]<br />Original "B+" condition.  Running a 161-in-1 multigame + 3 other titles (I have 7 carts in total).<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/NEO-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Omega Race[/catbar][roundframe]<br />All original though I have new side art to put on one day.  Looks fantastic!<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/OR_AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Outrun[/catbar][roundframe]<br />Original "B+" condition.  I also have a Turbo Outrun PCB which I swap in.  This game rocks ... especially with the High Score save kit for Outrun!<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/TO-AHADONE.jpg[/img][/roundframe]<br /><br />[catbar]Paperboy[/catbar][roundframe]<br />Project "C" condition.  Currently naked (no side art/paint/nothing) with new side art waiting to be put on.  The monitor needs a little help too.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/PB-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Race Drivin' Compact[/catbar][roundframe]<br />Original "B" condition.  The game plays awesome.  It's missing some of the side art but has been cut so as it looks OK.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/RD-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Rush: The Rock Alcatraz[/catbar][roundframe]<br />Original "B+" condition.  Brand new tri-res monitor in this bad boy.  The game plays AWESOME.  Typical wear at the sides of the seat.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/RTR-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Space Duel[/catbar][roundframe]<br />Original "A-" condition.  The game is in terrific shape and plays awesome.  <br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/SD_AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Star Castle[/catbar][roundframe]<br />Original "B" condition.  Unfortunately the same "lips" on this Cinematronics cab have each corner broken off.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/SC_AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Star Wars Upright[/catbar][roundframe]<br />Restored "A" condition.  New just about everything including multigame kit, marquee, yoke art, side art, front art, paint, t-molding... you name it.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/SWUR_AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Super Punch Out[/catbar][roundframe]<br />Restored "A" condition.  New everything pretty much... was a beat to crap PO originally.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/SPO-AHADONE.jpg[/img][width=140px][plainbox]<br />[menu][button active=true url=http://www.aha-forums.com/index.php?action=kb;area=article;cont=114]More Info/Photos[/button][/menu][/plainbox][width=56%][/roundframe]<br /><br />[catbar]Tempest[/catbar][roundframe]<br />Original "B" condition.  The marquee and CPO have been replaced.  Sides are original and the bottom 1/3 of the right side has seen some water causing "texture" on the side.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/TEMPEST_AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Williams Multigame[/catbar][roundframe]<br />Stargate cabinet painted black with Phoenix Arcade Williams Multigame artwork running a Pr0k Williams Multigame PCB.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/williams%20multigame/WILLIAMS_COMPARISON.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Wizard of Wor[/catbar][roundframe]<br />Restored "A" condition.  New paint, t-molding, side art, rebuilt stick, etc.. Very nice to look at.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/WOW-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Xenon Pinball Machine[/catbar][roundframe]<br />Original "B++" condition.  This Bally classic is in fantastic shape for it's age.  The best looking Xenon I've seen yet aside from fully restored models.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/XENON-AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Arachnid Super-Six Darts[/catbar][roundframe]<br />Original "B" condition.  This is your typical "BAR" electronic dart board in good shape overall. <br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/ARACH_AHADONE.jpg[/img]<br /><br />[/roundframe]<br /><br />[catbar]Seeburg "Disco" 45RPM record jukebox[/catbar][roundframe]<br />Original "B" condition.  Sounds nice but needs new drivers shortly.  I also need to re-cap it as well.<br /><br />[IMG]http://i197.photobucket.com/albums/aa111/PapaFriz/AHA/JUKE-AHADONE.jpg[/img]<br /><br />[/roundframe][/width]
Title: Re: SA Knowledge Base
Post by: udang_kara on June 02, 2012, 01:15:22 AM
hi guys

i've a forum. i'm successfully installed SA KB. But i wonder why it doesn't appear in menu bar. But when i logged on, its appear. Kindly to look in my forum www.fcbarcelona.my 

tq

p/s : sorry for my bad english
Title: Re: SA Knowledge Base
Post by: Iomega0318 on June 02, 2012, 07:12:14 AM
hi guys

i've a forum. i'm successfully installed SA KB. But i wonder why it doesn't appear in menu bar. But when i logged on, its appear. Kindly to look in my forum

tq

p/s : sorry for my bad english
You have to set the permissions for other users/guests to be able to see it, when first installed only Administrators can see it.
Title: Re: SA Knowledge Base
Post by: Kindred on June 02, 2012, 07:59:10 AM
Permissions
Title: Is there a way to order the articles in a category?
Post by: MrMike on June 23, 2012, 12:56:54 PM
Love this mod, very nice and very useful. Is there a way to order the articles in a category? I've been looking but don't see a way.

I know they can be sorted when browsing the category, but I'd like to set the initial order of the articles; for example, so I can place a "Getting Started" article as the first one in a category.

Is there a way to do this?
Title: Re: SA Knowledge Base
Post by: littlenicki on July 29, 2012, 03:38:24 AM
Hello, would somebody please backport this fantastic mod to SMF 1.1? Would be great to have it working on 1.1
Title: Re: SA Knowledge Base
Post by: Arantor on July 29, 2012, 08:40:53 AM
It would be a complete rewrite to work on 1.1.x.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on July 29, 2012, 08:42:38 AM
Check out SMF Articles close to the same thing as the knowledge base you can just relabel the text if needed for 1.1.x
Title: Re: SA Knowledge Base
Post by: littlenicki on July 29, 2012, 01:06:30 PM
Thanks for the hint!
Title: Re: SA Knowledge Base
Post by: MrMike on July 29, 2012, 01:15:20 PM
Does SMF Articles allow you to set the order of the articles themselves?

Check out SMF Articles close to the same thing as the knowledge base you can just relabel the text if needed for 1.1.x
Title: Re: SA Knowledge Base
Post by: vbgamer45 on July 29, 2012, 02:09:39 PM
No you can not change the order the articles are placed in
Title: Re: SA Knowledge Base
Post by: MrMike on July 29, 2012, 02:25:58 PM
No you can not change the order the articles are placed in

Dang. Can I request that as a feature to be considered for the next release?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on July 29, 2012, 02:33:51 PM
Yes just I have very limited time for additions at the moment.
Title: Re: SA Knowledge Base
Post by: novill on August 30, 2012, 09:08:33 AM
Great mod, thanks.
Attached hungarian translation.
Title: Re: SA Knowledge Base
Post by: SMFHacks.com Team on August 30, 2012, 09:08:58 AM
Thanks for the translation!
Title: Re: SA Knowledge Base
Post by: novill on August 30, 2012, 12:07:29 PM
I modified a few spelling mistakes in my translation.  (attached to my previous post)

Where can I allow users to add article to the knowledge base, but not to manage that?
Title: Re: SA Knowledge Base
Post by: novill on September 06, 2012, 12:14:22 PM
Where can I allow users to add article to the knowledge base, but not to manage that?


I have found the answer, i have to create a category, than in the category can i set the user permission. ;)
Title: Re: SA Knowledge Base
Post by: novill on September 15, 2012, 12:51:25 PM
Is it possible to display Simple Portal blocks around to the Knowledge Base?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on September 15, 2012, 01:13:35 PM
Possible but you would have to write the code for it.
Title: Re: SA Knowledge Base
Post by: novill on September 15, 2012, 01:15:58 PM
Unfortunately, i'm not a programmer. :(
Title: Re: SA Knowledge Base
Post by: novill on September 15, 2012, 03:49:04 PM
I have a small bug. My forum is not UTF 8 encoded (ISO-8859-2). When i add comment to the KB article, the comment is utf 8 encoded. I have tried in my test forum to change the language to utf 8, in that case the comment section works fine.

How can i fix this problem?

edit.: i have the same problem, when i write a article in the KB and i press the preview button. The preview picture is also utf 8 encoded.
I have checked the database, the database kb section is not utf encoded.
I really like this mod, this can be a good part of my forum. Thank you for your work, and your help.
Title: Re: SA Knowledge Base
Post by: tfs on September 18, 2012, 10:50:44 AM
Is it possible to display Simple Portal blocks around to the Knowledge Base?

You could try something like...

~action|kb

...in the Custom Display Options.
Title: Re: SA Knowledge Base
Post by: novill on September 19, 2012, 12:35:49 PM
This solution works, thank you tfs. :)



Have anyone a solutions to the comments encoding problem that i have?
Title: Re: SA Knowledge Base
Post by: novill on September 24, 2012, 07:22:58 AM
I have found another bug, when a member create a article and later edit his own article the system write the user ID to 0. The article will be published under the name of guest.

To the previous post is any idea to any one how can i make it working with ISO encoded forum.
Title: Re: SA Knowledge Base
Post by: SMFHacks.com Team on September 24, 2012, 07:49:43 PM
I have found another bug, when a member create a article and later edit his own article the system write the user ID to 0. The article will be published under the name of guest.


New update

1.0.2
!Fixed edit article going to guest
Title: Re: SA Knowledge Base
Post by: novill on September 25, 2012, 04:31:19 AM
Thanks for your help, i have updated with the new kb version. Than i have tried with my test user to edit a article and than i have a database error message.

The database value you're trying to insert does not exist: memid
Title: Re: SA Knowledge Base
Post by: vbgamer45 on September 25, 2012, 09:18:09 AM
Thanks for your help, i have updated with the new kb version. Than i have tried with my test user to edit a article and than i have a database error message.

The database value you're trying to insert does not exist: memid
New update posted
Title: Re: SA Knowledge Base
Post by: novill on September 25, 2012, 10:13:18 AM
Thanks that works.

Can you fix the other bug what i found? I have made a pair pictures to better understand the problem.

With ISO encoded characters translated forum.
When i press the preview button.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs16.postimage.org%2Fhl1bvap1t%2Fkb_error_1.jpg&hash=ff257d813274db7990a3e3544727a458) (http://postimage.org/image/hl1bvap1t/)

Comment section

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs17.postimage.org%2Fv1noddgjv%2Fkb_error_2_comment.jpg&hash=dc0e90252468a1b77d8c54191f56e814) (http://postimage.org/image/v1noddgjv/)

And when i turn the forum to UTF-8 characters encoded translation,
then works fine as you can see in the attached pictures.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs15.postimage.org%2Fotmk84q7b%2Fkb_error_1_UTF8.jpg&hash=4137b8984bc333bf48f196acb9eb11fc) (http://postimage.org/image/otmk84q7b/)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs18.postimage.org%2Foggxdh4wl%2Fkb_error_2_comment_UTF8.jpg&hash=83c6845451505875be3c1da4d1e0b665) (http://postimage.org/image/oggxdh4wl/)

Unfortunately my forum is ISO encoded, as most hungarian forum.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on September 25, 2012, 11:50:42 AM
That stuff I am not that good with unfortunately
Title: Re: SA Knowledge Base
Post by: novill on September 25, 2012, 02:44:50 PM
Sorry to hear that. :(

Anyway thanks for your help, i am grateful for your work.

I look to the future with great hope with this mod. In time will somebody find the solution to this problem to.

In the meantime is there a way to make a alphabet filtering system to it? Like to the attached pictures shows.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs11.postimage.org%2Fkvqsefrov%2Falfabetic.jpg&hash=07ddac6f043d704deb53acbe4ae70ed2) (http://postimage.org/image/kvqsefrov/)
Title: Re: SA Knowledge Base
Post by: bigjoe11a on October 07, 2012, 09:40:43 PM
Updating, I just fount out that I have version Beta 2 REV12 and there's a newer version 1.0.2a. How ever I tried to upload and update this package, and this option is missing. I didn't see any info about how to update this package. Can some one please tell me how to update to 1.0.2a. Thanks

Joe
Title: Re: SA Knowledge Base
Post by: Kindred on October 07, 2012, 10:08:54 PM
you will have to uninstall the old version and then install the new version.
Title: Re: SA Knowledge Base
Post by: bigjoe11a on October 07, 2012, 10:15:52 PM
Cool, I wasn't sure if when I uninstalled it. that it would remove all my work, Thanks. Just one more question. If I wanted to change a Permissions for a category. How would I do that. You have an option to add Permissions. You don't have an option to change or delete Permissions. That way we can add new ones. Change them or just delete them.

Joe
Title: Re: SA Knowledge Base
Post by: Kindred on October 08, 2012, 07:30:15 AM
not sure about that...
Title: Re: SA Knowledge Base
Post by: bigjoe11a on October 08, 2012, 09:36:25 AM
not sure about that...

Any ideas about how to change them or delete them. Sooner or later I will have too.
Title: Re: SA Knowledge Base
Post by: novill on October 08, 2012, 10:02:18 AM
If I wanted to change a Permissions for a category. How would I do that. You have an option to add Permissions. You don't have an option to change or delete Permissions. That way we can add new ones. Change them or just delete them.

You can change the permission by the category edit menu. I have checked if i give new permission to a group, that changed the edited category permission for the specified group.
Title: Re: SA Knowledge Base
Post by: bigjoe11a on October 08, 2012, 10:26:40 AM
Thanks, How ever after playing with it. I learned that if you go into the edit categories. Select the group you want to change and make any changes. and click save. It updates that group. So you can update it and give new permissions or what ever you wanted to do. You just can't remove it from the permissions list.
 
Title: Re: SA Knowledge Base
Post by: novill on November 03, 2012, 03:26:27 PM
If i want to add menu icon to the knowledge base, how can i make it? Which file must i modify, and how?

Other menu items icons can i modify in the subs.php file.

Code: (example) [Select]
'title' => '<img align="absMiddle" src="'. $settings['images_url']. '/menu_icons/comments.png" alt="'.$txt['todays_posts']. '"/>&nbsp; ' . $txt['todays_posts'],

Thanks for your help.
Title: Re: SA Knowledge Base
Post by: novill on November 14, 2012, 04:42:17 PM
For some reason google doesn't crawl my knowledge base, the other parts my forum is showing up in the google serp.

Allow search engines to index the knowledge page was enabled.
I have tried to disable this settings, but i have the same result.
Title: Re: SA Knowledge Base
Post by: SMFHacks.com Team on November 15, 2012, 09:04:31 PM
Try to make a sitemap for your knowledge base and submit to google.
It is up to google on what they choose to index or not.
Title: Re: SA Knowledge Base
Post by: novill on November 20, 2012, 03:29:40 PM
Have you any idea how can i create a sitemap to the KB?

And i have another question, where can i find the code to the setting  "Allow search engines to index the knowledge base."
I think this may be the problem that causes the noindex by the google bot.
Title: Re: SA Knowledge Base
Post by: novill on November 24, 2012, 03:00:06 PM
BUMP  ::)

Any idea?


Update:

I have found the mentioned section in the KB.

Code: (Sources\KB\KBMain.php) [Select]
//I am a robot
if(empty($modSettings['kb_search_engines']))
    $context['robot_no_index'] = true;

$context['canonical_url'] = $scripturl . '?action=kb';


What happens if i remove this part?

Or i write the true to false.
Code: [Select]
$context['robot_no_index'] = false;
Title: Re: SA Knowledge Base
Post by: vbgamer45 on November 25, 2012, 09:02:21 PM
Looks like a setting best bet just remove that code
Title: Re: SA Knowledge Base
Post by: pierrelogic on November 27, 2012, 12:18:42 AM
Back on page 5 of this thread I had a comment on this mod.  So jumping back in now.  Still using the FAQ mod from Suki but wanting to try this one out for a while.  Since my first post a few pages ago I've gotten more comfortable when manual intervention is required.  So here's my 2 questions.

1. Has anyone tried this mod while using Tiny Portal?  The mod is making some adjustments pretty close to some tportal code. not that it makes much difference but anything that close makes me cautious since tportal is vital on my forum.

During the dry tun install of the mod I get 2 warnings, both in the .index.php of my forum.

Quote
Code: (Find) [Select]
      // Action and board are both empty... BoardIndex!

Code: (Add Before) [Select]
      if (!empty($modSettings['kb_knowledge_only']) && $modSettings['kb_enabled'])
      {
         require_once($sourcedir . '/KB/KBMain.php');
          return 'KB';
      }

and....

Quote
Code: (Find) [Select]
      // Fall through to the board index then...
      require_once($sourcedir . '/BoardIndex.php');
      return 'BoardIndex';
Code: (Add Before) [Select]
      if (!empty($modSettings['kb_knowledge_only']) && $modSettings['kb_enabled'])
      {
         require_once($sourcedir . '/KB/KBMain.php');
          return 'KB';
      }

2. Just to make sure I do this in the right order, should I make the manual adjustments listed above first, over write the index.php file (via ftp) then try to perform the normal uninstall through the admin section of SMF or a different sequence here?

Thanks! 
Title: Re: SA Knowledge Base
Post by: vbgamer45 on November 27, 2012, 01:51:04 AM
Those two changes would be safe. If you get a warning manually make the change to the forum and should be ok.
Title: Re: SA Knowledge Base
Post by: SA™ on November 27, 2012, 01:27:58 PM
If you not using kb only mode you can just ignor them edits :)
Title: Re: SA Knowledge Base
Post by: novill on November 28, 2012, 12:14:00 PM
Code: (Sources\KB\KBMain.php) [Select]
//I am a robot

    $context['robot_no_index'] = true;

It's worked. :)
I have removed the quoted code, and now google has indexed the KB to.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on November 28, 2012, 04:49:02 PM
Awesome glad that worked so fast!
Title: Re: SA Knowledge Base
Post by: pierrelogic on November 29, 2012, 07:52:46 PM
Those two changes would be safe. If you get a warning manually make the change to the forum and should be ok.

Good news, and bad news.

After making the manual changes the uninstall of the other FAQ mod went well.  The new install of this mod went without a hitch too.  Bad news is I lost all the content that was sitting in the old FAQ mod.  I did make sure not delete the data when I uninstalled the FAQ mod.

Good thing is I made manual cut-n-paste back-ups of the FAQ contents.   8)  Not complaining here, just confirming when switching between these two mods the contents were wiped on my particular forum setup regardless of the confidence level I had prior to uninstalling the FAQ mod.  Also, it pays to be careful and backup things up old school sometimes.   ;D
Title: Re: SA Knowledge Base
Post by: pierrelogic on November 29, 2012, 08:26:19 PM
Those two changes would be safe. If you get a warning manually make the change to the forum and should be ok.

Good news, and bad news.

After making the manual changes the uninstall of the other FAQ mod went well.  The new install of this mod went without a hitch too.  Bad news is I lost all the content that was sitting in the old FAQ mod.  I did make sure not delete the data when I uninstalled the FAQ mod.

Good thing is I made manual cut-n-paste back-ups of the FAQ contents.   8)  Not complaining here, just confirming when switching between these two mods the contents were wiped on my particular forum setup regardless of the confidence level I had prior to uninstalling the FAQ mod.  Also, it pays to be careful and backup things up old school sometimes.   ;D

Never mind, I stand corrected.  While I was about to start pulling back in the information from the old FAQ mod I sort of stumbled on the part where you can import into the KB mod.   :-[  Then I had my own personal 'Holy Toledo' moment as I pulled in all the Tiny Portal articles and realized how incredibly useful this mod can be on our forum.  Was looking for a way to point people to events tied to our Calendar without simply posting on a forum board and having the critical info in the first post of the thread get lost with numerous replies.  This is going to allow users a simple & single click away from the articles in the Tiny Portal that contain all the information they'd ever need about the events. 

Funny how while playing with this mod I found a very cool way of utilizing the features.  Friggin' nice!!   ;D
Title: Re: SA Knowledge Base
Post by: SMFHacks.com Team on December 03, 2012, 12:32:23 PM
Glad you enjoy the mod!
Title: Re: SA Knowledge Base
Post by: teos55 on December 24, 2012, 11:45:48 AM
SMF 2.0.3  SP 2.3.5 Default theme curve  attachment question

 Instaled the mod cleanly, thanks for your efforts.

  In one of the articles, I wanted to add .xls file.  I added .xls type to config, configured the size as 3096kb.

 Windows 8 says the filesize is 748kb

 But I got error while adding :

"files size is larger than 3.02kb"

what am I doing wrong ?

nb. also facde the problem with a jpg file only 35kb.  so it is not specific to  .xls type
Title: Re: SA Knowledge Base
Post by: GlitchPC on December 26, 2012, 03:16:07 PM
Been a while since I posted here.  Uninstalled old version and installed new version without a hitch.  Only issue I have is cosmetic and I'm hoping to get this resolved.  I did it before...but, for the life of me...can't remember how I did it.

I'd like to remove the Knowledge Base menu tab from this mod and place it in the drop down of my Help menu.  Can anyone enlighten me on how to get this accomplished?

Thanks, in advance...

Edit...

I feel like a real putz.  After searching this thread I found the answer in one of my earlier posts.  Sorry...
Title: Re: SA Knowledge Base
Post by: vbgamer45 on December 26, 2012, 03:52:45 PM
Glad you got it working. Keep it bookmarked just in case in the future.
Title: Re: SA Knowledge Base
Post by: Skaty on January 08, 2013, 02:07:07 PM
It would be great if it has some features like this. is it possible ?

Add Article Number in Profile

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FLb8yw.png&hash=3fcb34801621416f46675bce684b3dbe)

Show Last Articles in Sidebar With Image (Entegred With Simple Portal Blocks

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FIFI5o.png&hash=62bdf08617ddd7d6a83595ad8c6702b0)
Title: Re: SA Knowledge Base
Post by: vbgamer45 on January 08, 2013, 03:25:51 PM
Possible to do just would need to write code.
Title: Re: SA Knowledge Base
Post by: Skaty on January 08, 2013, 03:35:14 PM
and Draft for looong articles :)


could be entegrated with this
http://custom.simplemachines.org/mods/index.php?mod=2621
Title: Re: SA Knowledge Base
Post by: novill on February 12, 2013, 03:40:32 PM
I switched the fancy box mod to Highslide 4 SMF mod, and now the knowledge base attached pictures are no more in thumbnail size. :(
The KB shows the pictures in original size, highslide is enabled.

How can i fix this problem?
Title: Re: SA Knowledge Base
Post by: novill on February 17, 2013, 05:17:04 AM
Any suggestion how can i fix this problem?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on February 17, 2013, 08:46:42 AM
Not sure really.
Title: Re: SA Knowledge Base
Post by: videoed on February 19, 2013, 05:45:54 PM
Hi,

I've got tons of HTML documents made in an independent Knowledge Base that I would love to integrate into SMF.

1. Is it possible to insert HTML code in SA KB articles? Yes... I'm fully aware of all the risks... I'm the admin of the forum and I've succesfully post the HTML content of the documents I'd like to transfer to SMF as "testing" post in the forum using the HTML tags (again, I would be THE ONLY ONE using html tags) However, those tags don't work for SA KB articles. Once all articles have been transfered I would use BBC as the normal writing method but, again, I would need to transfer HTML formatted documents. I've tried to convert HTML to BBC using Hoteditor (http://www.ecardmax.com/hoteditor/) then pasting the code generated into SA BK, but I'm not very happy with the result.

2. One of the reasons why I would like to move from my current independent KB into SMF is to make the SMF search function to "look" both into the forum posts and the KB articles. Is it possible to include the contents of SA KB in the search results? Just to complicate things further I'm currently using Sphinx as the search method in in my forum (I'm over 400,000 post)

I'm probably asking for the impossible, but thanks for reading anyway.

Bests,
Title: Re: SA Knowledge Base
Post by: vbgamer45 on February 19, 2013, 06:13:35 PM
1. You can probably do a database query or insert each record manually in the database.

2. That gets really complex normally for mods I generate a separate search page just for that mod.
Title: Re: SA Knowledge Base
Post by: videoed on February 19, 2013, 06:35:33 PM
1. You can probably do a database query or insert each record manually in the database.

Great! Worked like a charm!!! But I had to change the "Content" field from "TEXT" to "MEDIUMTEXT" because many of my document got "cut" before the end.

Quote
2. That gets really complex normally for mods I generate a separate search page just for that mod.

I'm not really sure of having understood what you meant, but even before I asked I knew that was going to be a difficult request.

Thanks so much for taking the trouble to reply. You've been most helpful. Even if the "search" cannot be combined now at least I will be able to integrate my existing documents in my forum.

THANKS!!!
Title: Re: SA Knowledge Base
Post by: Capt. John on March 26, 2013, 07:40:00 PM
BUMP:

Is there anyone to put Knowledge base articles in my Simple Portal Frontpage?

Instead of using topics already made, I would like to use the articles in the knowledge base-to clarifiy.

Site address: www.pumping-iron.netau.net

Thank you :)
Title: Re: SA Knowledge Base
Post by: TheListener on March 26, 2013, 07:42:14 PM
Why not use the Portal pages?

Easier if you know at least some coding.
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 31, 2013, 07:38:34 AM
I have a Facebook page and want to use links on this page that redirect people to specific Knowledge Base articles.  However, when I copy and paste the link in a FB status box...and a user clicks it, it redirects them to the forum's homepage and not the article itself.

Is this an issue with the mod...or, is it the way Facebook handles external links?
Title: Re: SA Knowledge Base
Post by: Kindred on March 31, 2013, 07:56:45 AM
a) I believe that  facebook chokes on one of the characters...  like ; & or ?
and b) did you make the KB available to guests?
Title: Re: SA Knowledge Base
Post by: GlitchPC on March 31, 2013, 08:22:38 AM
Thanks, for the quick r eply.

So...it IS a Facebook issue then?

b)  Yes, the KB is viewable for "Guests".
Title: Re: SA Knowledge Base
Post by: vbgamer45 on March 31, 2013, 01:18:29 PM
Facebook doesn't like links with ; I belive.
Title: Re: SA Knowledge Base
Post by: SA™ on March 31, 2013, 03:02:51 PM
yes it is a facebook problem  howeever it is possible rebuild the links comming from fb

this mod should do the trick
http://custom.simplemachines.org/mods/index.php?mod=3601
Title: Re: SA Knowledge Base
Post by: kevin.michiels on May 12, 2013, 09:00:10 AM
This mod is great.
Many thanks !!
just got this question :
When I create a category and give it a title name, i can add <b>and </b> for example.
It will show correctly on the category overview page.
But it will not show up correctly once u clicked on the cat. Then the top title gives the code instead of the rendered bold text.

This is why normal topic titles can't be styled either I guess.
Now my question is : Can I edit the mods code so "bold" is a standard title style?
Title: Re: SA Knowledge Base
Post by: Kindred on May 12, 2013, 09:35:15 AM
yes.

firefix+firebug is your friend to find what CSS is used for any specific location
Title: Re: SA Knowledge Base
Post by: kevin.michiels on May 12, 2013, 11:36:17 AM
I can only find general a link code that i can edit.. Which makes it change on whole my forum..
There was not used any specific class for that title...
How could I solve this? Php? and where could I find it?
Title: Re: SA Knowledge Base
Post by: SA™ on May 13, 2013, 08:40:35 AM
i think the part your looking for is

'title' => $catname['name'],

in kb_veiwall.php line 73

'title' => '<strong>'.$catname['name'].'</strong>',
Title: Re: SA Knowledge Base
Post by: kevin.michiels on May 15, 2013, 03:13:55 PM
i think the part your looking for is

'title' => $catname['name'],

in kb_veiwall.php line 73

'title' => '<strong>'.$catname['name'].'</strong>',
Thanks but this change did not work. But yes that is what I mean :)
Also another question :p
Is it possible to make articles listed in alphabetical order by default?
Title: Re: SA Knowledge Base
Post by: MrMike on May 15, 2013, 08:57:34 PM
Is it possible to make articles listed in alphabetical order by default?

Sure, you'd just need to change the ORDER clause in the sql (or add one if not present).
Title: Re: SA Knowledge Base
Post by: kevin.michiels on May 16, 2013, 11:35:00 AM
Is it possible to make articles listed in alphabetical order by default?

Sure, you'd just need to change the ORDER clause in the sql (or add one if not present).

In the db at kb_articles i got the following :
Title: Re: SA Knowledge Base
Post by: MrMike on May 16, 2013, 12:08:22 PM
I'd guess that you'd want to change the query to ORDER by the "title" column.
Title: Re: SA Knowledge Base
Post by: kevin.michiels on May 16, 2013, 05:15:16 PM
I'd guess that you'd want to change the query to ORDER by the "title" column.
ok I tried putting the query inside 'sql' and I get as a result the correct articles on alphabetic order. Which is good.

Now I want it to show on my forum.
So I need to change the query inside the kb code?? and where can I find that?

Thanks for the support already !!
Title: Re: SA Knowledge Base
Post by: SA™ on May 16, 2013, 06:19:11 PM
KBVeiw_all.php

Code: [Select]
'default_sort_col' => 'kbnid',
replace with

Code: [Select]
'default_sort_col' => 'title',
your done  ;D
Title: Re: SA Knowledge Base
Post by: MrMike on May 16, 2013, 09:10:46 PM
Beat me to it. SA™ is the man! :)
Title: Re: SA Knowledge Base
Post by: kevin.michiels on May 17, 2013, 08:33:40 AM
Lol, when i do that query, it gives me from "z to a" instead of "a to z" :p
Title: Re: SA Knowledge Base
Post by: SA™ on May 17, 2013, 09:51:20 AM
same file
 try this
find

Code: [Select]
'default' => 'title DESC',
'reverse' => 'title',

replace with

Code: [Select]
'default' => 'title ',
'reverse' => 'title DESC',
Title: Re: SA Knowledge Base
Post by: MrMike on May 17, 2013, 12:08:52 PM
Then insert an ORDER clause that reads 'ORDER BY title ASC' or modify the query to include the 'ASC' part.

Lol, when i do that query, it gives me from "z to a" instead of "a to z" :p
Title: Re: SA Knowledge Base
Post by: Arantor on May 17, 2013, 12:11:00 PM
MrMike: What SA is saying is exactly that. He uses the GenericList system in SMF which accepts parameters rather than complete queries. It already has an ORDER clause in it and he posted the instructions to change that definition.

Or perhaps changing the default_sort_dir directive as well as the default_sort_col directive. GenericLists are complex beasts.
Title: Re: SA Knowledge Base
Post by: kevin.michiels on May 17, 2013, 12:52:52 PM
same file
 try this
find

Code: [Select]
'default' => 'title DESC',
'reverse' => 'title',

replace with

Code: [Select]
'default' => 'title ',
'reverse' => 'title DESC',

This worked like a charm !
Many Many thanks, all u guys !! really appreciated :p
You'll probably see me again here in some time for some other requests hehe xD
Thanks !
Title: Re: SA Knowledge Base
Post by: Draffi on May 17, 2013, 08:43:09 PM
Please, can somebody help?

Is there a way, to show picture inside the text - not only at the end ?

I mean Inline Pictures...
Title: Re: SA Knowledge Base
Post by: Kindred on May 17, 2013, 09:27:27 PM
did you try using the img bbcode tag?
Title: Re: SA Knowledge Base
Post by: kevin.michiels on May 24, 2013, 09:52:13 AM
Is it possible to pin one specific article at the top ?
Like you have a sticky topic ?

I know there is featured article, but thats just displayed at the main page.. I want one article in a sub category be placed at the top.. pinned..

Hope you guys can help me out ? ;)
Title: Re: SA Knowledge Base
Post by: Kindred on May 24, 2013, 09:56:21 AM
I do not believe this mod allows sticky topics
Title: Re: SA Knowledge Base
Post by: vbgamer45 on May 24, 2013, 11:32:59 AM
No sticky articles/topics at this time.
Title: Re: SA Knowledge Base
Post by: gerbil on July 16, 2013, 09:35:49 AM
many thanks for this mod its exactly what i have been looking for

i just need to learn how to work the permissions as i can only get the KB button in the menu when logged in as an admin.

Im sure i will get this soon though. in addition im using simple portal and together im sure will give me the tools i need to expand info

i had tried other things but for what i want it looks just the job.

ive been using smf for about 18 months and starting to get the hang of it  ;D

regards

gerbil
Title: Re: SA Knowledge Base
Post by: elf_fu on September 13, 2013, 03:43:56 AM
I'm having a small problem after installation where users (Chrome, Firefox, IE, AOL) visit a KB page, and the page is blank. Members have to refresh to make it work. No errors or issues when installed.

Does anyone have any idea what may contribute to this/a mod that might have made this happen? And how I might fix it?

SMF 2.0.5
SA Knowledge Base 1.0.2a
Title: Re: SA Knowledge Base
Post by: vbgamer45 on October 12, 2013, 03:37:39 PM
I'm having a small problem after installation where users (Chrome, Firefox, IE, AOL) visit a KB page, and the page is blank. Members have to refresh to make it work. No errors or issues when installed.

Does anyone have any idea what may contribute to this/a mod that might have made this happen? And how I might fix it?

SMF 2.0.5
SA Knowledge Base 1.0.2a
Does it happen to guests to? Or only members. Also check your forum's error log for related errors
Title: Re: SA Knowledge Base
Post by: elf_fu on October 17, 2013, 02:37:25 PM
Hi vbgamer! Please forgive me for taking so long to reply to you. First, thanks for the response!

Second: here's the odd thing, now that I am using a different theme: Back n' Black, I don't seem to be having this issue. I am using that theme for Halloween, usually the default is Argentum 2 Enhanced. I turned on Error reporting after your suggestion and have let it run a while and do not seem to find any errors pertaining to Knowledge Base right now.

I am stumped then, as to what would be the error in another theme that might have been causing this.
Title: Re: SA Knowledge Base
Post by: swt4ajp on October 30, 2013, 05:39:55 PM
Hey Guys

I have installed the SA Knowledge Base mod on a test community (running the latest smf 2.0.6)
I had no issues with installing the mod and going to the settings, Where I have the issue is creating a category.

It gives me the following error

Field 'count' doesn't have a default value
File: %LocalFolderRemoved%\Sources\KB\KBSubs.php
Line: 206

The only thing I can see on line 206 is      );

Every other setting I can change and use

Please help
Title: Re: SA Knowledge Base
Post by: taurus on January 27, 2014, 03:00:44 PM
Hi there
i just translated the SA mod to Portuguese PT non UTF8 version. Do you want the file ?

Regards
Title: Re: SA Knowledge Base
Post by: Bruno36 on January 29, 2014, 04:05:46 AM
Hello! when I click in the Item menu I have an error message: Access Denied
http://www.scooter-chinois-4t.com/board/articles/
Title: Re: SA Knowledge Base
Post by: margarett on January 29, 2014, 04:30:46 AM
Could be just a permissions issue, could be Pretty-URLs related.
Try to go to Pretty URLs configuration and add the action "articles" to the list of ignored actions.
Title: Re: SA Knowledge Base
Post by: never_1007 on February 18, 2014, 05:20:18 PM
Hi SA,

I'm also getting this when I tried adding a category:

Field 'count' doesn't have a default value
File: %root%\Sources\KB\KBSubs.php
Line: 206

Please help.

Title: Re: SA Knowledge Base
Post by: emanuele on February 23, 2014, 09:57:29 AM
Yes swt4ajp and never_1007, there are probably several of these problems.
I think the only reliable fix is to fix the installer like this:
https://github.com/emanuele45/SA_Knowledge_Base/commit/1a30e423f13600ac590aba8359234b4ce32116f1

I run also into a:
Code: [Select]
Field 'thumbnail' doesn't have a default value
File: /KB/KBEdit_Add.php
Line: 777  <= The line value is not representative of the real place the error is occurring.

 INSERT INTO smf_kb_attachments(`id_article`, `filename`, `date`, `filesize`)
 VALUES
 (7, '1393167191-mockup--screen2.jpg', '1393167191', '591085')
while trying t use the attachments.
To fix that, I did instead:
https://github.com/emanuele45/SA_Knowledge_Base/commit/beb2de3ebb12aab33f5b3f1673527d4abdf9e129
Title: Re: SA Knowledge Base
Post by: oroedel on February 24, 2014, 07:39:29 PM
smf 2.0.7 attachements doesn´t work!? Clicking on attechments, nothing happened. No error, simply nothing...
Title: Re: SA Knowledge Base
Post by: Editor321 on March 26, 2014, 09:49:34 PM
Hey there,

Really want to try out this mod but I'm getting a strange error after I install and go to view the Knowledge Base:

Parse error: syntax error, unexpected '/' in .../Themes/default/KB.template.php on line 1158


Any help would be greatly appreciated.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on March 26, 2014, 10:07:32 PM
Just posted an update to fix that issue redownload
Title: Re: SA Knowledge Base
Post by: Editor321 on March 26, 2014, 10:22:36 PM
Thanks for the quick reply and the fix! The mod displays, but I have another question, I cannot seem to attach anything when I post an article. I click the link next to the paperclip but nothing happens. Is this a WIP feature or am I missing something?

Also, the add comment on an article does not seem to work either, maybe an issue with JS?
Title: Re: SA Knowledge Base
Post by: eyeofalpaca on April 04, 2014, 12:59:18 AM
Wonderful Job on this Mod! I have a question though, I'm using this as a database for a collection. Would there be an easy way to add a bookmark for individual users. So that each member could keep track of their collection by adding it their page or list. Also have this list or page viewable on their profile? That would be great if you could explain how I could add such a feature to it. Thanks again for this great mod!
Title: Re: SA Knowledge Base
Post by: SA™ on April 04, 2014, 03:55:53 PM
Wonderful Job on this Mod! I have a question though, I'm using this as a database for a collection. Would there be an easy way to add a bookmark for individual users. So that each member could keep track of their collection by adding it their page or list. Also have this list or page viewable on their profile? That would be great if you could explain how I could add such a feature to it. Thanks again for this great mod!

this mod already adds a new page in the users profile to show the users articles
Title: Re: SA Knowledge Base
Post by: eyeofalpaca on April 04, 2014, 06:58:19 PM
Thanks for the quick reply, I noticed it has a page for the users articles that they add. I was wondering if there was a way the user's could add someone else's articles to a favorite list or maybe a add to collection button that would allow them to keep track of which in this case would be the users fighters they have in their collection.
Title: Re: SA Knowledge Base
Post by: SA™ on April 04, 2014, 07:00:35 PM
the mod does not have that feature
Title: Re: SA Knowledge Base
Post by: eyeofalpaca on April 05, 2014, 01:49:09 AM
Do you know of any mods that are similar to what I'm trying to achieve? I would like members to be able to manage their collection of fighters by adding them to their list or collection. Any help would be greatly appreciated. I have been searching but haven't had any luck.
Title: Re: SA Knowledge Base
Post by: Kindred on April 05, 2014, 07:37:07 AM
look at emanuele's collections mod.

I don't know if he ever completely finished it (it was a WIP, never fully submitted to the mod site) but what he did make seemed to work well
Title: Re: SA Knowledge Base
Post by: eyeofalpaca on April 05, 2014, 05:49:44 PM
Thanks for the info I tried that mod out and it doesn't work for what I'm trying to accomplish. Would there be any way to add a button in KB to add to collection then have those that were added appear as a collection tab for each user?
Title: Re: SA Knowledge Base
Post by: Kindred on April 05, 2014, 06:04:45 PM
not easily...   you are trying to shoehorn a knowledgebase into your collection design -- and it's not intended to do that.
Title: Re: SA Knowledge Base
Post by: eyeofalpaca on April 05, 2014, 06:31:00 PM
True, I don't think there is a mod published on the site that would handle collections for 2.0.7 SMF. This is the closest one I have come across.
Title: Re: SA Knowledge Base
Post by: oroedel on April 17, 2014, 07:27:55 PM
could you please answer the attechment question, it seems it´s not only a problem in my installation
Title: Re: SA Knowledge Base
Post by: mrrhino27 on September 08, 2014, 06:57:39 AM
The attachments button quite literally does nothing. It successfully installed on my custom themes, but it doesn't show/unhide the attachments block. So i sit there vigorously trying to get it to show. Please fix? looks like a jquery error.
Title: Re: SA Knowledge Base
Post by: Kindred on September 08, 2014, 08:19:13 AM
since the attachments seem to work just fine for me, I would have to assume that you have a javascript conflict between this mod and some other mod that uses javascript.

use firebug to determine what is causing the conflict..   but I as successfully able to see and use the attachments feature on the site which I admin.
Title: Re: SA Knowledge Base
Post by: mrrhino27 on September 08, 2014, 09:17:13 AM
Hey Kindred.

I did attempt to use firebug to find out what was causing the issue, but it did seem very confusing. (I'm certainly no developer). Would you mind testing it out on the theme "Wrap" (http://custom.simplemachines.org/themes/index.php?lemma=2808) and see if you have the same issue?
Title: Re: SA Knowledge Base
Post by: mrrhino27 on September 09, 2014, 10:17:50 PM
I've done some more playing around, and found that i get this error when i press the "Attachment" button. "Use of getPreventDefault() is deprecated.  Use defaultPrevented instead." Where can i change this?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on September 09, 2014, 10:24:23 PM
It looks like it is part of jquery
https://www.google.com/?gws_rd=ssl#safe=off&q=getPreventDefault()+is+deprecated
Title: Re: SA Knowledge Base
Post by: Kindred on September 09, 2014, 10:35:09 PM
And again...  Not something that I can replicate on a working forum.  The knowledge base and attachments within the kb work just fine for me on 2.0.8.   Which suggests that your problem is, as I said... Conflicting java scripts


I have not had time to go to test installing a theme and this mod...  But it seems pretty clear that SOMETHING is conflicting on your site.
Title: Re: SA Knowledge Base
Post by: mrrhino27 on September 09, 2014, 10:53:16 PM
I did try removing all of my mods, with no luck. It's just odd it works fine on other themes, just not the Wrap one. :/
Title: Re: SA Knowledge Base
Post by: vbgamer45 on September 09, 2014, 11:00:07 PM
Probably using an outdated version of jquery on that theme.
Title: Re: SA Knowledge Base
Post by: mrrhino27 on September 09, 2014, 11:04:37 PM
I'm guessing there isn't a way to update it myself?
Title: SA Knowledge Base Bug?
Post by: MrMike on December 12, 2014, 11:56:39 AM
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:

Code: [Select]
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.
Title: Re: SA Knowledge Base
Post by: 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()
Title: Re: SA Knowledge Base
Post by: MrMike on December 12, 2014, 01:06:04 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...?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on December 12, 2014, 02:06:18 PM
You can just replace the kbsubs.php
Title: Re: SA Knowledge Base
Post by: MrMike on December 12, 2014, 02:18:12 PM
You can just replace the kbsubs.php

Thanks, VB, it worked like a charm.

Title: Re: SA Knowledge Base
Post by: vbgamer45 on December 12, 2014, 02:19:26 PM
Glad it helped.
Title: Re: SA Knowledge Base
Post by: windstar on October 07, 2015, 07:27:42 AM
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
Title: Re: SA Knowledge Base
Post by: vbgamer45 on October 07, 2015, 08:38:24 AM
It only supports images at this time.
Title: Re: SA Knowledge Base
Post by: windstar on October 08, 2015, 05:27:19 AM
thats a pity  :-[
Anyway thanks for answer.
Title: Re: SA Knowledge Base
Post by: icehawke on October 14, 2015, 07:28:09 PM
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?
Title: Re: SA Knowledge Base
Post by: 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
Title: Re: SA Knowledge Base
Post by: icehawke on October 15, 2015, 12:06:48 PM
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.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on October 15, 2015, 12:11:56 PM
Glad to help.
Title: Re: SA Knowledge Base
Post by: Kindred on October 15, 2015, 01:11:14 PM
problem  -- Illegal offset 'name'


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

Code: [Select]
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(
Title: Re: SA Knowledge Base
Post by: vbgamer45 on October 15, 2015, 03:03:58 PM
Every category get that error? IN the same line. Odd because it is used before that as well..
Title: Re: SA Knowledge Base
Post by: Sigyn on December 23, 2015, 11:11:01 PM
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?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on December 23, 2015, 11:56:45 PM
themes/default/languages/modifications.english.php that is where it stored.
Title: Re: SA Knowledge Base
Post by: Sigyn on December 24, 2015, 12:57:15 AM
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?
Title: Re: SA Knowledge Base
Post by: Kindred on December 24, 2015, 08:49:29 AM
edit the STRING/TEXT portion, not the CODE/variable name portion....
Title: Re: SA Knowledge Base
Post by: Sigyn on December 24, 2015, 10:15:28 AM
edit the STRING/TEXT portion, not the CODE/variable name portion....
I searched the file I was told to look in and the name wasn't there. It seems Knowledge Base has it's  own file  KB.english.php in that place where I found the file I was told to change.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on December 24, 2015, 01:21:05 PM
That might be the case
Title: Re: SA Knowledge Base
Post by: heikkilarson on February 03, 2016, 07:17:46 AM
Great work on this awesome mod! :)

Does anybody know how to change the 'simple search' function so that it searches the body of each article instead of just the titles?
Title: Re: SA Knowledge Base
Post by: Melissa524 on February 16, 2016, 08:48:11 PM
I can't figure out how to give members permission to add articles with out giving them the manage permission.  I have tried to add it through the categories, but that doesn't seem to work either. 
Title: Re: SA Knowledge Base
Post by: vbgamer45 on February 16, 2016, 09:06:48 PM
For a knowledge base only admins can write articles.

If you want an articles mod check out my SMF Articles mod.
Title: Re: SA Knowledge Base
Post by: Tones on September 30, 2016, 10:25:57 PM
I don't know if anyone else has had this error, or if it can be reproduced.

Quote
2: Illegal string offset 'name'
File: /../../../Sources/KB/KBView_All.php
Line: 73

line 73 is the last line in the snippet
Code: [Select]
    $list_options = array(
'id' => 'kb_know',
'title' => $catname['name'],

I'm only getting this error in my log when viewing a category parent (containing a sub category). But not when viewing either top level category with no subs, or a sub category.
Title: Re: SA Knowledge Base
Post by: aegersz on October 11, 2016, 04:57:06 PM
cannot Add comment (admin) ... is this a bug?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on October 11, 2016, 05:45:58 PM
Check permissions first?
Title: Re: SA Knowledge Base
Post by: aegersz on October 11, 2016, 06:11:53 PM
but i am admin - doesn't that mean i have access to all permissions ?

absolutely nothing happens when i click on it.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on October 11, 2016, 06:16:12 PM
hmm. will have to look into when I have time. I did not make the mod originally.
Title: Re: SA Knowledge Base
Post by: aegersz on October 11, 2016, 06:24:55 PM
thank you tending to someone else's mod -- it's no biggie, i only noticed it today and i thought i should report it.
Title: Re: SA Knowledge Base
Post by: iaccountant on December 20, 2016, 11:50:10 AM
I am starting to play with SMF Articles and SA Knowledgebase on a test site. Both by the same authors so I am combining this querry

First off, kudos for what I see as a great functional extension to a forum. I can see this as a useful feature for any on line community of practice, which is where I am heading in deploying SMF. 

It appears neither one can notify the forum there is a new article or KB items that has just been published. So this is either done manually via a dedicated "announcement board" or a user has to actually go via the respective menu to get to the index and see for themselves what is there

Am I missing a setting or is this simply not a feature?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on December 20, 2016, 01:11:45 PM
Currently we do not have a notify feature for either modification at this time.
Title: Re: SA Knowledge Base
Post by: iaccountant on December 20, 2016, 04:29:07 PM
Thanks VBGamer and the entire SMGhacks team ---this is still a pretty good mod. I like to stay away from them because then the "core forum" gets more intricate and more things can go wrong---but these could change my mind

On my test site I simply created a new thread for Articles on a News Board, stickied the table of contents with links to the article, and I can create a news item for new articles....so no big deal. I was hoping I had not missed anything in the settings.

Ciao
Title: Re: SA Knowledge Base
Post by: MrMike on December 20, 2016, 05:06:15 PM
I've not looked at the code but I'd guess that it wouldn't be too hard to hack a notify function into it.

Find the code that publishes the article and add an email trigger, or use the SMF API (http://wiki.simplemachines.org/smf/SMF_API) to place a PM into the admin's private message queue.

Title: Re: SA Knowledge Base
Post by: iaccountant on December 20, 2016, 09:41:51 PM
Actually, what I was hoping for was a notification similar to what you see in "latest posts" that appears next to the thread on the board list, and at the bottom of the forum.

But my manual work around does exactly that...plus I pin a post that has the an article table of contents where each entry links directly to the article.

Not a big deal to set up or maintain...
Title: Re: SA Knowledge Base
Post by: macrob on March 04, 2017, 09:59:14 AM
How to enable simple HTML? I want to use simple table with border code. Is it possible?
Title: Re: SA Knowledge Base
Post by: SaltedWeb on November 26, 2017, 09:40:35 PM
Is there a way for the knowledge base to be seen by guest ?

Thanks
Title: Re: SA Knowledge Base
Post by: Kindred on November 26, 2017, 11:14:04 PM
Yes, give the guest user permission to view the kb
Title: Re: SA Knowledge Base
Post by: SaltedWeb on November 26, 2017, 11:56:17 PM
 I guess I should have looked and seen if there was a user setting.
Thanks Kindred... 8)
Title: Re: SA Knowledge Base
Post by: Parmaster on January 31, 2018, 04:11:52 AM
Hi!

In my forum I use this mod: https://custom.simplemachines.org/mods/index.php?mod=2925

I need to use it in the KB too but I'm not sure what to do. Do I only need to copy the js file into the kb directory, or is there something more to do?

Kind Regards
Title: Re: SA Knowledge Base
Post by: vbgamer45 on January 31, 2018, 08:35:20 AM
Just install via the package manager takes care of it all.
Title: Re: SA Knowledge Base
Post by: Parmaster on January 31, 2018, 08:44:00 AM
No it doesn't, that's the reason why I asked. In an article in the KB is the normal code bbc active.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on January 31, 2018, 08:46:00 AM
What is not working?
Title: Re: SA Knowledge Base
Post by: Parmaster on January 31, 2018, 09:08:05 AM
The mod for sytnax highlighting https://custom.simplemachines.org/mods/index.php?mod=2925 works perfectly in the forum, but not in the kb.
My question was, what I have to do to make it in the kb too.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on January 31, 2018, 09:14:19 AM
Not sure I guess add the calls from syntax highlighting to the kb code somewhere?
Title: Re: SA Knowledge Base
Post by: Parmaster on January 31, 2018, 09:56:03 AM
Not sure what you're asking.

How to add the calls from the mod to kb? That's the question I asked.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on January 31, 2018, 10:42:08 AM
I don't know anything about that mod. I would have to research it but i don't have the time for that.
Title: Re: SA Knowledge Base
Post by: Parmaster on January 31, 2018, 11:30:20 AM
Well, I ask the other mod author for help.
Title: Re: SA Knowledge Base
Post by: thrawn75 on March 27, 2018, 01:20:17 PM
Is it possible to pin/fix sort order for articles? I'd like to have a specific order of articles within a category - it seems it sorts them by ID desc.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on March 27, 2018, 01:22:44 PM
Not possible currently it is by the ID Desc
Title: Re: SA Knowledge Base
Post by: Cruiser79 on May 30, 2018, 09:21:43 AM
Hello All.

I am running SMF 2.0.15 and when trying to install SA KB via package manager, I get a failure.

It cannot seem to find
Code: [Select]
// Action and board are both empty... BoardIndex! in index.php so it can add before
Code: [Select]
if (!empty($modSettings['kb_knowledge_only']) && $modSettings['kb_enabled'])
{
require_once($sourcedir . '/KB/KBMain.php');
    return 'KB';
}

Any solutions?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on May 30, 2018, 09:22:41 AM
Check the original SMF install files then find the similar area in your code
Title: Re: SA Knowledge Base
Post by: Cruiser79 on May 30, 2018, 09:29:07 AM
Thank you for your quick response.

I did before I posted here, nothing similar.
Title: Re: SA Knowledge Base
Post by: Kindred on May 30, 2018, 10:01:18 AM
I guarantee that it is there unless something else removed it
Title: Re: SA Knowledge Base
Post by: vbgamer45 on May 30, 2018, 11:47:34 AM
It's in this code area in index.php
Code: [Select]
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn'))))
{
require_once($sourcedir . '/Subs-Auth.php');
return 'KickGuest';
}
elseif (empty($_REQUEST['action']))
{
// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}
// Topic is empty, and action is empty.... MessageIndex!
elseif (empty($topic))
{
require_once($sourcedir . '/MessageIndex.php');
return 'MessageIndex';
}
// Board is not empty... topic is not empty... action is empty.. Display!
else
{
require_once($sourcedir . '/Display.php');
return 'Display';
}
}
Title: Re: SA Knowledge Base
Post by: Cruiser79 on May 31, 2018, 08:56:34 AM
Thank you all, indeed it was missing.

I added the missing part and finished the installation through package manager. Up and working!
Title: Re: SA Knowledge Base
Post by: Sir Osis of Liver on September 06, 2018, 12:34:10 AM
SA KB 1.2 running in 2.0.15, php 5.6.37, default Curve, causes registration captcha image to not display -

 (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.thekrashsite.com%2Fpics%2Fcaptcha.jpg&hash=96209a78f66ecda07d1ee7be5599b0c0)

Confirmed on two installs, same server, different domains.  Is there a fix?

Does not cause this problem when installed in clean test install with scratch database.
Title: Re: SA Knowledge Base
Post by: vbgamer45 on September 06, 2018, 12:49:38 AM
Do you have a link to the site that it occurs on?
Title: Re: SA Knowledge Base
Post by: Sir Osis of Liver on September 06, 2018, 12:50:34 AM
Does not cause this problem when installed in clean test install with scratch database.

http://www.taxboard.ca/forum/
Title: Re: SA Knowledge Base
Post by: vbgamer45 on September 06, 2018, 12:54:56 AM
And if uninstall it goes away?
Title: Re: SA Knowledge Base
Post by: Sir Osis of Liver on September 06, 2018, 12:57:17 AM
Yes, every time.  If I connect clean test install to production database, image doesn't load.

Ok, I'm getting confused. ???  If I connect clean install to production db, image displays.  Uploading clean set of files didn't fix it.


It's definitely the mod.  Going offline, will recommend using something other than captcha.  If there's a fix, let me know.

Title: Re: SA Knowledge Base
Post by: Sir Osis of Liver on September 06, 2018, 06:35:33 PM
FYI - Found the problem.  If forum language is set for English UTF-8, installing KB will cause captcha image to fail.  Doesn't matter if db is utf-8 or not.  Try it.

Title: Re: SA Knowledge Base
Post by: vbgamer45 on September 06, 2018, 10:13:06 PM
Very strange.i checked the utf8 and normal language file they look the same
Title: Re: SA Knowledge Base
Post by: Sir Osis of Liver on September 07, 2018, 12:20:03 AM
May be a setting problem, rather than any difference in the language files.  Fixed both production forums by resetting language back to default english, and am able to replicate glitch on my server.
Title: Re: SA Knowledge Base
Post by: tfs on February 07, 2019, 03:55:10 PM
I'm using SA Kbase 1.2. When I upgrade my hosting package to PHP 7.1 I get the following in the error logs.

Code: [Select]
https://www.xyz.com/index.php?action=helpdesk;sa=tickets
2: Parameter 1 to KB_ob() expected to be a reference, value given


Code: [Select]
https://www.xyz.com/index.php?action=kb;area=cats;cat=6
2: Parameter 1 to shd_buffer_replace() expected to be a reference, value given


Code: [Select]
https://www.xyz.com/index.php?action=kb;area=cats;cat=6
2: Parameter 1 to KB_ob() expected to be a reference, value given


Code: [Select]
https://www.xyz.com/index.php?action=kb;area=cats;cat=6
8192: mktime(): You should be using the time() function instead
File: /xyz/Themes/default/KB.template.php
Line: 1365

Is this something that is a problem with SA Knowledge Base 1.2?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on February 07, 2019, 04:09:49 PM
Yes it is a bug due to new php version
Title: Re: SA Knowledge Base
Post by: tfs on February 07, 2019, 11:50:41 PM
Hi VB. Ionos,  formerly 1&1, is starting to charge extra per month to support PHP 5.6 and 7.0. Any chance you’ll be able to update the knowledge base to support PHP 7.1 or 7.2?
Title: Re: SA Knowledge Base
Post by: SMFHacks.com Team on February 08, 2019, 12:51:24 AM
2.0
!Fixed some issues for PHP 7
!Removed google plus social icon
!Fixed twitter and facebook social icons to be https://
Title: Re: SA Knowledge Base
Post by: tfs on February 08, 2019, 11:10:04 AM
Thank you SO much! I'll give it a try and report back.
Title: Re: SA Knowledge Base
Post by: tfs on February 16, 2019, 01:24:38 PM
2.0
!Fixed some issues for PHP 7
!Removed google plus social icon
!Fixed twitter and facebook social icons to be https://

Confirm that PHP 7.1 no longer giving KB_ob() log errors. Thanks!
Title: Re: SA Knowledge Base
Post by: vbgamer45 on February 16, 2019, 02:18:09 PM
Awesome good to know!
Title: Re: SA Knowledge Base
Post by: Kindred on April 06, 2019, 01:16:48 AM
got a question for you...

I have this installed in three systems now.
In every system, I get the following errors

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

Every single time.
and it;s ALWAYS Cat=2
none of the other categories generate this error.

Any ideas?
Title: Re: SA Knowledge Base
Post by: vbgamer45 on April 06, 2019, 01:28:27 PM
Copy this to sources folder and let me know if that fixes the issue
Title: Re: SA Knowledge Base
Post by: Kindred on April 08, 2019, 09:19:08 PM
that does seem to fix it at first test....
Title: Re: SA Knowledge Base
Post by: vbgamer45 on April 08, 2019, 09:20:46 PM
Great will post the update.
It's an issue with subcategories that used the same global variable removed it from globals and now works well.
Title: Re: SA Knowledge Base
Post by: SMFHacks.com Team on April 08, 2019, 10:13:55 PM
2.1
!Fixed issue with error for certain categories with subcategories