Extension talk:AWC's Forum
Add topicHello all...
Please direct your questions, comments or problems to my forum, i rarely make it to this page, sorry.
--AWC 03:39, 25 April 2010 (UTC)
I have created/added this Mediawiki extension page of the behalf of AWC, after working with him to test and debug his latest version of this Forum extension for Mediawiki, and as he is very busy, I will endevour to document as much as possible for him, for the benefit of the community, due to my in depth knowledge of this extension as a result of using the current/previous v1.2, and helping debug and test v2.0
If you have any questions, please feel free follow the link on the extension page, under 'support', to AWC's forum pages. Alternatively, ask here, and he may choose to answer if he has the time, or I will try to do so myself.
Database error again
[edit]I know someone else posted a similar question and after a reinstall everything worked fine. However, I had the same error pop up and I've tried reinstalling it several times and I still get the same error. I replaced the updated files from version 2.4.3 but this didn't fix the problem. Here's some info to give you a better idea of what's going on:
Product Version
MediaWiki 1.15.0
PHP 5.2.8 (cgi-fcgi)
MySQL 5.0.27-community-nt
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
CREATE TABLE IF NOT EXISTS `dv_awc_f_emotions` ( `e_ID` int(11) NOT NULL auto_increment, `e_code` varchar(255) NULL default '', `e_pic` varchar(255) NULL default '', PRIMARY KEY (`e_ID`) ) TYPE=MyISAM;.
from within function "". MySQL returned error "1142: CREATE command denied to user 'dvAdmin'@'localhost' for table 'dv_awc_f_emotions' (localhost)".
Images won't display in the forum threads.
[edit]Any idea why? 76.200.162.169 08:35, 26 July 2009 (UTC)
--HTPCnz 01:28, 6 April 2008 (UTC)
Admin Issue
[edit]I can't get into the admin control panel. Though I'm a Sysop and have (succesfully) installed the extension. The first thing is that there's no link to the ACP anywhere and by going to /wiki/Special:AWCforum/?action=admin directly, I get
Nope - Admin
Nothing else. I understand that it does test for UserPermissions,
if(UserPerm != 10) die("Nope - Admin");
however I cannot figure out where that constant is set
OK, I see, I need to be in the bureaucrates group as well.
--212.186.14.47 11:12, 15 May 2009 (UTC)
User group issues
[edit]When trying to view the forum, I'm getting this message:
The action you have requested is limited to users in one of the groups Users, Sysops, partner, NVS.
Only Bureaucrats can access the forum. Not even SysOps. I've restricted anonymous access, can this be the cause? I've tried setting all permissions to true in perms.php with no result.
Martin - 85.83.79.48 13:19, 4 May 2009 (UTC)
I have exactly the same problem. It would be great if somebody has an idea. -- Tkrueger73 12:36, 27 September 2009 (UTC)
Same trouble... I have tried a couple of thinks without results... Everybody Sysop ? :) Lol313 11:37, 26 January 2010 (UTC)
SOLVEDÂ !!! Put your rules in LocalSettings.php and not in perm.php (Kepp a perm.php, even empty, or you will get crash of your Mediawiki)Â ! As simple as that... Lol313 08:31, 27 January 2010 (UTC)
Problem
[edit]Message just after installation :
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /xxxxxx/xx/xxxxxxx/htdocs/1.9-1.11_installer.php on line 273
Warning: fopen(http://anotherwebcom.com/app_count.php?app=WikiForum_UnInstall&url=anotherwebcom.com/1.9-1.11_installer.php) [function.fopen]: failed to open stream: no suitable wrapper could be found in /xxxxxx/xx/xxxxxxx/htdocs/1.9-1.11_installer.php on line 273
And when I try to write a new message :
Fatal error: Call to a member function getTitle() on a non-object in /homepages/xx/xxxxxxxx/htdocs/includes/EditPage.php on line 92
AWC's Response
[edit]The installer is being worked on right now.
In the release of 2.3 (in a few days) that will be fixed. That fopen() error will not have an effect on the forums operation, its just simple bug in the installer. Your forum installed fine.
As for the EditPage.php error, i will look into this, perhaps your using MediaWiki 1.12; if so, maybe this will help.
--AWC 19:00, 13 April 2008 (UTC)
After doing a little research the following error will be fixed in the 2.3 release.
Fatal error: Call to a member function getTitle() on a non-object in /homepages/xx/xxxxxxxx/htdocs/includes/EditPage.php on line 92
There will be no need to edit any files, the 2.3 release will work "out of the box" on MediaWiki 1.12 fine. Testing it right now.
--AWC 00:05, 14 April 2008 (UTC)
Update v2.3
[edit]2.3 has been released, fully tested on 1.12, the error mentioned above has been fixed with out editing any of MediaWiki's files.
More Info and the Download
--AWC 04:00, 14 April 2008 (UTC)
Problem
[edit]Thanks for your response ! I have tested 2.3 with Mediawiki 1.12, and all work, but member options doesn't. So, I have edited EditPage.php, and all work fine now. 83.205.245.159 07:39, 14 April 2008 (UTC)
AWC's Response
[edit]Sorry about that, will fix it now. Forgot about that file.
Will "post" back here when new upload will be ready. --AWC 07:53, 14 April 2008 (UTC)
Ok... new download is ready. I did not change the version number being that 2.3 has only been released for a few hours and not many have downloaded it. If you download it again, you do not have to run the update-installer if you do not feel like it, if you do run it no harm will be done, it will do nothing. Sorry for the inconvenience. Editing Wiki files to fix an extension's error does not seam right to me and your going to have a broken extension again once you update your Wiki. Anyway, good luck and hope you enjoy the forum.
--AWC 08:09, 14 April 2008 (UTC)
OK. Works fine. Thanks ! 86.202.53.147 08:32, 29 April 2008 (UTC)
Update v2.3.1
[edit]Has been released, Update
Full Install is in the Right menu.
Mail function
[edit]Hi AWC.
Will you want to add E-mail function for this great extension in the future?--Roc michael 15:47, 22 April 2008 (UTC)
This might sound odd, but you are the first to ask :-)
Will add it to the suggestion page and we'll see what happens. Im pretty sure the next "big addition" will be a PM system, but when that will be i do not know.
--AWC 05:07, 24 April 2008 (UTC)
- Oh yes a PM system would be appreciated. See my user page for ideas. --Subfader 21:08, 11 July 2008 (UTC)
I can't login the test wiki system
[edit]Hi AWC.
When I try to create a account as"Roc_michael" in the system. I will go to the page. When I finish the register and get an e-mail. I still can't log into the wiki. Could you give me a hand?--Roc michael 15:24, 26 April 2008 (UTC)
Log in Ok
[edit]I've loged in the wiki--Roc michael 15:35, 26 April 2008 (UTC)
Just sent you a PM about this. --AWC 04:17, 27 April 2008 (UTC)
Email, when a new thread be found
[edit]Could it be possible that when a new thread be found, the man who is in charge of the forum will get an email to notice him dealing with the thread? Then, we can manage a forum easily.
On the other hand, if this extension can force the threads belonging to a specific forum use a specific template, we can use Todo Tasks Extension to Email the manager of the forum.
Not like a extension, It really likes a real forum software. It almost makes me give up using phpbb in the future if it have email function. I want to say it combine the functions of Miedaiwiki and forum perfectly and it's a great work! --Roc michael 23:16, 26 April 2008 (UTC)
AWC's Response
[edit]You can add your suggestions here. Like said above, a PM system will in in place soon, that is the next thing i will be working on. I will make a note of a forum Moderation that will approve threads when added.I will look into what you are saying about the 'Todo Tasks' Extension, ive never heard of it. Down the line... way down the line i would like to have little forum "mod's" which can intraget other MediaWiki extensions to work with the forum, but this is something which will not be working for a long time and is just an idea as of now.
Update v2.3.3
[edit]Has been released, Update
Full Install is in the Right menu.
Thread pages
[edit]On a thread with multiples pages, the navigation buttons (Jump to page 123 Next 5 Last) of pages is visible only at the bottom of the page. There should be one at the top of the thread page too. Great extension, keep the good work. Rhcastilhos 02:27, 29 April 2008 (UTC)
- We originally had those page links/tabs available at both the top and bottom of the page, but the top page links/tabs were causing problems so they were removed.
- Maybe AWC will come back to it if you add this as a request on the bugs/suggestions thread in the testing forums...but right now, he is busy working on the next big new features...Private Messaging, and Forum/Thread Subscriptions...as well as many other smaller changes and additions. --HTPCnz 11:37, 29 April 2008 (UTC)
AWC's Response
[edit]Hello Rhcastilhos.
I do not rember the reason why (i think it was design probelms) but the Page Jump Tabs where takin off the top. Alot of things have changed since then, i will look into adding them again on the forums thread listing page and also at the top of threads themselves.
AWC 15:48, 2 May 2008 (UTC)
Some change requirements about Chinese
[edit]Hi AWC.
Please see here.--Roc michael 23:46, 2 May 2008 (UTC)
forum_info tag
[edit]What are the options for the <forum_info> tag? I couldn't find anything in any of the documentation. I'm interested in (e.g.) transcluding posts (or listings of posts) from a specific thread into a wiki page, showing the latest forum activity... things like that. Thanks! --Woozle 22:01, 13 May 2008 (UTC)
- Hi Woozle the documentation is here: http://examples.anotherwebcom.com/wikis/MediaWiki/Forum_Tag you could look this feature request too: http://examples.anotherwebcom.com/wikis/MediaWiki/Special:AWCforum/?action=st%2Fid557%2FForum_tag_feature_request
- Thanks for this "Latest Posts". --Subfader
=> 404, SORRYÂ ! HELP?
Hide forum from latest posts?
[edit]Is it possible to hide a certain forum from the latest posts via the forum_info tag? I have a qwerty forum where you can test forum functions and it's quite useless to list these posts in a "Latest Posts" section. --Subfader 09:32, 24 July 2008 (UTC)
- If you goto the Current Options page of the site, you will find a link to the forum tag page with all that info, you could also use the search on the site (the forum tag link at around result 19). I just added a link for the Forum Tag in the AdminCP of the user manual also. --AWC 16:38, 24 July 2008 (UTC)
- I know where it is, my point is if it's possible to hide a certain forum, cos it looks like it's not possible. But it would be a nice feature. --Subfader 05:20, 25 July 2008 (UTC)
- Its not possible to hide a forum but you can select what forums you want to display which will achieve the same results.
Side-note: The "forum tag" functions just like the forum as far as permissions go, if a user does not have permission to view a forum then threads from that forum will not be displayed for them with-in the "forum tag".
Does that help you any ?
--AWC 05:56, 25 July 2008 (UTC)
- Its not possible to hide a forum but you can select what forums you want to display which will achieve the same results.
- Ok defining which to display is ok too as long as permissions to view them per forum apply then as well. So, how do I define which forums to include to the forum_info tag? --Subfader 06:48, 25 July 2008 (UTC)
- "If you goto the Current Options page of the site, you will find a link to the forum tag page with all that info...." or look through the manual --AWC 07:21, 25 July 2008 (UTC)
- You don't get it. Sorry for asking. --Subfader 10:38, 25 July 2008 (UTC)
- Originally you wanted to hide forums so they will not be listed in the forum tag (your "members testing" forum); now you see that there is not a "hide" options, but you can select which forums you want to be displayed which will archive the same. Im taking it as you want the forum-tag to display forums A,C,D but not B. You want the forum tag to only list off certon forums of your choice. If that is what you want to do, all of that information is in that link talked about here - have you read all the options (or atleast the first) for the forum tag, along with the admin settings ? If that is not what you want to do, can you explan a litle more and i will try and help you as much as i can.
- That's how I ment it and I went through the tag page multiple times but I don't see any option to define certain forums to be included. I also read the rqeust page where it's "fromforum=NotĂcias" but using fromforum=Chat doesn't display Chat topics only. So I got a bit frustrated that you repeated pointing me to pages I already read multple times ;) --Subfader 19:32, 25 July 2008 (UTC)
- Heres a direct quote form the forum tag page
What to display
showall=true (false by default)
Will get the last ## posts, period; ignoring the Admin selected forums setting. It will retrieve the last ## threads from the forum as a whole.
<forum_info> showall=true </forum_info>
With showall=false (or not included in the tag) will display ## of threads from each forum the Admin has selected in the Admin CP.
<forum_info></forum_info>
- "Forum Tag for Wiki: What Forums to get info from. Seperate forum ID's with a comma ( , )"
- In the Admin CP you can select what forum(s) the recent threads will be retrieved form using the forums id. If you go to your Forum's Main Page and move your mouse over a forum's link, you will see the forums id at the end of the url. EG: action=sf/id_##. You can pick one forum or multipule forums. If selecting multipule forums each id has to be separated by a comma ',' .
- So step one would be to not include showall=true/false in the forum tag and step two would be adding the forum ID's to the AdminCP.
Forum >> Admin >> Forum Config Settings >> Forum Tag Option's >> Forum Tag for Wiki: What Forums to get info from. Seperate forum ID's with a comma ( , ).
The reason i keep pointing you to the documentation is that everything (past and present - except for the Adavatar bug) you have posted and asked about in this talk page has been documented.
--AWC 05:05, 26 July 2008 (UTC)- Oh! Yes I see your point and got it working now. But the documentation is huge just like the extension is. Thanks a bunch! Will really try to seek info there before asking here from now on. --Subfader 10:34, 26 July 2008 (UTC)
- So step one would be to not include showall=true/false in the forum tag and step two would be adding the forum ID's to the AdminCP.
Extensions conflicting with one another
[edit]I installed AWC and absolutely love it, the problem i am having is it conflicts with another extension already in use on my wiki and i've been told by the powers that be that if it comes down to choosing one or the other, we have to go with the one that was there first because our users are used to using it and to suddenly remove the functionality would be bad.
I know you aren't responsible for what other people have coded but if there is any way that a fix could be made so these two don't fight, i would be thrilled because i'd really prefer not to lose the AWC features.
The extension in question is [[1]]. LQT continues to work when AWC is up and running. Most of the AWC interface shows up normally. The issues start to occur when you try to start a new thread or post a new article. You get a HTTP 500 Internal Server Error.
The following calls result in the error: http://<address>/<wiki directory>/index.php/Special:AWCforum/?action=post/todo_add_thread http://<address>/<wiki directory>/index.php/Special:AWCforum/?action=post/todo_new_t/id2
there may be other instances but those are the two i have encountered so far. Ok.. that being said, i just went in and checked something else. I turned off liquid threads, added a post to an awc forum and then turned liquid threads back on. I can no longer view the post.
Anyway, if there is anything that can be done to allow me to have both up and running on my wiki, that would be wonderful, but i also understand if you don't want to try to adapt your extension to others out there. Kayleigh
AWC's Response
[edit]I will look into this and have no problem adapting my code so that the Forum Extension works with other extensions. Will download and install LiquidThreads in a few days and see what can be done. Will post back more info when it comes.
--AWC 18:35, 21 May 2008 (UTC)
Thank you!
[edit]Thanks so much! I've been using AWC a lot over the past couple days, learning the features and it is a really great extension.
AWC's Response
[edit]Good News This will be working the next release of the Forum Extension. The release date is not known but Beta should be released with-in a week. A news-letter will be sent out when the Beta is ready for testing.
Just wondering if there was any news on the beta?
[edit]The posting referenced above was made on the 22nd of May and said that it should be up within a week but i haven't been able to find out any other references to it so I just wanted to follow up.
- There are a few things which need to be finished up, testing the extension on different versions of MediaWiki is one of them. Last night i tested out a fresh install on 1.6.x and things are looking good. Personal life just got a little hectic (adding an addition to my house) so an EST of the next release of the extension can not be said... Im really hoping it will be soon, sorry i can not give a definitive date.
- --AWC 16:28, 6 June 2008 (UTC)
Kay's Response
[edit]Thank you again!!!
Conflict with feedimport
[edit]Fatal error: Cannot redeclare error() (previously declared in /var/www/web0/html/other/magpierss-0.72/rss_fetch.inc:228) in /var/www/web0/html/extensions/awc/forums/funcs.php on line 54
--DaSch 18:13, 7 July 2008 (UTC)
- DaSch, could you post what version of the Forum which is causing the problem or the name of the function with is conflicting. I just checked 2.3.3 and 2.4 and theres no function on line 54. Version 2.4 is close, but not exact. As you probably know, this would be a quick fix. Thanks for any help.
- I tried both versions, and had the same problem with both of them. --DaSch 22:09, 8 July 2008 (UTC)
- Is this the extension which the forum is conflicting with ? I will test it out locally to find the problem.
- Never mind, i see the problem, the error() function (i should have known better and named it differently). I will fix this and post back here when its done, this fix will be in the 2.4 beta. --AWC 04:39, 9 July 2008 (UTC)
- Ok, this should be fixed in the current 2.4 beta --AWC 05:08, 9 July 2008 (UTC)
i want to translate this extension
[edit]I am truly want to participate in this amazing extension and start translate it to Hebrew. I don't know how you choose the man who can participate but i am a proud owner of an israeli site - [www.guitarpedia.co.il Guitarpedia], and its a new site who works in wiki system and i want to get into it and develop the whole community to make contact with me if it possible.
- To translate the forum, you dont need to be part of any beta team, all you need to do is install the forum and then go into the admin control panel - language section, and make the translation there.
- Its all done in the forum web interface, so requires no coding ability, and from there you can upload other language packs, save your own, and make edits as required. You can also export the language pack so to share with others.
AWC's Response
[edit]Thanks for the help, HTPC.
Goan, you can find more info about creating new language packs for the Forum Extension here
Hope it helps --AWC 04:48, 22 May 2008 (UTC)
PostgreSQL support
[edit]Hi there! I wanted to test your - seemingly amazing - forum on my own wiki, so I downloaded and tried to install it. But when I run the installer, I get several errors, the first of which is:
Warning: pg_query() [function.pg-query]: Query failed: ERROR: relation "awc_f_emotions" does not exist in (...)/w/includes/DatabasePostgres.php on line 553
I am using PostgreSQL. Is it possible, that PostgreSQL is not (yet) supportet by AWC's Forum? --Shape 18:21, 3 June 2008 (UTC)
AWC's Response
[edit]Ive never tested the Forum Extension with any dbase aside from MySQL and you are the first to bring up Postgre. Ive just downloaded 8.0.15 and will do a little testing when time is available.
Will post back more info when available.
- Thank you! I would very much like to use your forum. Again: thank you! --Shape 09:49, 4 June 2008 (UTC)
- Additionally, perhaps it would be good to let you know which versions I run exactly: MediaWiki 1.13alpha (r35767), PHP 5.2.0, PostgreSQL 8.1.11. --Shape 09:52, 4 June 2008 (UTC)
- Shape, im sorry to say but i do not have the time to play with the Postgre database right now. I tried to install Postgre on my home server but it did not go smooth (its a Windows box). When i can , i will try again. If you want, get me your email and i will keep you updated on this.
- --AWC 07:32, 11 June 2008 (UTC)
Kay's Reponse
[edit]Got it all installed and SQL tables updated and it looks great!! Thank you so much!!!
Email to all/pre-specified users on new posts
[edit]I'd like to add my call for e-mailing support.
I run a wiki with a small number (3) of users. I'm moving from a pure web-based forum (yabb) to this as the forum deals mostly with changes to the wiki. Makes sense to make it all one. We're used to having every user (except the actual poster) notified whenever anyone makes a post, including creating new topics. It would be great to see this implemented.
It would wonderful if you could give me a code snippet I could insert into the Post.php file to automatically e-mail the other users, to tide me over until you get around to coding something like this up into a proper feature for the broader community. Many thanks. 60.240.122.215 06:15, 4 July 2008 (UTC)
- Didn't see the beta link there - looks like my wish has already been granted! Thanks for allowing forum subscription rather than just thread subscription. Works great! 123.243.130.192 02:45, 6 July 2008 (UTC)
AWC's Response
[edit]That was an easy one :-)
Hope your happy with everything. --AWC 05:45, 6 July 2008 (UTC)
- Looks great. A bit of colour optioning, some thread/forum icons, and it will be a polished product. I'm going to hack the Post.php to ignore users subscription flags, so that the forum e-mails everyone regardless of whether they're subscribed or not - coz we want to know everytime anyone says anything. A possible MemCP option could be whether threads are subscribed to by default, even new ones that haven't been visited yet. 60.240.122.215 23:52, 6 July 2008 (UTC)
- Hrm, my PHP/MySQL is not up to scratch for the task. Any chance you could do a quick code snippet that will get a userlist, and then with a while loop insert the subscribe flags for each user for the current thread? I'll put the code into Post.php's add_t function just before the subscribe check. Many thanks if you can. 60.240.122.215 01:01, 7 July 2008 (UTC)
- Never mind, worked it out. 60.240.122.215 04:17, 8 July 2008 (UTC)
Database error
[edit]When I try to "Install Forum" on teh first run I get this error:
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
CREATE TABLE IF NOT EXISTS 'awc_f_emotions' ( 'e_ID' int(11) NOT NULL auto_increment, 'e_code' varchar(255) NULL default '', 'e_pic' varchar(255) NULL default '', PRIMARY KEY ('e_ID') ) TYPE=MyISAM;
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 ''awc_f_emotions' ( 'e_ID' int(11) NOT NULL auto_increment' at line 1 (mydomain.com)".
I tried on localhost and on my server. Help is appreciated ;) --Subfader 15:24, 11 July 2008 (UTC)
AWC's Response
[edit]What version of the extension are you trying ?
What type of data-base are you using ? MySQL, PostgreSQL, Oracle, etc.
Did you edit the installer file by chance ? this make no sense. Only install problem known is for non-MySQL database, which is posted above. The awc_f_emotions table is the first table to be installed so its a problem right at the beginning. When you first installed your wiki, did you have to do anything special to install the data-base tables, anything with data-base permissions ? I do not know the answer, thats why im asking all these questions :-)
--AWC 17:43, 11 July 2008 (UTC)
- Oh I just downloaded the package again and it worked now. Thanks for your time! --Subfader 19:12, 11 July 2008 (UTC)
- Whoa! Awesome work! If just MW itself was so easy to handle :) --Subfader 19:37, 11 July 2008 (UTC)
Little mistake
[edit]After installation there's a default forum in the "Test Catagory. --Subfader 19:37, 11 July 2008 (UTC)
- Where can I change the typos like "Advatar" in the DB table? Why not use MW messages (Special:Allmessages)? I changed text in the table directly and now nothing is displayed.
- Notice: unserialize() [function.unserialize]: Error at offset 3465 of 4134 bytes in ...\extensions\awc\forums\lang.php on line 44
- Notice: unserialize() [function.unserialize]: Error at offset 887 of 1432 bytes in ...\extensions\awc\forums\funcs.php on line 307 --Subfader 20:54, 11 July 2008 (UTC)
- General text typos Change text through out the forum and for categories and forum sections Editing Category or Forum Section
As for as those errors, you might have to uninstall and then re-install the data-base tables or you can try and Import the lang file from the /extensions/awc/forums/update/ folder.
HTPCnz did quit a good job with the User Instruction Manual, its worth checking out. And i did not use Special:Allmessages cause i thought it would be easier for people who have more then one language running on their board to edit the text and add new language's. --AWC 03:10, 12 July 2008 (UTC)
- General text typos Change text through out the forum and for categories and forum sections Editing Category or Forum Section
- Yes thanks, didn't noptice the drop down :D --Subfader 18:36, 19 July 2008 (UTC)
Avatar dimensions
[edit]I uploaded an avatar 100px width and 64px height but it's displayed stretched in 64px width and 100px height :( --Subfader 21:00, 11 July 2008 (UTC)
- lol... opps, sorry, will fix and post in the 2.4 beta. Will post back once the 2.4 has been updated. --AWC 03:12, 12 July 2008 (UTC)
- Ok, fixed, its in the 2.4 Beta download, thanks for posting the bug.
Stable 2.4 Release
[edit]--AWC 05:31, 19 July 2008 (UTC)
$m_pmautosave
[edit]How can set this to auto true for all users? Till I found the option I thought it's a bug that sent messages don't appear in the sent folder. --Subfader 18:27, 19 July 2008 (UTC)
AWC's Responce
[edit]
Theres an option in the MemCP -> PM Options -> "Automatically save sent PM's in Sent folder".
If your asking how to over-ride the users setting and want to hard-code it you will have to edit the members.php file. Find
$savetosent == 'on' ? $savetosent = true : $savetosent = false;
and change that to
#$savetosent == 'on' ? $savetosent = true : $savetosent = false; $savetosent = true;
Note: there will never be an option which will let the Admins control this over the users. If you want control like this you will have to edit files. Its a user option which the user has control over, not Admin.
If you want to make it so that user option is defaulted to 'checked' (true) when the they send a PM, but once they make a change to the "Automatically save sent PM's in Sent folder" option they have control, you need to edit the skin.php. Find
$savetosent = isset($extra['m_pmoptions']['m_pmautosave'])? $extra['m_pmoptions']['m_pmautosave']: '0';
and change the to
$savetosent = isset($extra['m_pmoptions']['m_pmautosave'])? $extra['m_pmoptions']['m_pmautosave']: '1';
Hope this answered your queation. --AWC 23:57, 19 July 2008 (UTC)
- Yep thanks, but I only found (and changed) in skin_mem.php
isset($extra['m_pmoptions']['m_pmautosave'])? $savetosent = $extra['m_pmoptions']['m_pmautosave']: $savetosent='0';
--Subfader 11:08, 20 July 2008 (UTC)
Locking threads
[edit]Doesn't work. --Subfader 00:41, 23 July 2008 (UTC)
AWC's Responce
[edit]Not sure what you mean... This feature has been working since the 2.0 release, just tested it again and its working fine. Mods and Admins can post in locked threads; guests, "normal" members or any other group can not. Does that info help any ?
- Yay. Yep that's it. Reason for my misunderstanding is that there's no info about the thraed being locked inside the thread. --Subfader 13:49, 23 July 2008 (UTC)
- There should be - at the top of the thread (the sub-title/sub-header) it should say: "Locked: Viewed ## times, With a total of # Posts". If you have changed the word 'locked' to a picture then that picture should be displayed. --AWC 16:36, 23 July 2008 (UTC)
Headlines in post
[edit]I think the posts are not well rendered. When you add a heading a br tag is aaded behind the h tag inthe output. so atm it reads
<h3><span class="mw-headline">Heading</span></h3><br>Text instead of
<h3><span class="mw-headline">Heading</span></h3>Text instead of
and it looks like this:
Heading
Text. Instead of
Heading
Text
So it would be nice if this was fixed. It looks even more wrong when it suddenly looks correct e.g. when you start with * right after the heading or if you include some {{Article}}. --Subfader 18:32, 26 July 2008 (UTC)
- Same for quoted text: <div class="quote"><br>Text. Wasted space imo --Subfader 20:39, 26 July 2008 (UTC)
- Something to keep in mind; this extension is a forum and not a wiki so it will hold more forum characteristics then wiki characteristics. The reason behind the <br /> is so a single carriage return (when you hit the enter button once) will make the text jump down a line to function like a standard forum as opposed to how wiki's work, when you have to hit the enter button twice to jump down a single line (being the extension is a forum and not a wiki). The forum does this by "automated" code and does not pick and choose which line breaks it wants to do. Wiki code generates the headlines and they add a line-break, then when the user hits the enter button to start their text just under the heading the forum will add another line-break because the forum code detects a carriage return... I will look into this, but being its not a real problem and as my site "says" i do not have alot of time right now to spend on computer related projects i can not prommis any thing, you can add it to the todo list as a "want/wish" being its a personal preference if you want.
As with the quote, that might be a css thing or how the user is using the quote tag, im pretty sure there are no line breaks added to that via code ((just too a quick peek at some quotes on my forum and didn't notice it) could be wrong, don't have the time to check it out right now, but it might be a padding setting the css for the quotes which your noticing)
--AWC 04:19, 27 July 2008 (UTC)
- Something to keep in mind; this extension is a forum and not a wiki so it will hold more forum characteristics then wiki characteristics. The reason behind the <br /> is so a single carriage return (when you hit the enter button once) will make the text jump down a line to function like a standard forum as opposed to how wiki's work, when you have to hit the enter button twice to jump down a single line (being the extension is a forum and not a wiki). The forum does this by "automated" code and does not pick and choose which line breaks it wants to do. Wiki code generates the headlines and they add a line-break, then when the user hits the enter button to start their text just under the heading the forum will add another line-break because the forum code detects a carriage return... I will look into this, but being its not a real problem and as my site "says" i do not have alot of time right now to spend on computer related projects i can not prommis any thing, you can add it to the todo list as a "want/wish" being its a personal preference if you want.
- Thanks for clearing it up. Headings in article: It works using <h2>Heading</h2>Followed by text (not ==). So there's no br being added after h2 but outpus is fine. About the quote: It's the code. When you hit quote, it will add it like this:
- [QUOTE=Subfader [..URL.. Sat, 15:25]]
- my quoted text[/quote]
- That's where the break is created. Would look better if it was [QUOTE=Subfader [..URL.. Sat, 15:25]]my quoted text[/quote]. --Subfader 11:07, 27 July 2008 (UTC)
- Will look into it when i get time --AWC 02:37, 28 July 2008 (UTC)
wiki tag
[edit]I can't get the wiki tag to work. It just shows the actual text that i type the tag and then page title and the closing tag. Is there something else that needs to be enabled or rather than page title should it be the full url?
AWC's Response
[edit]There is a setting in the AdminCP which sounds like you have off.
AdminCP > Thread Option's > "Allow the use of the <wiki> tag in threads. This will imbed a wiki page into a post"
When using the wiki-tag you only need to use the wiki's page name, not the whole url. Will try and add this to the documentation when i get time, sorry its not clear.
Seperated PM system
[edit]If you look for a good PM extension you will fail. I really like the PM system of AWC's Forum, esp the thread view of the conversation. I have another wiki where I use MWBB just for the PM function (nor forum needed). Both systems have advantages: MWBB integrates into the user link section on the upper right and is sperated from the forum, but it's ugly to post PM's with it (delete, quote, etc). If AWC's Forum PM system could be seperated (no forum user profiles, no avatars, only PM options etc), integrated in the user links (to see "new PM in Inbox" highlighted) and released as own PM extension (so people can install it without the forum) it would be awesome. What you think (except no time :) --Subfader 13:21, 31 July 2008 (UTC)
- Ive got my hand full with this extension. There are still many changes and things which i would like to add, in my head this extension is around 70% done. So i doubt you would see any other extension from me in quite some time. --AWC 17:36, 31 July 2008 (UTC)
- I can understand that. Maybe someone else with experience in extensions could have a look. The code needed is there, it just needs some adjusting. --Subfader 18:45, 31 July 2008 (UTC)
I can't export or import the language pack with 2.4 (mw1.11.1)
[edit]When I try to exprot the language pack, I did'nt see any file in the list. Can any one help me?
AWC's Response
[edit]
The exported file will be saved in the following folder:
\extensions\awc\forums\languages\
and should be viewable via AdminCP:
AdmiCP >> Language file >> View Exported files
That \languages\ folder needs to be writable, chmod (777) and your sever has to have permissions set so you can write files (i've been told some hosts disable this).
As with importing, what happens ? are there errors ?
--AWC 00:51, 3 August 2008 (UTC)
Delete your signature
[edit]Problem: When you try delete your signature, the system still thinks the signature is there. Now when you style the signature this style is called on every post of this user. When you use a border-top:1px solid #aaa; for the signature it looks bad for empty signatures as the border-top for teh signature si right above the bottom of the table. Would be good if the system differs between empty signatures and those with real content. --Subfader 12:10, 3 August 2008 (UTC)
AWC's Response
[edit]- If you are seeing an empty box at the bottom of posts (where signatures are displayed) after you have deleted a signatures, it sounds like there was a space or something left behind. I will look into how the skin is displayed and make changes if there is no signature so that no table cell is not displayed, period. For now you can make a css tweak if it bothers you that much. Its a matter of taste to say what looks bad :-)
--AWC 17:47, 6 August 2008 (UTC)
- Just made the change for this, will be in the 2.4.1 update which will be released in a few days.
--AWC 04:37, 9 August 2008 (UTC)
MemCP drop down links?
[edit]Where can I remove links from teh MemCP drop-down?
I want to remove all Signature options. I grepped "word_gotosig" but it's only used inthe definition text files so I have no idea where the links in the drop-down are defined. --Subfader 14:18, 3 August 2008 (UTC)
AWC's Response
[edit]The MemCP drop down links are in
\includes\SpecialAWCforum.php
found in the following function
function top_user_links()
Theres also a setting in the perm.php file so you can disable signatures.
$wgGroupPermissions['user' ]['awc_CanHaveSig'] = true;
and if you want to remove the links inside the MemCP look through the skin_mem.php file in
function main_table($info)
--AWC 17:59, 6 August 2008 (UTC)
- Ah, includes/SpecialAWCforum.php there is all the other stuff, totally forgot about it. Thanks! :) --Subfader 05:21, 7 August 2008 (UTC)
Bizzare Post/Reply Issue
[edit]I've set up your wonderful forum setup on a site intended to be for a Role Playing Game... But while other users, including other users with the same browser, can post, I cannot. It dosen't matter which browser I've used (I've tried Firefox, Internet Explorer, and Opera; the latest versions of each), It always pops the same error when I try to post or reply.
Fatal error: Call to a member function getUseTeX() on a non-object in /home/kitsufo/public_html/cosc/includes/Parser.php on line 606
I can't make heads or tails of what's going on.
Site: Children of StarClan
Kitsufox 13:48, 7 August 2008 (UTC)
- Things get even weirder with this. As I've worked out the cause. The issue comes and goes COMPLETELY in reaction to the check or uncheck status of the raw signature option. My Mediawiki version is 1.12.0 and my AWC Forum version is 2.4. Kitsufox 16:41, 7 August 2008 (UTC)
AWC Response
[edit]Ill take a look, this was an issue in the past (raw signatures in wiki) but was fixed (as far as i knew). Will post back more with more info.-
- Ok, this must have slipped by. If you want to fix this yourself you can edit the forums post.php file.
Find$sigText = $wParser->getUserSig( $wgUser );
and replace it with
$username = empty($wgUser->mOptions['nickname']) ? $wgUser->mName : $wgUser->mOptions['nickname']; $sigText = ($wgUser->mOptions['fancysig'] == 0) ? $wParser->getUserSig( $wgUser ) : $username;
This change will be in the 2.4.1 release which should be out over the weekend or early this coming week.
--AWC 05:29, 8 August 2008 (UTC)
Installation error
[edit]After copying AWCs files to mediawiki, I went to the special pages and found AWCforum on top. It has the url:
http://svr-wiki/wiki/Spezial:AWCforum
If I click on it, I get simply strange fulltext HTML/PHP Code that is not processed and simply shown as plain text:
'gOut->addHTML(' Install Forum -------------------------------------------------------------------------------- '); } } return; } else { while ($r = $dbr->fetchObject( $res )) { $awc['config'][$r->q] = $r->a ; } $dbr->freeResult( $res ); $wikieits = $awc['config']['wikieits']; } $awc['emo_dir'] = $wgScriptPath . $awc['path'] . 'images/emotions/default/'; // Nedd this after the Config check get forums languages '
Any idea why the php/html code is not processed or how I could start the installation manually? -- Danielpott 14:45, 20 August 2008 (UTC)
ERROR
[edit]I got this below error when I click Install from Special page of wiki. My version is MediaWiki 1.13: I am using xampp and latest versin of of AWC 2.4.1.
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: CREATE TABLE IF NOT EXISTS `awc_f_emotions` ( `e_ID` int(11) NOT NULL auto_increment, `e_code` varchar(255) NULL default , `e_pic` varchar(255) NULL default , PRIMARY KEY (`e_ID`) ) TYPE=MyISAM; from within function "". MySQL returned error "1142: CREATE command denied to user 'wikiuser'@'localhost' for table 'awc_f_emotions' (localhost)".
I have exactly the same issue. Exactly the same error and error message. I have just added the new files to their respective directories, and set 'require_once' for the awc_forum.php file. I then went to the forum special page and ran the installer. I then received the message above. I am running version 1.13.1. Could this be a permission issue, or is there a compatibility issue with v1.13? Sterling 20:58, 20 November 2008 (UTC)
- Thanks to AWC forums for this fix. This error is a database permission problem. When mediawiki is installed, it asks you if you want to set a database user password. The permissions for the wikidbuser are insufficient for table creation. Go to your localsettings.php file, and temporarily set $wgDBuser, and $wgDBpassword back to your MySQL root username and password (the ones you would use to log into your MySQL server). Then reload the page and finish the install. Just remember to set it back to user before you let other people use your site. Sterling 23:06, 20 November 2008 (UTC)
X Unread PMs as userlink on top?
[edit]Can the dynamic PM link ("Private Messages" if no new messages or "X unread PMs") be placed on the upper right section where the user links (my watchlist etc) are and esp. how? --Subfader 17:12, 15 October 2008 (UTC)
AWC's responce
[edit]Not that i know of.
--AWC 23:23, 15 October 2008 (UTC)
- I mean it's possible to edit this section manually, but I don't how what code to add there to make it as dynamic as described. --16
- 55, 16 October 2008 (UTC)
Latest posting by email
[edit]How can I get the latest postings/any editings(If somebody post/edit whatever any msg in the forum) of AWC forum by my email client like outlook, eudora, becky etc? Is there any way?
how do we allow anonymous posting??
[edit]how do we allow anonymous posting in the forum??
- You can go to Admin Control Panel and go to Editing Forum: then choose the forum that you want to allow anonymous posting in then click EDIT. Then go to Write Permissions, and choose * and save that is all. Have Fun! -- Frankz (talk) 10:21, Tuesday, April 28, 2009 (EST)
Problem with the download link
[edit]The download link for AWC form extension at [2] seems to be broken. This is linked from the AWC page at [3].
This is the error message I get in the browser:
Warning: require_once(/home/awc/public_html/wiki/includes/specials/SpecialAWCdownloads.php) [function.require-once]: failed to open stream: No such file or directory in /home/awc/public_html/wiki/includes/SpecialPage.php on line 746 Fatal error: require_once() [function.require]: Failed opening required '/home/awc/public_html/wiki/includes/specials /SpecialAWCdownloads.php' (include_path='/home/awc/public_html/wiki:/home/awc/public_html/wiki/includes:/home/awc/public_html /wiki/languages:.:/usr/lib/php') in /home/awc/public_html/wiki/includes/SpecialPage.php on line 746
Liyf 05:54, 9 March 2009 (UTC)
Update: the download is now back. --Liyf 00:10, 11 March 2009 (UTC)
Update 15 March 2010
No such special page From Another Web Company
You have requested an invalid special page.
A list of valid special pages can be found at Special pages.
Return to Main Page.
No user-info + custom user groups
[edit]Hey. I can't make the <forum_info> tag display the posts without the user-information:
<forum_info> showall=off replies=no postcount=no user=no date=yes </forum_info>
I've tried all sorts of combinations with and without date=yes. It's able to display the user without the date nut not the other way around.
Also: is there any way for me to restrict access to a forum based on my custom usergroups?
Little suggestion - Unesthetic special page
[edit]The link showed on the "Special:SpecialPages", It is very unesthetic "! YOURWIKI Forums..." <- May you remove the "!" and "..." The file to replace the affected the text is awc_forum.php, the line 48.
$wgMessageCache->addMessages(array('awcforum' => '! '.$wgSitename.' Forums...'));
Replace the code for
$wgMessageCache->addMessages(array('awcforum' => ''.$wgSitename.' Forums'));
--Neoshinji 23:32, 14 April 2009 (UTC)
User Groups
[edit]I can't make members 'Admin' and so on. Sachein 10:21, 10 May 2009 (UTC)
Additional text in Category
[edit]In the Admin Control Panel under Add/Delete Category there is a box just below the Permission box for adding additional text to the Category description. When I enter text in this box it does not appear in the forum. The same box is shown in the Add/Delete Forum section and it works properly.
Can anyone help?
- Did you edit the skin template? --Subfader 14:20, 26 July 2009 (UTC)
'Prettier' URLs?
[edit]Any plans to change it so the URLs are shown a bit better?
I think right now it does something like /sc/id1 and /sf/id2 (for example), and does end in a nice .html page. However, it would be nice if the sf/sc and id bits could show as the actual names (like they do in IPB for example). No idea how hard it is to code, just thought it would be nice. :)
Include Forum Posts in Wiki Search Results
[edit]Hey gang! I installed the Sphinx Search engine extension (which is blazing fast!) for my wiki, and now I want to allow user searches to return both relevant wiki articles and forum posts. Any clues as how to do this? I'm going to bet that an inner join will be involved. Here is the main document fetch query used by Sphinx:
sql_query = SELECT page_id, page_title, page_namespace, old_id, old_text FROM page, revision, text WHERE rev_id=page_latest AND old_id=rev_text_id
I know that the table I want to search is awc_f_posts.p_post
but do not know enough MySQL to create the query that I want. Thanks!
Download is broke
[edit]...it is. Going to his page and click the link to download is a negatory 404. --MisterLambda 11:46, 4 November 2009 (UTC)
Aline's Response
[edit]The same thing happened to me, however it was only me register on the site of the AWC and the problem was resolved.
Growing width of postbox
[edit]Further to the test of a new skin, I have noticed that the postbox is constantly enlarging. Any idea where I should look to fix it on 2.4.1? Tanks for any help.
- Update to a newer Version http://wiki.anotherwebcom.com/Special:AWCforum/st/id1063/limit:0,15/#last Download Link: http://downloads.anotherwebcom.com/wiki/updates/awc_forum_beta_2.5.7.rar
84.173.95.237 18:47, 21 November 2009 (UTC)
Problems with CSS importing
[edit]Hi,
I'm trying to import a CSS file but I get the next message "Forum Error CSS File" like in the print screen:
I have the beta 2.5.7 version.
--Gregra 16:23, 20 January 2010 (UTC)
Predefined images as avatar for all registered users
[edit]Hi.
I really love the extension of AWCForum. I am very happy with that. There is only one small question regarding avatars. I have a wiki with round about 200 users. They already have an image on their userpages in 300x450px, named as user_name.jpg. Now i would like to use these images as the users' avatars in AWCforum. How do i have to change the php-scripts to make the avatar appear for all user?
thanks in advance for any hint
regards
--TurboKanne 16:03, 22 February 2010 (UTC)
Skin error
[edit]When I remove the mediawiki monobook skin and apply the custom, all the style of the forum is lost. I try to apply the style of the AWC in the custom, but the cascading menu does not work.
Recent Changes
[edit]Hi as it is standalone it probably doesnt appear in RC. Would it be possible to inplement it. Or a special page Recent Changes just for Forum?--Juan de VojnĂkov 13:41, 17 August 2010 (UTC)
Error when trying to do anything to a thread section
[edit]When I go into the forum, select a thread, and use the pull down to Sticky, lock, un-sticky, and etc, i get the following error:
- Database error
- A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
- SELECT t_forumid FROM `awc_f_threads` WHERE t_id= LIMIT 1
- from within function "awcs_forum_mod_post::pin_thread". Database 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 'LIMIT 1' at line 1 (localhost)".
Using MW 1.16.4, AWC 2.5.11. Any ideas/help? -- Lynxcub 14:29, 2 May 2011 (UTC)
MW 1.17.0
[edit]In MW 1.17.0 all messages for buttons, thread options, thread view stats etc. are gone. Somebody knows how to fix it? Last extension version is from summer 2010Â :( --Subfader 11:37, 23 June 2011 (UTC)
- If you go to the source homepage there is a far more recent release. Kitsufox 16:59, 24 June 2011 (UTC)
- It's said to be fixed in 2.5.12 but I tested it and not all interface messages were displayed properly. I made many changes to the layout in teh code so I'd like to avoid upgrading to 2.5.12. Somebody knows hwo to fix it manually? I guess it's an easy fix due to changes in MW1.17. --Subfader 13:44, 18 July 2011 (UTC)
How do you edit the sidebar?
[edit]AWC adds a ton of options were added to the sidebar (Forum, Search, Today's Posts, etc) which are duplicated in the forum menus. I got rid of some of them by editting forums/includes/menu.php, but it would be nice to let the admin decide which options are viewable, and where the options appear in the sidebar (as opposed to always on the top of the list).âThe preceding unsigned comment was added by 24.61.11.143 (talk âą contribs) 01:26, 12 July 2011 (UTC). Please sign your posts with ~~~~!
In the config file in the config directory
Spelling and grammar errors
[edit]There are a ton of spelling and grammar errors in the user interface. Most notably, there are apostrophes in plural words where there shouldn't be. Would you be interested in a corrected version of the English language file?âThe preceding unsigned comment was added by 24.61.11.143 (talk âą contribs) 01:26, 12 July 2011 (UTC). Please sign your posts with ~~~~!
Conflict with SimpleSecurity extension
[edit]If you include both SimpleSecurity and AWC Forum (latest versions for 1.17 as of 7/12/2011), you can't configure AWC Forum. Any attempt results in a database error. This even happens when no SimpleSecurity settings are modified, and it happens regardless of include order.
Adding Who's Here to one page
[edit]Hello. The Who's Here table that the extension comes with that is displayed at the bottom of the pages is very nice, and I'd like to see if anybody knows a way that it would be possible to add it only to certain pages of the wiki. It is kinda pointless to have on every page of the wiki since I run a small wiki with many pages. I would like to have it displayed only on the Main Page of the wiki, where it displays all active users on the wiki at the time. Can anyone help me out with this one? Thanks for any help. Dkpat (talk) 19:13, 21 May 2012 (UTC)
+1
I need help with this...
[edit]Fatal error: Call to undefined method MediaWiki::checkInitialQueries() in Z:\wamp\www\w\extensions\extensions\awc\forums\includes\gen_funk.php on line 452 I keep getting this error!--Muqman 52 (talk) 00:32, 31 May 2012 (UTC)
Up: in includes/gen_funk.php, comment out line 452 to make the forum work
http://www.clubpenguinwiki.info/wiki/Blog:Tech_Blog/The_social_project_--_how_we_did_it
Howto embed only one single forum-categroy into wiki-site
[edit]i hope this feature exists... i want to embed only one forum-category into a wiki-article. i guess it will work by doing manually. perfect soloution: embedding forum-category will work automaticly if forum-category matches with wiki-category. is there any solution to embed by using first (manually) method? mybe like this:
<forum_info>
category=ID
</forum_info>
Emoticons
[edit]Hello,
I just installed AWC Forum, and everything is working great, no errors, nothing else. The only thing I have noticed is that my emoticons do not show up, rather just the syntax used to generate them. The only one that I see works is the smiley face
- I have the same problem145.53.133.136 20:07, 19 February 2014 (UTC)
MediaWiki 1.22.0
[edit]Hi, this extension doesn't work with MediaWiki 1.22.0. I installed a fix which can be downloaded here (see also this discussion). It worked for me, however I do not take any responsibility for the code. Cheers, --Till Kraemer (talk) 16:46, 3 January 2014 (UTC)
Blank member_options page (1.19.0 and up?)
[edit]I installed this plugin to my wiki on a 1.19.0 version, but for some reason the member_options page kept returning blank. Subpages do seem to work (edit signature, edit avatar, etc) but the main memcp page doesn't. A quick fix for this is to remove the line in forums/includes/gen_funk.php that starts with:
$wgTitle = $mw->checkInitialQueries(
I'm not sure what's causing the error, but this variable doesn't seem to be used anymore in this part of the code, so it seems safe to remove it.
The language messages don't load anymore (MW 1.22 and PHP 5.5.13)
[edit]If somebody has a solution, please post. Currently I'm unable to uograde MW because of this.
Migrating to another platform
[edit]How do I migrate all posts on AWC Forums to WikiForum?
70.31.230.203 17:12, 13 November 2014 (UTC)
MediaWiki 1.24 Problems
[edit]MediaWiki 1.24 breaks AWC's Forum, even with the 1.22 patch found here. It appears to be related to how the forum PHP code is accessing $wgUser->$mEffectiveGroups. For example, here is an excerpt from gen_class.php:
$wgUser->mEffectiveGroups[] = '*';
Since $wgUser->mEffectiveGroups is now protected, it should probably be replaced with something like $variable = $wgUser->getEffectiveGroups(), but I don't know enough about the MediaWiki structure to fix it. There may also be other errors, I'm not sure. Hopefully, someone with a better understanding of MediaWiki will come to our rescue, as this extension is still quite useful. --TheAlmightyGuru (talk) 20:32, 20 January 2015 (UTC)