2.5.x - 90% complete, want to beta it ? - Another Web Company
ArcadeDownloadsNewslettersForum MenuNavigationWhat AWC OffersWiki ToolsLogin or Create Account

Log in

You must have cookies enabled to log in to Main Site - Local.

 

2.5.x - 90% complete, want to beta it ?

From Another Web Company

Image:Locked.jpg Viewed 59192 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

Jump to page 1Prev 161920Next 16Last
Clicked A Few Times
Wiki Edits: 1
Threads 8
Posts 17
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

Forum Vet
Wiki Edits: 2898
Threads 135
Posts 1397
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

_
~ What was once an opinion, became a fact, to be later proven wrong ~
  • Forum Ver. 2.5.10 has been released (6/19/2010), Download here.


Clicked A Few Times
Wiki Edits: 0
Threads 0
Posts 8
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.
  1. Warning: Missing argument 2 for AWC_FORUMS_ArticleViewHeader() in D:\WOS_Test\www\mediawiki\extensions\awc\forums\awc_forum.php on line 456
  2. 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

Forum Vet
Wiki Edits: 2898
Threads 135
Posts 1397
-
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 am
I get two messages at the top of all my standard wiki pages.
  1. Warning: Missing argument 2 for AWC_FORUMS_ArticleViewHeader() in D:\WOS_Test\www\mediawiki\extensions\awc\forums\awc_forum.php on line 456
  2. 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
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

Forum Vet
Wiki Edits: 2898
Threads 135
Posts 1397
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
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.
  1. No email notification when subscribed to a thread... but also no warning about failure. The informaion is just entered into the email list.
  2. 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.
  3. Forum Navigation bar does not appear... regardless of settings in the different setting in ...\awc\forums\config\config.php
  4. 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

Forum Vet
Wiki Edits: 2898
Threads 135
Posts 1397
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
Quote:AWC Nov 14th 6:35 am
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.

_

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

Forum Vet
Wiki Edits: 2898
Threads 135
Posts 1397
Quote:TDeeming Nov 16th 5:24 am
The OS is XP Professional SP3.
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
Quote:AWC Nov 16th 12:25 pm
Quote:TDeeming Nov 16th 5:24 am
Are you using IIS 6 or Apache as your http server ?
_


Hi,
I am using Apache/2.2.4 for the http server.

Forum Vet
Wiki Edits: 2898
Threads 135
Posts 1397
Quote:TDeeming Nov 13th 5:18 am

  1. No email notification when subscribed to a thread... but also no warning about failure. The informaion is just entered into the email list.
  2. 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
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

Forum Vet
Wiki Edits: 2898
Threads 135
Posts 1397
pm email...
http://wiki.anotherwebcom.com/Special:AWCforum/st/id1224

Person needs to have a valid Wiki Email for this to work.

_

Forum Vet
Wiki Edits: 2898
Threads 135
Posts 1397
Quote:TDeeming Nov 18th 7:23 am
: I still do not get an email when subscribed threads are changed... but then you may not have addressed that matter yet.

Replace that last edit with...


#
            foreach($email_addresses as $email){
				$addr = $email->address;
				$name = $email->name;
 
                if($addr == ''){
                     $addr =  $email;
                     $name = '';
                }
 
                $to_address[] = new MailAddress( $addr, $name );
            }

Clicked A Few Times
Wiki Edits: 0
Threads 0
Posts 8
No change!
I made the changes... but still no emails.

What do you mean by valid "Wiki Email"?


Forum Image:Icon-double-arrow.gif AWC's Corner Image:Icon-double-arrow.gif AWC's MediaWiki Forum Extension
Jump to page 1Prev 161920Next 16Last



Whos here now: Members 0 Guests 2 Bots/Crawlers: 2


AWC's: 2.6.0 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC