[ABD] Knowledge Base 0.2.14

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Mini Knowledge Base

Post by RedTrinity » Wed Nov 14, 2007 4:04 am

.:: Chico ::. wrote: i found one untranslated to english. Search for any words that exist in an article and will show it:
"Gefunden in: Artistas"

In english (maybe): "Found in: Category Name"
Ooh I missed that one. Will hunt it down now and re-upload ;) Thanks Chico!

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Mini Knowledge Base

Post by RedTrinity » Wed Nov 14, 2007 4:13 am

Ok found it, 2 more changes made in file kb_search.html. Have added this one to the zip package in my earlier post, along with another small change in kb.php.

I think that is all of it - will keep an eye out for anything else that needs changing translation-wise.

Cheers :)

Edited to add - another couple of translation changes to permissions_kb.php, have added to zip file.

.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [BETA] Mini Knowledge Base

Post by .:: Chico ::. » Wed Nov 14, 2007 4:34 am

RedTrinity wrote:Ok found it, 2 more changes made in file kb_search.html. Have added this one to the zip package in my earlier post, along with another small change in kb.php.

I think that is all of it - will keep an eye out for anything else that needs changing translation-wise.

Cheers :)

Edited to add - another couple of translation changes to permissions_kb.php, have added to zip file.
Great,
i uploaded all files.

All working fine!
thanks

bosss
Registered User
Posts: 118
Joined: Sat Jun 30, 2007 11:36 am

Re: [BETA] Mini Knowledge Base

Post by bosss » Wed Nov 14, 2007 10:17 am

hello!

Have upload changed files but still have same errors!

Code: Select all

Statistika
{ CONT_ARTIKEL }: 0 • { CONT_CAT }: 1 • { NEWEST_ARTICLE }: 0

and same in ACP!
have reinstalled modules and cleared cache few times!

Bosss


edit: maybe those mistakes come because i make that in my database

Code: Select all

ALTER TABLE `phpbb3_kb_artikel` ADD `artikel_time` VARCHAR( 14 ) NOT NULL ;
ALTER TABLE `phpbb3_kb_artikel` ADD `enable_bbcode` TINYINT( 1 ) NOT NULL AFTER `bbcode_options` ;
ALTER TABLE `phpbb3_kb_artikel` ADD `enable_smilies` TINYINT( 1 ) NOT NULL AFTER `bbcode_options` ;
ALTER TABLE `phpbb3_kb_artikel` ADD `enable_magic_url` TINYINT( 1 ) NOT NULL AFTER `bbcode_options` ;
Bosss

Sisem
Registered User
Posts: 121
Joined: Fri May 25, 2007 11:52 am

Re: [BETA] Mini Knowledge Base

Post by Sisem » Wed Nov 14, 2007 12:22 pm

Nice work on the translation files!

One slight error tho:

This line: 'ADD_ARTIKEL' => 'Add an article',

Should say: 'KB_ADD_ARTIKEL' => 'Add an article',

In the kb.php file, else you don't get the Add an Article text at the bottom of the page, just the var name.

Sisem

EDIT: Same goes for: KB_ARTIKEL_TITLE, KB_ARTIKEL_DESCRIPTION and KB_CAT all needing the 'kb_'.

bosss
Registered User
Posts: 118
Joined: Sat Jun 30, 2007 11:36 am

Re: [BETA] Mini Knowledge Base

Post by bosss » Wed Nov 14, 2007 12:38 pm

what i must to do to fix that ? Image
same here Image

Bosss

ghettowboy
Registered User
Posts: 216
Joined: Tue Jun 12, 2007 3:53 pm

Re: [BETA] Mini Knowledge Base

Post by ghettowboy » Wed Nov 14, 2007 2:05 pm

that simply looks like either you forgot the language file edits.... or they didn't take... i would go through again and make sure that you made the right edits an such for that..

User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [BETA] Mini Knowledge Base

Post by tas2580 » Wed Nov 14, 2007 4:30 pm

OK, I have added all missing variables in language file and made a update.

To update to new version there is another SQL Querry

Code: Select all

ALTER TABLE `phpbb3_kb_artikel` ADD `page_uri` VARCHAR( 255 ) NOT NULL ;
Also there are some new thinks. I have renamed the folder /artikel/ to /knowledge/ because it's more international, but you can rename the folder in what ever you whant, just open the kb_config.php and change

Code: Select all

define('KB_FOLDER',		'knowledge');
this is the name of the folder for the knowledge base.

Then I have added something for beter SEO, you can give a filename to every article, open the kb_config.php and set

Code: Select all

define('KB_SEO',			false);
to

Code: Select all

define('KB_SEO',			true);
after that you can enter a filename by editing a article. If a article has no filename the normal way will be used and the article will be opend by his ID (kb_show.php?id=123). Articles with filenames will be opend by .../filename.html. To use this feature your server need to support mod_rewrite.

I have made the configuation with a config file and not by ACP, because you shuld not change it later.

If someone has language files, pleace send it to me or post it here so I can add them with the next version.

bosss
Registered User
Posts: 118
Joined: Sat Jun 30, 2007 11:36 am

Re: [BETA] Mini Knowledge Base

Post by bosss » Wed Nov 14, 2007 5:17 pm

Thanks - now works fine !

Bosss

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Mini Knowledge Base

Post by RedTrinity » Thu Nov 15, 2007 1:52 am

tas2580 wrote: If someone has language files, pleace send it to me or post it here so I can add them with the next version.
Hi Tas,

One of my posts on the previous page is linked to a ZIP file with all english-related updates, if that is what you are after :)

