Extension talk:Forum extension/Archive 1

I like it wery mach (on your Wiki)! Can You test it under 1.5? And ofcouse add native language support. (i`m ready to help with eanglish & russian translation)


 * It should work on MW 1.5, because it is using it's own tables, the only MW Table used is the users Table. For NLS I have to review the Code, exchanging every hardcoded bit of text whith it's corresponding NLS call. After that you can translate it easily in your MediaWiki Namespace. But it will take time, I've a lot of work todo, at the moment, so it could take up to 6 weeks, anyway I will make a tar available for download, next few days. ;-) Zem 13:56, 23 January 2006 (UTC)


 * I whait with patience--T O X I N 11:51, 24 January 2006 (UTC)


 * I added some localisation yesterday the original messages are still in german, but you can use the MediaWiki: namespace to localize it. All messages used are preset in extensions/Forum.php I thought about an extension tag to link a discussion thread directly into a discussion page, but it is still unwritten. ;-) Zem 18:19, 29 January 2006 (UTC)

Request for source code
I'd like to request your source code for this extension so that I may use on my own wiki. Thanks for your time. --64.243.177.194 19:34, 26 January 2006 (UTC)


 * The source code is available now! :) Zem 18:19, 29 January 2006 (UTC)

Moved from front page
Hi, overall, it is a nice extension and fits my needs... I found a small bug because a user is not able to edit his own contributions with the appropriate buttons (edit/delete). Calling the function renderArticleButtons from ForumClass.php, a variable ($user_name) is missing.

Therefore, the request if the current user is the author goes wrong. What I have done:

added value at call function renderArticleButtons ($id, $thread, $user_name); and in function showThread(..., this was added: ''$output.=$this->renderArticleButtons($row->id, $thread, $row->user_name);''.

I'm not a real php-coder, just someone, who tinkers around, so I want to ask for some more functions:
 * Could the issues be searchable (added to the wiki search)?
 * Could you set up an rss-feed of entries and replies or
 * extend the extension for having a modul to show new entries?

Thanks, Peter

Error
Special:Forum gives me a MySQL error:

(SQL query hidden)

from within function "". MySQL returned error "1064: You have an error in your SQL syntax;

check the manual that corresponds to your MySQL server version for the right syntax to use near '50 LIMIT 0' at line 4 (localhost)".

I can call Special:WriteArticle but posting it Special:WriteArticle&action=post gives me a 404 :(

Doesn't work
If I include the extension in LocalSettings.php and load it, the following error appears (german wiki):

SELECT id, user_name, topic, relevance, article_count FROM forum_thread LEFT JOIN `user` ON user_id = user ORDER BY relevance DESC 50 LIMIT 0 aus der Funktion „“. MySQL meldete den Fehler „1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '50 LIMIT 0' at line 4 (localhost)“.

What should I do?