Extension talk:WikiForum/Archive

Please report WikiForum bugs on the Bugzilla rather than on this page.

WikiForum link in the toolbox
is there a way to Move the WikiForum link out from the Toolbox area —The preceding unsigned comment was added by Lynxcub (talk • contribs). Please sign your posts with ~ !


 * Not really. If you don't like it, you can always comment out the appropriate  line in WikiForum.php. --Jack Phoenix (Contact) 21:40, 20 May 2011 (UTC)

No access to mysql command line
I'm on godaddy hosting and they do not allow access to their mysql database from outside their network, as i've been told by a representative. I've never had to add tables to a mysql database via the phpMyAdmin interface.

What should i enter for the field name and number of entries in the 'Create new table on database' section? -June 5, 2011 —The preceding unsigned comment was added by 24.140.145.42 (talk • contribs). Please sign your posts with ~ !


 * You don't need to create a new database. Instead, open phpMyAdmin and go to the existing MediaWiki database. Select the "SQL" tab and paste the queries from wikiforum.sql into that input field, replacing  with the value of $wgDBprefix (or if you don't use $wgDBprefix, you can just delete the   comment, it doesn't matter) and   with the value of $wgDBTableOptions and then press the submit button. --Jack Phoenix (Contact) 14:31, 8 June 2011 (UTC)

sql errors
I've gotten the tables installed, but i get this error on the Special:WikiForum page

Database error A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "WikiForumClass::showOverview". Database returned error "1146: Table 'MYDATABASE.mw_wikiforum_category' doesn't exist (MYDATABASE.db.6835840.hostedresource.com)".

-22:50 EST 6/7/2011 —The preceding unsigned comment was added by 24.140.145.42 (talk • contribs). Please sign your posts with ~ !


 * Apparently you didn't do it correctly. My guess is that you forgot the $wgDBprefix from the queries. --Jack Phoenix (Contact) 14:31, 8 June 2011 (UTC)


 * Maybe?  Problem Solved! The tables were improperly named when they were created, and needed to have 'mw_' added to the beginning of each.  Seems to be working now. 24.140.145.42 23:01, 9 June 2011 (UTC)

smiles
in the original wikiforum there is a link "show list of smiles/icons", which shows the smiles if the ones have been configured. how can i do the same with this wikiforum? --Erithion 08:56, 17 June 2011 (UTC)


 * You can't, at least not at the moment. WikiForum's smiley support is something that I need to clean up and test; I really want to get rid of that $wgWikiForumSmilies global variable, as it's not a flexible way to configure smilies (since it means that site administrators cannot edit them). --Jack Phoenix (Contact) 14:08, 30 June 2011 (UTC)
 * ok, I see. thanks for your reply --Erithion 21:40, 30 June 2011 (UTC)

email notifications
I've noticed that there's no email notification on any replies, no way to watch the thread etc. Is it something that I missed in config or notifications are just absent indeed? --Erithion 21:57, 30 June 2011 (UTC)

Small/Configurable "New Entries" for the Main Page
Is there a way to config the  tag? I need a smaller, unobtrusive output for the main page (i.e. a link with the title and date of the tree newest entries). Thank you in advance! --129.206.90.2 15:18, 14 July 2011 (UTC)

Tweaks to wikiforum.sql for SQLite
I had to make the following updates create the necessary tables in SQLite 3.7.5 (via the Firefox SQLite Manager extension) --74.70.123.165 18:07, 26 August 2011 (UTC)
 * Change int(10) to INTEGER
 * Change AUTO_INCREMENT to AUTOINCREMENT

Error: Non-string key given
Hi

We have MW 1.17 installed and we want to use this cool extension. Unfortunately the following error message appears, after we deleted a thread: Non-string key given

Backtrace:


 * 0 C:\wrs\www\w\includes\GlobalFunctions.php(781): MessageCache->get(NULL, true, Object(Language))
 * 1 C:\wrs\www\w\includes\GlobalFunctions.php(902): wfMsgGetKey(NULL, true, Object(Language), false)
 * 2 C:\wrs\www\w\languages\Language.php(513): wfMsgExt(NULL, Array)
 * 3 C:\wrs\www\w\languages\Language.php(525): Language->getMessageFromDB(NULL)
 * 4 C:\wrs\www\w\languages\Language.php(799): Language->getMonthName(false)
 * 5 C:\wrs\www\w\languages\Language.php(1560): Language->sprintfDate('H:i, j F Y', false)
 * 6 C:\wrs\www\w\extensions\WikiForum\WikiForumClass.php(1187): Language->timeanddate('2147483647????')
 * 7 C:\wrs\www\w\extensions\WikiForum\SpecialWikiForum.php(321): WikiForumClass->showOverview
 * 8 C:\wrs\www\w\includes\SpecialPage.php(578): WikiForum->execute(NULL)
 * 9 C:\wrs\www\w\includes\Wiki.php(251): SpecialPage::executePath(Object(Title))
 * 1) 10 C:\wrs\www\w\includes\Wiki.php(63): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
 * 2) 11 C:\wrs\www\w\index.php(114): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
 * 3) 12 {main}

What could be the problem? Thx, Dorian & Erwan --193.247.250.35 10:59, 4 September 2011 (UTC)


 * Problem resolved by us - this is no issue any more! Dorian & Erwan --91.137.20.132 07:36, 8 September 2011 (UTC)

How do you resolve the problem?? 10:57, 3 November 2011 (UTC)

PostgreSQL 8.4.8
Prompt how to install please WikiForum having database PostgreSQL if it generally is possible.

Excuse for the bad English.

Spam Protection
My wiki was recently found by a number of spam bots. While there were plugins to stop them from generating lots of spam topics and editing articles, these plugins did not stop them from adding junk topics in the forums. How might I stop this? 164.107.85.71 17:54, 14 September 2011 (UTC)


 * I beleive that setting  in the LocalSettings.php disables annonymous posting, which should bring down spam posts with a user verification system.  I cannot confirm this as my forums are 'broken'.  Jacobcia 01:04, 10 November 2011 (UTC)

$this in Linker.php
Adding a new thread I get this error: Line 175 is: $target = $this->normaliseSpecialPage( $target ); Can some one help me?

I got the same error here, can anybody help? --193.16.163.243 11:27, 7 November 2011 (UTC)

I also have the same problem. I am using mediawiki 1.17. Any suggestions? --87.202.73.87 12:27, 14 November 2011 (UTC)
 * I believe that I may have located the problem and found a simple solution. The problem is in line 175 of Linker.php :  which is inside public function link of class Linker. That function is called by WikiForumClass.php on line 2349. That part is as follows  From what I understand, that part of the code calls function link of Linker class without creating a Linker instance. Hence the error Using $this when not in object context. I changed the code to  This way a new instance of Linker class gets created and its link function is called. So now you do have an object and you are using $this in object context. I haven't tested it fully yet but so far it seems to do the trick. Please try it out give feedback. by sf42--87.202.73.87 12:52, 14 November 2011 (UTC)

Integrate with SocialProfile
Is there a way to make it so that when users post, create threads, etc, that they could earn points in Extension:SocialProfile? i dont know enough about programming to make it work on my own... 00:02, 7 November 2011 (UTC)