User avatar
tas2580
Registered User
Posts: 295
Joined: Wed May 30, 2007 1:56 am
Location: Stuttgart, Germany
Contact:

Re: [BETA] Mini Knowledge Base

Post by tas2580 » Thu Nov 15, 2007 5:43 pm

So next update :)

To update you need 2 SQL querrys

Code: Select all

CREATE TABLE `phpbb_kb_config` (
`index_topics` INT( 2 ) NOT NULL ,
`kb_description` TEXT NOT NULL ,
`kb_title` VARCHAR( 255 ) NOT NULL
);
and

Code: Select all

ALTER TABLE `phpbb_kb_artikel` ADD `hits` INT NOT NULL AFTER `ID` ;
Then open the includes/constants.php and find

Code: Select all

define('KB_MAIN_CAT_TABLE',            $table_prefix . 'kb_main_cat  ');
after add

Code: Select all

define('KB_CONFIG_TABLE',            $table_prefix . 'kb_config');
Then replace all files with the new one, also some files in the update are complete new.
After that you can install a new module in ACP for the configuration.
One Suggestion:
I'm gonna use this with a lot of information, and, as we can see in your demo here: http://www.gameserveradmin.de/artikel/, the sub-categories have a few articles, but in my case, i'm gonna have it a lot. The suggestion is: the subcategorie display the last new addition and have a limite, example: 5, and after a button with "see all articles" or something like that. Got it :?: In this way, 1 subcategorie could have a lot of articles.
This is done with the update, every subcategorie have a own page witch lists all articles in it. In the index are only the last articles (how mutch you can config in ACP).

Thanks to RedTrinity for english translation.

frechdaxx
Registered User
Posts: 96
Joined: Tue Apr 10, 2007 1:56 pm
Contact:

Re: [BETA] Mini Knowledge Base

Post by frechdaxx » Thu Nov 15, 2007 6:42 pm

I'm looking for a mod, which i can use for posting lyrics, so i got some feature requests ;) Can articles have a parent category? So if i post an article i can define a category..if another user posts an article and uses that category the article will automatically assinged to an overview of that category. maybe the urls can also be like that, domain.tld/category/article.html? I hope you know what i mean, if not, just let me know

User avatar
digitalchaos13
Registered User
Posts: 91
Joined: Sun Sep 23, 2007 4:24 pm

Re: [BETA] Mini Knowledge Base

Post by digitalchaos13 » Thu Nov 15, 2007 8:37 pm

I was still having problems finding were to activate the articles.
So I edited the kbposting.php file.

changed

Code: Select all

		'aktiv'							=> request_var('aktiv', 0)
to

Code: Select all

		'aktiv'							=> request_var('aktiv', 1)
automatically adds the articles.

Hope that helps others.

.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [BETA] Mini Knowledge Base

Post by .:: Chico ::. » Sun Nov 18, 2007 11:58 pm

digitalchaos13 wrote:I was still having problems finding were to activate the articles.
So I edited the kbposting.php file.

changed

Code: Select all

		'aktiv'							=> request_var('aktiv', 0)
to

Code: Select all

		'aktiv'							=> request_var('aktiv', 1)
automatically adds the articles.

Hope that helps others.
to active articles, you need to give moderators permission, so the MCP will appear and there have the option to add the article.

Tas2580,
i'm gonna translated this when final version is out, because i was translating this, but many changes were made. ;)

EDIT
This is done with the update, every subcategorie have a own page witch lists all articles in it. In the index are only the last articles (how mutch you can config in ACP).
:D I'm very happy with this upgrade. Thanks to listen my idea!! ;)

Maybe now, you can remove this "mini" word from the mod name, because now we have something big and really great!

Thank you again, Tas!

User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3476
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Re: [BETA] Mini Knowledge Base

Post by bonelifer » Mon Nov 19, 2007 5:46 am

Could you change this to not count the Article Author on views. Counting it can over inflate views, since many authors might need to change things later.

kb_show.php

Code: Select all

// Update views, but not for bots
if (!$user->data['is_bot'])
{
	$sql = 'UPDATE ' . ARTIKEL_TABLE . '
		SET hits = hits + 1
		WHERE ID = ' . $row['ID'];
	$db->sql_query($sql);
}
Also, the overall_header edit doesn't look good on FF, it does on IE (because, IE fudges on presenting the code).

Replace this code:

Code: Select all

<strong>&bull;</strong> <a href="{U_KB}" title="{L_KB}" accesskey="k">{L_KB}</a>
With this code:

Code: Select all

	<li><strong>&bull;</strong> <a href="{U_KB}" title="{L_KB}" accesskey="k">{L_KB}</a></li>
When you search on the main page the results come up like this.

Gefunden in:

I assume that should be "Found in:"

Also I have a question why are the Module names in German? Shouldn't those be included in the language files and then pulled based on the users language settings?

Also shouldn't the Configuration page have it's own text in its header. Currently it has the same header as the Sub category page, ie it currently has this:
Sub category

Here you can create and edit sub categories for the Knowledge Base articles.

One last thing. In the DIY instructions you should add this so that people know where to add the permissions.

ACP -->> Permissions -->> Groups' Permissions' -->> Select Group -->> Advanced Permissions --> Knowledge Base Tab

ACP -->> Permissions -->> Global Moderators --> Advanced Permissions --> Knowledge Base Tab
Knowledge Base | phpBB Board Rules | Search Customisation Database
Image
Please don't contact me via PM or email for phpBB support .

Locked

Return to “[3.0.x] Abandoned MODs”