Message Stats Error

You need to be logged in to post messages in the forums. New users may register here.

Max Keil

Member since:
30 January 2008

Posts: 3

Tuesday 25 March 2008 1:31:53 am

Hi, I get an Error if I try to show my 'inbox' outside the pm module.
For example: if i go to '/pm/contacts' my stats are shown correct and when I'm on
/ezinfo/about I get this Error:

Error: eZModuleFunctionInfo::execute Mar 25 2008 09:17:46

No class 'eZPm' available for function 'messages_stats' in module 'pm'


Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Up

Bartek Modzelewski

Member since:
09 January 2008

Posts: 9

Thursday 27 March 2008 2:59:31 pm

Hi Max,

Thanks for reporting this bug. eZ Publish 4 needs more changes in my extension than I thought. You can solove this problem editing file autoload/ezp_extension.php in your eZ Publish root directory and adding the following at the end of array:













Up

Max Keil

Member since:
30 January 2008

Posts: 3

Friday 28 March 2008 12:44:53 am

Hi, thank you for this hint.

I actually have included the ezpm.php on the top of the function_definition.php - it works, but it's not the way it should. I added a ajax module to your extension, which allows to search for Users, if there are one, you can send a pm to him. And I've made a German translation for it - I needed it because your extension seems only to work from Forums with owner ids. I would like to build it in your create module.

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Up

Bartek Modzelewski

Member since:
09 January 2008

Posts: 9

Friday 28 March 2008 1:00:03 am

Hi,

Yesterday evening I did some improvements and fixes in this extensions, but finall result was not yet stable so I didn't commit my work. I will do it after your modifications during this weekend.

Thanks for your contribution !
Up

You need to be logged in to post messages in the forums. New users may register here.