2.5.x - 90% complete, want to beta it ?
From Another Web Company
 Viewed 59202 times, With a total of 334 Posts
| Have a suggestion, improvement, change or non-beta Forum Entension bug ? Please add them to the todo list
|
|
|
|
|
| 12:58:43 AM - Thursday 20th, August 2009 |
|
There was a post count problem brought to my attention.
Not sure how many people is has effect, but i just re-uploaded the change to the 2.5.7 download.
The problem was users post count was not going up when they created a new post.
So if you are having any problems like that after installing the 2.5.7 beta prior to the time of this post, please re-download the 2.5.7 files. There is no need to run the installer a second time.
Sorry about the problem.
_
|
|
~ What was once an opinion, became a fact, to be later proven wrong ~
|
|
|
|
Just Got Here
Wiki Edits: 0
Threads 0
Posts 1
|
|
| 6:25:39 PM - Monday 02nd, November 2009 |
|
| Is there a way to get rid of this "Who's here now?" thing so that its not on every single wiki page? Is there an option to just take this functionality out of the forum completely? Please let me know.
|
|
|
|
|
|
Clicked A Few Times
Wiki Edits: 1
Threads 8
Posts 17
|
|
| 5:10:37 AM - Tuesday 03rd, November 2009 |
|
In your \extensions\awc\forums\config folder will be a file called config.php.
You must to edit the file looking for the line
define('show_whos_here_in_WIKI', true);
and set it to
define('show_whos_here_in_WIKI', false);
This allow you to have the "Who's here now?" table only on the forum pages and not in the wiki page.
I think you referring to this, right?
|
|
Edited On 5:12:43 AM - Tuesday 03rd, November 2009 by Arj
|
|
| I'm walking where you have already walked
|
|
|
|
|
| 3:32:24 PM - Tuesday 03rd, November 2009 |
|
Thanks for helping out, Arj.
To add alittle more to what Arj has posted, to remove the "Who's Here" from the forum pages look in...
Forum > Admin > Forum Config Settings > General Option's
_
|
|
|
|
|
|
Clicked A Few Times
Wiki Edits: 0
Threads 0
Posts 8
|
|
| 3:34:53 AM - Wednesday 11th, November 2009 |
|
Warning
|
I'm new here and I have been investigating your extension for implementation in our own wiki...
First I want to say that it's a great extension... and one that I have been looking for a long, long time. Thanks.
Second... after successfully testing the official release, I decided to download the 2.57 beta... because I'm interested in defining group access rights on specific forums and the forum menu bar... but I ran into a problem on the main page. Special pages and the forum pages work fine.
I get two messages at the top of all my standard wiki pages.
- Warning: Missing argument 2 for AWC_FORUMS_ArticleViewHeader() in D:\WOS_Test\www\mediawiki\extensions\awc\forums\awc_forum.php on line 456
- Warning: Missing argument 3 for AWC_FORUMS_ArticleViewHeader() in D:\WOS_Test\www\mediawiki\extensions\awc\forums\awc_forum.php on line 456
In awc_forum.php Line 456 reads
function AWC_FORUMS_ArticleViewHeader(&$article, &$outputDone, &$pcache){
Any ideas?
Thanks,
Tim
BTW: I am testing on MW 1.10.1, PHP 5.253 and MYSQL 5.041
|
|
Edited On 3:53:10 AM - Wednesday 11th, November 2009 by TDeeming
|
|
|
|
|
|
|
| 7:30:07 AM - Wednesday 11th, November 2009 |
|
-
Hello TDeeming, thanks for the kind words and also the detailed post of your problem (details make a big difference to a dev when they run into problems)...
Quote:TDeeming Nov 11th 2:26 amI get two messages at the top of all my standard wiki pages.
- Warning: Missing argument 2 for AWC_FORUMS_ArticleViewHeader() in D:\WOS_Test\www\mediawiki\extensions\awc\forums\awc_forum.php on line 456
- Warning: Missing argument 3 for AWC_FORUMS_ArticleViewHeader() in D:\WOS_Test\www\mediawiki\extensions\awc\forums\awc_forum.php on line 456
In awc_forum.php Line 456 reads
function AWC_FORUMS_ArticleViewHeader(&$article, &$outputDone, &$pcache){
BTW: I am testing on MW 1.10.1, PHP 5.253 and MYSQL 5.041
Im gonna guess at this because i cant rember if i tested 2.5.x (beta) on wiki 1.10.x, sorry.
Try the following in awc_forum.php
Change:
function AWC_FORUMS_ArticleViewHeader(&$article, &$outputDone, &$pcache){
to
function AWC_FORUMS_ArticleViewHeader(&$article){
It looks like wiki 1.10.x only sends one parameter.
That should do the trick
Good luck...
_
|
|
Edited On 7:31:44 AM - Wednesday 11th, November 2009 by AWC
|
|
|
|
|
|
Clicked A Few Times
Wiki Edits: 0
Threads 0
Posts 8
|
|
| 7:52:08 AM - Wednesday 11th, November 2009 |
|
Your suggestion fixed my Problem.
|
Quote:AWC Nov 11th 12:22 pm
Try the following in awc_forum.php
Change:
function AWC_FORUMS_ArticleViewHeader(&$article, &$outputDone, &$pcache){
to
function AWC_FORUMS_ArticleViewHeader(&$article){
It looks like wiki 1.10.x only sends one parameter.
That should do the trick
Good luck...
_
Hi AWC...
- Thanks for the fast response... I just followed your reccomendation.. and they fixed the problem... So I can test further... Actually I like this version much better than the 2.4 version... When do you expect to be finished with the beta testing.
- Question... do you think I can go ahead and install it on a live system... or should I wait?
Thanks again,
Tim
|
|
|
|
|
|
|
| 3:48:51 PM - Wednesday 11th, November 2009 |
|
Quote:TDeeming Nov 11th 6:44 am:Question... do you think I can go ahead and install it on a live system... or should I wait?
If you where running a newer version of Mediawiki (above 1.12) i would say, yes, no problem, but with 1.10, i would do some more testing. Im sure if there is a bug with the forum and wiki 1.10 we can work it out, but like i said, i cant rember what version i tested the forum one.
Main things to check, PM's, subscribing to threads, making sure the email notification for both of them are working, admin options, skin and css edits.
As for an official release date, sorry but i have no idea.
_
|
|
|
|
|
|
Clicked A Few Times
Wiki Edits: 0
Threads 0
Posts 8
|
|
| 6:26:37 AM - Friday 13th, November 2009 |
|
Quote:AWC Nov 11th 8:40 pm Quote:TDeeming Nov 11th 6:44 am:Question... do you think I can go ahead and install it on a live system... or should I wait?
If you where running a newer version of Mediawiki (above 1.12) i would say, yes, no problem, but with 1.10, i would do some more testing. Im sure if there is a bug with the forum and wiki 1.10 we can work it out, but like i said, i cant rember what version i tested the forum one.
Main things to check, PM's, subscribing to threads, making sure the email notification for both of them are working, admin options, skin and css edits.
_
The system that I was testing on was 1.10, however our standard live system is MW 1.93. So I decided to take a trial look on the live system...
The following items happened.
- No email notification when subscribed to a thread... but also no warning about failure. The informaion is just entered into the email list.
- When I try to send a PM the following message is displayed.
- Catchable fatal error: Object of class MailAddress could not be converted to string in C:\Programme\xampp\htdocs\wiki\includes\UserMailer.php on line 46
- However information was entered into MemCP List as an Unread PM.
- Please note that the live system is setup to inform users about changes to the wiki via email notification... and send emails to each other via SMTP.
- Forum Navigation bar does not appear... regardless of settings in the different setting in ...\awc\forums\config\config.php
- Whenever the sysop tries to open a new thread... or make an announcement... the screen goes blank... and when I recover... there are two identical announcements or threads listed.
- This does not happen when a normal user creates a new thread... just a sysop which apparently inherits the admin capabilities.
At the moment I think the most important problem for me is the problem with the email notification... So if you have any suggestions... I'd appreciate it.
BTW: I installed the 2.4 version on my MW 1.93 version first... but I don't think I tested the email notification... so if you don't have any suggestions... I'll go back and try the older version.
Thanks again for your help.
Tim
|
|
|
|
|
|
|
| 1:43:01 AM - Saturday 14th, November 2009 |
|
TDeeming, what operating system are you running on ?
And the following is correct for your live site
MW 1.9, PHP 5.253 and MYSQL 5.041
Tell me what wiki version you want me to trouble shoot for, so i know what to install.
_
|
|
|
|
|
|
Clicked A Few Times
Wiki Edits: 0
Threads 0
Posts 8
|
|
| 6:32:30 AM - Monday 16th, November 2009 |
|
Quote:AWC Nov 14th 6:35 amTDeeming, what operating system are you running on ?
And the following is correct for your live site
MW 1.9, PHP 5.253 and MYSQL 5.041
Tell me what wiki version you want me to trouble shoot for, so i know what to install.
_
Hi and thanks for the help.
The OS is XP Professional SP3.
MW (1.93)
PHP 5.2.1 (apace2handler)
MySQL 5.0.33
Standard Mail and messaging uses $wgSMTP
$wgSMTP = array(
'host' => "mail.example.com", //could also be an IP address
'IDHost' => "example.com",
'port' => 25,
'auth' => true,
'username' => "my_user_name",
'password' => "my_password"
);
For a special extension called MassMailer I also have Mercury Mail running.
I am wary about upgrading the wiki to a newer version as I am using many extensions... and the functionality of them is not always guaranteed with newer versions. So if possible, please target for MW 1.93.
Thanks,
Tim
|
|
|
|
|
|
|
| 7:33:32 AM - Monday 16th, November 2009 |
|
That might be a problem with the forum. A while back someone posted a problem with blank pages and Windows XP (IIS 6). At the time i tried to trouble shoot it but could not find a solution.
Are you using IIS 6 or Apache as your http server ?
To be completely honest with you, and i do not mean to be rude with this, but XP-pro and IIS6 are not gonna be a top priority for the forum extension. Theres just too few people using that combo.
I'll look into $wgSMTP (thanks for the link) and see how it works and try and work something out for that.
_
|
|
|
|
|
|
Clicked A Few Times
Wiki Edits: 0
Threads 0
Posts 8
|
|
|
|
|
|
|
|
| 6:14:21 AM - Wednesday 18th, November 2009 |
|
Quote:TDeeming Nov 13th 5:18 am
- No email notification when subscribed to a thread... but also no warning about failure. The informaion is just entered into the email list.
- When I try to send a PM the following message is displayed.
- Catchable fatal error: Object of class MailAddress could not be converted to string in C:\Programme\xampp\htdocs\wiki\includes\UserMailer.php on line 46
Just tested that under linux, apache, wiki 1.9.6, forum 2.5.x and received the same error.
Try the following edits and post back the results if you have time.
Edit (make a back-up first ) the following file: /extensions/awc/forums/send_mail.php
Find foreach($email_addresses as $email){
$to_address[] = new MailAddress( $emai );
}
and replace it with: foreach($email_addresses as $email){
$addr = $email->address;
$name = $email->name;
$to_address[] = new MailAddress( $addr, $name );
}
Find and delete:
if ( is_array( $to ) ) {
wfDebug( __METHOD__.': sending mail to ' . implode( ',', $to ) . "\n" );
} else {
wfDebug( __METHOD__.': sending mail to ' . implode( ',', array( $to->toString() ) ) . "\n" );
}
Have not had time to look into the other bugs, will do soon.
_
|
|
|
|
|
|
Clicked A Few Times
Wiki Edits: 0
Threads 0
Posts 8
|
|
| 8:31:07 AM - Wednesday 18th, November 2009 |
|
Made changes as you suggested
|
Hi,
I made the changes you posted above.
- I no longer get an Error mesage when I send a PM...
- Question: Are PM's sent to the Users email address?
Maybe I misunderstood that part because of the error message. Anyway, no mail was recieved. So I just tried on this forum... to send myself a PM and I also didn't receive an email... but it is entered into the MemCP as an unread PM... so I am assuming that this is the proper operation... which is fine.
- I still do not get an email when subscribed threads are changed... but then you may not have addressed that matter yet.
Anyways... thanks for your efforts 
Tim
|
|
|
AWC's:
2.6.0 MediaWiki - Stand Alone Forum Extension Forum theme style by: AWC
|