Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Private Messaging Feature John Martin July 28, 2008 10:43 AM
RE: Private Messaging Feature Stan X August 4, 2008 6:33 PM
RE: Private Messaging Feature Ganesh Ram August 4, 2008 6:58 PM
RE: Private Messaging Feature John Martin August 5, 2008 6:29 AM
RE: Private Messaging Feature Mauro Mariuzzo August 5, 2008 6:32 AM
RE: Private Messaging Feature John Martin August 5, 2008 11:05 AM
Re: [Liferay Forums][7. Suggestions and Feature Requests] RE: Private Messa Ray Augé August 6, 2008 10:08 PM
RE: Re: [Liferay Forums][7. Suggestions and Feature Requests] RE: Private M Mauro Mariuzzo August 7, 2008 6:54 AM
RE: Re: [Liferay Forums][7. Suggestions and Feature Requests] RE: Private M Secret Developer September 4, 2009 1:01 PM
RE: Private Messaging Featur Jeffrey Lilly August 13, 2008 6:24 PM
RE: Private Messaging Feature John Martin August 19, 2008 8:06 AM
RE: Private Messaging Feature Areshchanka Alexandr Alexandrovich February 25, 2009 5:12 AM
RE: Private Messaging Feature Jonas Yuan September 4, 2009 1:18 PM
RE: Private Messaging Feature Daniel M. Ingram September 5, 2009 9:24 PM
RE: Private Messaging Feature Lisa Simpson September 8, 2009 11:10 AM
RE: Private Messaging Feature Daniel M. Ingram September 11, 2009 10:14 AM
RE: Private Messaging Feature Jonas Yuan September 11, 2009 10:19 AM
RE: Private Messaging Feature Keith Loose September 17, 2009 3:18 AM
RE: Private Messaging Feature Lisa Simpson September 17, 2009 2:52 PM
RE: Private Messaging Feature Jorge Ferrer September 18, 2009 12:59 AM
RE: Private Messaging Feature Guido Kaltwasser November 24, 2008 2:18 AM
RE: Private Messaging Feature Areshchanka Alexandr Alexandrovich March 4, 2009 8:44 AM
RE: Private Messaging Feature Daniel M. Ingram August 26, 2009 10:09 PM
RE: Private Messaging Feature Lisa Simpson August 27, 2009 8:16 AM
RE: Private Messaging Feature Daniel M. Ingram August 31, 2009 12:54 PM
RE: Private Messaging Feature Secret Developer September 4, 2009 1:08 PM
RE: Private Messaging Feature Lisa Simpson September 18, 2009 8:30 PM
RE: Private Messaging Feature Daniel M. Ingram September 19, 2009 12:53 AM
RE: Private Messaging Feature Daniel M. Ingram September 22, 2009 12:17 PM
RE: Private Messaging Feature Lisa Simpson September 22, 2009 3:14 PM
RE: Private Messaging Feature Dmitry Babain September 22, 2009 10:52 PM
RE: Private Messaging Feature Lisa Simpson September 23, 2009 11:19 AM
RE: Private Messaging Feature Jorge Ferrer September 23, 2009 4:01 AM
RE: Private Messaging Feature Secret Developer September 25, 2009 5:47 AM
RE: Private Messaging Feature Daniel M. Ingram September 29, 2009 1:39 PM
RE: Private Messaging Feature Daniel M. Ingram November 16, 2009 12:47 AM
RE: Private Messaging Feature Milan Jaroš November 19, 2009 10:11 AM
RE: Private Messaging Feature Andreas Oberhack November 16, 2009 1:08 AM
RE: Private Messaging Feature Lisa Simpson November 16, 2009 2:51 PM
RE: Private Messaging Feature Maese Theobald November 16, 2009 5:52 PM
RE: Private Messaging Feature Dmitry Babain November 17, 2009 2:42 AM
RE: Private Messaging Feature Dariusz Sawicki November 23, 2009 5:19 AM
RE: Private Messaging Feature Daniel M. Ingram November 30, 2009 8:56 AM
RE: Private Messaging Feature Maese Theobald November 30, 2009 9:54 AM
RE: Private Messaging Feature Dmitry Babain November 30, 2009 10:43 AM
RE: Private Messaging Feature Richard Oliver Legendi December 18, 2009 4:40 AM
RE: Private Messaging Feature András Róbert Imre December 25, 2009 11:50 PM
RE: Private Messaging Feature G P December 21, 2009 5:06 AM
Private Messaging Feature Artem Khojoyan January 13, 2010 1:15 PM
RE: Private Messaging Feature Richard Oliver Legendi January 20, 2010 2:36 AM
RE: Private Messaging Feature Christian Merkel January 20, 2010 4:35 AM
RE: Private Messaging Feature Kirk Stork June 15, 2010 2:30 PM
RE: Private Messaging Feature Olivier Jouve July 29, 2010 5:39 AM
RE: Private Messaging Feature Corné Aussems January 20, 2010 5:55 AM
RE: Private Messaging Feature Jelmer Kuperus June 10, 2010 6:59 AM
RE: Private Messaging Feature Szymon Gołębiewski August 9, 2010 6:56 AM
RE: Private Messaging Feature Kirk Stork September 14, 2010 1:16 PM
RE: Private Messaging Feature Manuel de la Peña August 23, 2010 1:34 AM
RE: Private Messaging Feature Manuel de la Peña September 22, 2010 3:10 AM
RE: Private Messaging Feature Manuel de la Peña September 22, 2010 11:40 PM
RE: Private Messaging Feature R charan February 28, 2010 9:42 PM
RE: Private Messaging Feature Kirk Stork September 23, 2010 7:55 AM
RE: Private Messaging Feature emanuele notarnicola October 25, 2010 4:34 AM
RE: Private Messaging Feature Kirk Stork October 25, 2010 6:06 AM
RE: Private Messaging Feature Heba El Ayoty January 16, 2011 7:50 AM
RE: Private Messaging Feature Kirk Stork November 4, 2010 8:08 AM
RE: Private Messaging Feature Mohammed Kamel January 22, 2011 6:52 AM
RE: Private Messaging Feature Szymon Gołębiewski January 23, 2011 8:26 AM
RE: Private Messaging Feature Kirk Stork January 24, 2011 9:11 AM
RE: Private Messaging Feature Piergiorgio Lucidi February 15, 2011 3:35 AM
RE: Private Messaging Feature Natasa Bulatovic July 20, 2011 9:04 AM
RE: Private Messaging Feature Jan Geißler January 3, 2012 4:03 AM
RE: Private Messaging Feature Dominik Hofbauer January 23, 2012 6:59 AM
RE: Private Messaging Feature Jan Geißler January 28, 2012 11:49 AM
RE: Private Messaging Feature Zdravko Nikolov July 10, 2012 11:26 PM
RE: Private Messaging Feature Mark Molina September 2, 2012 8:26 AM
RE: Private Messaging Feature Kirk Stork September 2, 2012 12:53 PM
RE: Private Messaging Feature Ramesh Reddy October 20, 2012 1:11 AM
RE: Private Messaging Feature Natasa Bulatovic October 20, 2012 2:12 AM
RE: Private Messaging Feature Ramesh Reddy October 20, 2012 3:58 AM
RE: Private Messaging Feature Mark Molina October 20, 2012 10:14 AM
RE: Private Messaging Feature Natasa Bulatovic October 20, 2012 11:11 AM
RE: Private Messaging Feature Ramesh Reddy October 23, 2012 1:17 AM
RE: Private Messaging Feature Kirk Stork October 23, 2012 4:40 PM
John Martin
Private Messaging Feature
July 28, 2008 10:43 AM
Answer

John Martin

Rank: Junior Member

Posts: 29

Join Date: June 23, 2008

Recent Posts

Our company is planning on implementing a Private Messaging Portlet and are looking for comments and/or suggestions.

Description
The purpose of this enhancement System is to provide a private messaging system so that users will be able to send a message to another user in the system. The intent is to initially implement a very basic solution that will eventually be enhanced to include the typical features found in private messaging systems. The intent is to initially implement a very basic solution that will eventually be enhanced to include the typical features found in private messaging systems.

Initial Features
  1. The feature should consist of a Private Messages portlet that can be placed in the users' Private Page. The portlet will provide the following functionality:
    a. There will be an Inbox, Sent and Archive folders
    b. Received messages will appear in the Inbox folder
    c. Messages will be displayed by order received (oldest to newest)
    d. List should indicate the state of the message (unread, read, replied)
  2. A registered user will have the ability to send another user a message
    a. A "Send me a private message" link will appear on individuals Profile Page
    b. If user is not logged in it will require them to login first
  3. The Create Private Message action will present the Sender with a Compose message window that includes Subject and Message text area in addition to Send and Cancel buttons.
    a. Subject and Text area will only allow plain text
    b. HTML and javascript will need to be stripped out upon submission
    c. Size of text message will be limited to a configurable number of bytes (i.e. 2KB )
    d. Javascript should indicate the amount of remaining bytes available
  4. Messages will be stored into database and the sender and receiver point to the same record. A one-to-many relationship should be used along with the state so that each user has their own state.
  5. The user should be able to switch between viewing messages in the Inbox, Sent and Archived folders
  6. The user must be able to click on a message in the folder to read it. Actions should include:
    a. Reply - Opens the Compose message window i. Subject should be copied and 'RE: ' prefix added i. Original body should be copied into the message box with spacing above and separator line that includes On mm/dd/yyyy hh:mm, sender name wrote: i. Reply should only work in the Inbox and Archived folders. Reply doesn't make sense in the Sent folder.
    b. Close - returns back to list
    c. Archive- move message to archive folder and returns back to list
    d. Delete - removes message and returns back to list
  7. User should be notified that they have new messages (where/how TBD)
  8. Once all users (Sender & Recipients) have "deleted" their reference to a message it will be physically deleted from the database.
  9. A message that is deleted by an Administrator is not visible to either sender or recipient
  10. The sender IP address should be saved with the message for spamming and auditing purposes

Future Enhancement Features
  1. User should be able to compose message and select recipient from Friends List
  2. Send private message should be linked to Blogs, Forum posts, etc.
  3. Messages can be reported to Administration for inappropriate content
  4. Administrators should have the ability to review reported inappropriate messages
  5. Administrators should have the ability to suspend user accounts from sending messages.
  6. Administrators should be able to view any messages (how to locate TBD)
  7. Administrators should be able to delete messages
  8. Additional actions Recipient should be do when reading messages:
    1. Flag messages as SPAM.
    1. Sender will be blocked by user
    2. Message recorded as SPAM and removed from the Recipient's inbox
    3. Report should expose potential SPAMMERS.
    2. Block Sender- removes the message and blocks sender for the recipient
  9. User should be able to unblock previously blocked users
  10. System must be able to prioritize message delivery, i.e depending on message category deliver in a prioritized manner
  11. When composing messages the Sender can select other individuals to send message to.
  12. Sender can choose to send copy to them self
  13. User should be able to sort message list by date, sender, subject
  14. User should be able to forward messages to other users (dependent on the ability to select contacts)
  15. There should be a mail box size limit.
    1. Size limit will be configurable
    2. Paid subscribers will have a higher limit than non-paying accounts
    3. Once mailbox limit exceeded, Sender will receive message that recipient mailbox is full.
    4. An alert could be added for the user
    5. The size of messages should appear in mailbox lists
Stan X
RE: Private Messaging Feature
August 4, 2008 6:33 PM
Answer

Stan X

Rank: Regular Member

Posts: 207

Join Date: January 27, 2008

Recent Posts

I have read several posts claiming the lack of a private message system is one of Liferay's shortcomings compare to other applications. The details you have provided sounds great to me. There is also a formal request for a similar feature in (LEP-5897).
Ganesh Ram
RE: Private Messaging Feature
August 4, 2008 6:58 PM
Answer

Ganesh Ram

Rank: Regular Member

Posts: 201

Join Date: February 5, 2008

Recent Posts

John,

I think this is related to the "Presence" feature. See this LEP

RUON (read as "are you ON") enables "Presence" feature in LR and allows communication between users through chat, call, sms and mail.
So I think private messaging should also be possible.

HTH,
Ganesh
John Martin
RE: Private Messaging Feature
August 5, 2008 6:29 AM
Answer

John Martin

Rank: Junior Member

Posts: 29

Join Date: June 23, 2008

Recent Posts

Hello Ganesh,

I took some time to look over RUON and believe that it solves part of the problem but what we are planning to implement is still missing with RUON. RUON connects the various communications mechanisms while what we are trying to do is provide basically a scaled down email system which provides persisted messaging amongst users in the community. Once the PM is implemented, I can see it being integrated with RUON as an alternative to the email system.

Thanks for pointing that out.

Regards,

John
Mauro Mariuzzo
RE: Private Messaging Feature
August 5, 2008 6:32 AM
Answer

Mauro Mariuzzo

Rank: Regular Member

Posts: 141

Join Date: July 23, 2007

Recent Posts

I think you have described an e-mail system.

We have similar needs for our Social network project "www.pjoon.com". And our solution was to develop a new portlet in EXT mode based on a new table "MessageEntry".

I think your (and us) need is a portlet with persistence (all the messages is archived and accesible). If I have correctly understood ruon non have persistence
John Martin
RE: Private Messaging Feature
August 5, 2008 11:05 AM
Answer

John Martin

Rank: Junior Member

Posts: 29

Join Date: June 23, 2008

Recent Posts

Hi Mauro,

Yes - our PM implementation is pretty much a scaled down email system. It is meant to be used to send messages between users primarily when the other party is not online. I believe the RUON would be a good integration point for the PM portlet.

I would be interested in what you have done with the MessageEntry and portlet.

Thanks,

John
Ray Augé
Re: [Liferay Forums][7. Suggestions and Feature Requests] RE: Private Messa
August 6, 2008 10:08 PM
Answer

Ray Augé

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1195

Join Date: February 7, 2005

Recent Posts

Have any of you looked at the Announcements service in Liferay 5.0+?

It implements persistent messaging, the API provides for User to User,
User to UserGroup, User to Group (Community/Org), and User to Role. It
can forward messages to email, SMS and will be displayed in the portlet
if the user has access to it.

The UI for creating Announcements doesn't provide for User to User
messaging, but the API is fully enabled. SO, forwarding a Chat message,
or any other type of message, would be as simple as checking presence,
and if not on-line, delivering the message as an announcement targeted
at the user, thus persisting the message.

Further more, the Announcements portlet/service tracks "read" state,
allows browsing old messages and timestamps of the user's viewing of the
message.

So, rather than re-inventing the wheel, why not simply add other
missing/required features onto this existing service? I'm sure that
between, Announcements, Activities, the message-bus, and RUON, there is
more than enough framework available to piece together the functionality
that you need, it might be as simple as providing a list for
"friends" (see the social service) and by checking presence (see RUON,
or Chat portlet), initiate one of:

- direct email
- chat
- announcement (web, email ,SMS)
- web conference through some VOIP service or whatever...

HTH!
Mauro Mariuzzo
RE: Re: [Liferay Forums][7. Suggestions and Feature Requests] RE: Private M
August 7, 2008 6:54 AM
Answer

Mauro Mariuzzo

Rank: Regular Member

Posts: 141

Join Date: July 23, 2007

Recent Posts

Hi Ray,

you're right: Announcements could be a valid starting point for a "Private Messaging System".

I've implemented my solution in Liferay 4.4.2.

And now, that I'm planning to switch to 5.1.0, I'm evaluating pros and cons to switch to Announcements.
Jeffrey Lilly
RE: Private Messaging Featur
August 13, 2008 6:24 PM
Answer

Jeffrey Lilly

Rank: New Member

Posts: 5

Join Date: June 14, 2007

Recent Posts

Hello John,

Our organization is also planning such a feature. I have not had a chance to look into Ray's suggestion re: the announcements service, but will look into it soon. What is your analysis of integration on this point?

Please let me know if you would like to collaborate on the PM feature.

Thanks,
Jeffrey
John Martin
RE: Private Messaging Feature
August 19, 2008 8:06 AM
Answer

John Martin

Rank: Junior Member

Posts: 29

Join Date: June 23, 2008

Recent Posts

We looked into the Announcements functionality and decided against it as it sort of polluted the functionality of announcements. Instead we went ahead with a couple of new tables strictly for private messaging. Our first phase of the implementation is nearly complete and are awaiting approval from the client to add the portlet to the 3rd party portlets.
Guido Kaltwasser
RE: Private Messaging Feature
November 24, 2008 2:18 AM
Answer

Guido Kaltwasser

Rank: New Member

Posts: 18

Join Date: September 15, 2008

Recent Posts

Hi John

In case you allready developed that private messaging portlet, we are interested.

Kind Regards

Guido
Areshchanka Alexandr Alexandrovich
RE: Private Messaging Feature
February 25, 2009 5:12 AM
Answer

Areshchanka Alexandr Alexandrovich

Rank: New Member

Posts: 2

Join Date: February 25, 2009

Recent Posts

Could you please provide your solution because of I need to implement private messages too.
Areshchanka Alexandr Alexandrovich
RE: Private Messaging Feature
March 4, 2009 8:44 AM
Answer

Areshchanka Alexandr Alexandrovich

Rank: New Member

Posts: 2

Join Date: February 25, 2009

Recent Posts

Does somebody have any progrees in this feature. I really need it.
If you start work under that could you provide code? because of I am working under that task too for now and we could share our efforts...
Daniel M. Ingram
RE: Private Messaging Feature
August 26, 2009 10:09 PM
Answer

Daniel M. Ingram

Rank: New Member

Posts: 18

Join Date: August 21, 2009

Recent Posts

The apparent lack of a PM feature is a substantial downside and it would be very nice to see this implemented as soon as possible.

We have migrated from Wetpaint to Liferay for the wiki capabilities, but the lack of an obvious PM functionality is a serious loss.

How is this project going? Have I missed the application on Liferay? When could a PM portlet be expected?
Lisa Simpson
RE: Private Messaging Feature
August 27, 2009 8:16 AM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

Private messaging is a feature on almost every message board and community site. I've pointed these guys back to SMF for an example of features and functionality specifically because there's too much in there for me to want to list it out. This is just one example.
Daniel M. Ingram
RE: Private Messaging Feature
August 31, 2009 12:54 PM
Answer

Daniel M. Ingram

Rank: New Member

Posts: 18

Join Date: August 21, 2009

Recent Posts

My group is moving from Wetpaint to Liferay, and the Wetpaint PM system worked well, and it is free to start Wetpaint pages if anyone wanted to check out the system there for a model or possible ideas.
Secret Developer
RE: Re: [Liferay Forums][7. Suggestions and Feature Requests] RE: Private M
September 4, 2009 1:01 PM
Answer

Secret Developer

Rank: Expert

Posts: 278

Join Date: June 23, 2009

Recent Posts

Hey guys,

I just found this thread, and I'm about to start working on a messaging portlet. Did anyone start building anything?

Baris
Secret Developer
RE: Private Messaging Feature
September 4, 2009 1:08 PM
Answer

Secret Developer

Rank: Expert

Posts: 278

Join Date: June 23, 2009

Recent Posts

Any progress in this yet?

Baris
Jonas Yuan
RE: Private Messaging Feature
September 4, 2009 1:18 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

Hi John,

Any progrees in this feature? I really need it, too.

Do you have any plan to contribute PM portlet back to Liferay community?

Thanks

Jonas Yuan

-----------------
Liferay Books

Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
Daniel M. Ingram
RE: Private Messaging Feature
September 5, 2009 9:24 PM
Answer

Daniel M. Ingram

Rank: New Member

Posts: 18

Join Date: August 21, 2009

Recent Posts

I was actually just about to employ a Russian programmer to do it for me, and one of my tech friends who is helping me came up with these specs, in addition to the basic instruction: "Copy the Wetpaint PM feature":

Selecting recipients for private messages
--auto-complete or suggestion prompts/pop-up when names are partially typed in
--“to” button which shows an address list of recipients for the portal
--options for administration to send to distribution, individual portlets, or other member groups
--ability to add/remove users from the “recipient list” of a PM at any time prior to sending the PM.

Subject line – 30 characters long.

Body
--Replying to a PM causes forum-style threading within each PM so that users do not need to open multiple PMs to re-read previous messages within the current conversation. Users are allowed to delete the old parts of the message in each thread if they choose to (necessary so that users can free up space within a thread for future messages).
--maximum size for messages: 10,000 characters long. When the thread or message begins to approach the maximum size, users will see a character count-down until they’ve exceeded the limit. When a message goes over the limit, it would show how far over the limit the current message is.

Send/cancel buttons for a PM that is currently being drafted.

(Pop-up or integrated PM box? Wetpaint is pop-up, but integrated may be much easier to program and may actually function better.)

Inbox/Outbox feature
--Forum-thread style line layout with: From, Subject, Sent time.
-From should have registered “avatar,” registration status
--The ability to delete messages from one’s personal inbox

Clicking “Subject” in the inbox or outbox will prompt that message to open. When reading the message, there should be buttons available to “block user,” “reply to,” “delete message” or “close message.”

**********

If someone is going to do this, that would be great, but quickly would be good. If you need help or support, let me know, as I wish this to occur last week.
Lisa Simpson
RE: Private Messaging Feature
September 8, 2009 11:10 AM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

We're not doing it but I can tell you some features that we'd like to see:

1) Logging (e.g. keeping a copy) of messages, even deleted messages (complaince stuff)
2) The ability for one use to block and unblock another user
Daniel M. Ingram
RE: Private Messaging Feature
September 11, 2009 10:14 AM
Answer

Daniel M. Ingram

Rank: New Member

Posts: 18

Join Date: August 21, 2009

Recent Posts

I have hired a programmer named Artem Khojoyan to program this for me. He thinks it will be done in about 2 weeks.

I would like this to be part of the supported open source code of the Liferay project.

What do I have to know to make this happen?

Lisa: I will add those specs.

Thanks,

Daniel
Jonas Yuan
RE: Private Messaging Feature
September 11, 2009 10:19 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

Hi Daniel,

Thank you so much!

Look forward to seeing your PM,

Jonas Yuan
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
Keith Loose
RE: Private Messaging Feature
September 17, 2009 3:18 AM
Answer

Keith Loose

Rank: New Member

Posts: 1

Join Date: September 17, 2009

Recent Posts

Daniel M. Ingram:
I have hired a programmer named Artem Khojoyan to program this for me. He thinks it will be done in about 2 weeks.

I would like this to be part of the supported open source code of the Liferay project.

What do I have to know to make this happen?

Lisa: I will add those specs.

Thanks,

Daniel

Hi Daniel,

This is excellent news - we are desperate to have PM features in liferay but as yet have had no time to implement it - how has your development activities gone - is the code ready to be shared with the community. If you need any assistance testing, checking or completing the code please let me know!

Kind Regards,
Keith
Lisa Simpson
RE: Private Messaging Feature
September 17, 2009 2:52 PM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

We'd be happy to help in what ever way we can. We're a bit tied up right now. We're getting ready to do our inital launch of Liferay. Two weeks of good solid work would seem sufficient for this. It should be basiscally an expansion of an existing portlet. If you need a beta tester, we're happy to help out.
Jorge Ferrer
RE: Private Messaging Feature
September 18, 2009 12:59 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2768

Join Date: August 31, 2006

Recent Posts

Hi Daniel,

Thanks for your proposal to contribute. You can find some general guidelines on the recommended process to do so in the wiki, in the article: How to contribute to Liferay.

Also, for this particular case, there was a team at Liferay that has also implemented a private messaging system based on the email portlet plugin for a client. Although I have a feeling that the use cases where different from yours. I'll ask them to look at this thread to provide their insight.

IMHO it would be great to have private messaging as a core functionality that could then be integrated into several portlets such as Message Boards, Chat (when a user goes offline), Wiki, etc.
Lisa Simpson
RE: Private Messaging Feature
September 18, 2009 8:30 PM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

Daniel M. Ingram
RE: Private Messaging Feature
September 19, 2009 12:53 AM
Answer

Daniel M. Ingram

Rank: New Member

Posts: 18

Join Date: August 21, 2009

Recent Posts

Artem thinks he will have something for my team to look at in the next few days. I'll let you know when this happens.

Other projects that may be in the works: message board/discussion threads that reference a wiki, and a wiki that references discussion threads. We'll see how the money holds out.
Daniel M. Ingram
RE: Private Messaging Feature
September 22, 2009 12:17 PM
Answer

Daniel M. Ingram

Rank: New Member

Posts: 18

Join Date: August 21, 2009

Recent Posts

Just so other members are aware of this conversation:

Dear Michael,

Thanks for contacting me.

I don't seem to be able to access that site you mention: appears to require a password and username, and my Liferay one's don't work for it.

I am not exactly sure what to do with the information you have provided.

I run on Liferay 5.2.2 on Omegabit. When they will upgrade to another version is unknown. What are the chances of that new portlet being back compatible with their older version and their older version of Tomcat, which I believe is 5.0.0?

I needed a PM feature about 1 month ago. When can I expect 5.3 to be up and available?

Should I have my developer try to get the code you have been working on and go from there?

If so, how do we access it?

Also, if so, are there development specs that you think should be incorporated listed somewhere? I saw some specs from mid-2008, but that thread had died until I revived it. Any relationship between the specs posted there and what you intend for 5.3? Your PM portlet project seems to have been a secret from those who posted there a few weeks ago in response to my posts, hence my independent and potentially redundant or parallel efforts.

Also, if this is going to be something more elaborate, is there a team designated already working on this, as your specs might exceed my requirements and budget?

If that is true, should my developer, Artem Khojoyan, be part of that team rather than working solo? He is cc'd on this email.

If so, is there some development money that might be chipped in, or programmers that might join his efforts to lend a hand? The code writing has already begun out of my personal pocket.

We have already begun to test initial versions.

On a related note, I have multiple other development needs for Liferay that will begin once this project is done. To avoid future duplication of efforts, how do I find the improvement list and new capabilities of Liferay 5.3?

Thanks again for any answers or help you can give,

Daniel


***********************************

On Sep 22, 2009, at 9:47 AM, Michael C. Han wrote:

Daniel,

Our community monitors have escalated your private messaging posts to me. We actually already have private messaging capabilities coming in the roadmap (specifically 5.3). The private messaging is part of the mail-portlet and the plugin currently rests in our incubation plugins repository. You can access via: svn.liferay.com/repos/public/plugins/incubation.

We are in the process of finalizing some development and preparing it for our Q4 2009 5.3 Community Edition release. I would recommend using this as a starting point for your contribution efforts and provide us feedback and suggestions.

Thanks for being a valuable member of the community.

Cheers,

-m
Lisa Simpson
RE: Private Messaging Feature
September 22, 2009 3:14 PM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

Features for future versions now have a permanent home - http://www.liferay.com/web/guest/community/wiki/-/wiki/Proposals/FrontPage

Please go VOTE FOR THE ONES YOU WANT! Let the developers know you care *and* let them know what's important to YOU.
Dmitry Babain
RE: Private Messaging Feature
September 22, 2009 10:52 PM
Answer

Dmitry Babain

Rank: Regular Member

Posts: 238

Join Date: November 23, 2008

Recent Posts

Can I ask a dumb question? How do I vote? Just by adding some comments to each of wiki improvement pages or some other method?
Jorge Ferrer
RE: Private Messaging Feature
September 23, 2009 4:01 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2768

Join Date: August 31, 2006

Recent Posts

Hi Daniel,

Anyone can access the subversion repository. Read this post by Brian Chan for a detailed explanation of why it asks for a user and password: http://www.liferay.com/web/brian.chan/blog/-/blogs/changes-to-anonymous-access-to-liferay-s-svn
Lisa Simpson
RE: Private Messaging Feature
September 23, 2009 11:19 AM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

That is exactly how you vote. If there is already a comment, you can use the thumbs Up/down to vote for or against it...
Secret Developer
RE: Private Messaging Feature
September 25, 2009 5:47 AM
Answer

Secret Developer

Rank: Expert

Posts: 278

Join Date: June 23, 2009

Recent Posts

Please let us know if there is anything we can help with it.

Baris
barissener@gmail.com
Daniel M. Ingram
RE: Private Messaging Feature
September 29, 2009 1:39 PM
Answer

Daniel M. Ingram

Rank: New Member

Posts: 18

Join Date: August 21, 2009

Recent Posts

Thanks!

I'll let you know.
Daniel M. Ingram
RE: Private Messaging Feature
November 16, 2009 12:47 AM
Answer

Daniel M. Ingram

Rank: New Member

Posts: 18

Join Date: August 21, 2009

Recent Posts

The PM feature is done. We have deployed it on our site and are testing it now.

Does anyone want a copy to look at? If so, let me know.

Thanks,

Daniel
Milan Jaroš
RE: Private Messaging Feature
November 19, 2009 10:11 AM
Answer

Milan Jaroš

Rank: Expert

Posts: 269

Join Date: August 18, 2008

Recent Posts

Of course I am. ;)
milan.jaros at gmail dot com
Andreas Oberhack
RE: Private Messaging Feature
November 16, 2009 1:08 AM
Answer

Andreas Oberhack

Rank: New Member

Posts: 9

Join Date: March 9, 2009

Recent Posts

Oh - yes!

I'm also very much interested in testing it.

Where can I get the sources from?

Thanks allot in advance!

Andreas
Lisa Simpson
RE: Private Messaging Feature
November 16, 2009 2:51 PM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

OOOOO

**waves hand from the back of the room**

ME ME ME ME

you can send it to pmfeature.5.morrighu@spamgourmet.com

If none of you have spam gourmet aliases, you really MUST go get one....
Maese Theobald
RE: Private Messaging Feature
November 16, 2009 5:52 PM
Answer

Maese Theobald

Rank: Junior Member

Posts: 64

Join Date: September 8, 2009

Recent Posts

I'm also very interested because it's something we put "for later" as we were dealing with some other features.
Please, Daniel, could you sent me a PM with it (morath @ terra . es)

Many thanks for your effort!
Dmitry Babain
RE: Private Messaging Feature
November 17, 2009 2:42 AM
Answer

Dmitry Babain

Rank: Regular Member

Posts: 238

Join Date: November 23, 2008

Recent Posts

I'd like a copy too. Pleaseemoticon
Dariusz Sawicki
RE: Private Messaging Feature
November 23, 2009 5:19 AM
Answer

Dariusz Sawicki

Rank: Regular Member

Posts: 165

Join Date: March 27, 2009

Recent Posts

Hi

I'm also interested in testing it.


Could you send me it dsawicki@notes.pl

Best Regards

Dariusz Sawicki
Daniel M. Ingram
RE: Private Messaging Feature
November 30, 2009 8:56 AM
Answer

Daniel M. Ingram

Rank: New Member

Posts: 18

Join Date: August 21, 2009

Recent Posts

Here is the current version.

It is simple, but that is all I needed, and may serve as a basis for further development.

It currently runs well on Liferay 5.2.2 with Tomcat 5.0, but when we deploy it to my omegabit site it won't run, not sure why, so more work needed.

Let me know your thoughts if you wish.

Daniel
Attachments: dharma-pm-portlet-5.2.3.1.war (259.2k)
Maese Theobald
RE: Private Messaging Feature
November 30, 2009 9:54 AM
Answer

Maese Theobald

Rank: Junior Member

Posts: 64

Join Date: September 8, 2009

Recent Posts

We’ll have a look at your very valuable development and keep you informed if we find any interesting contribution.

Many thanks
Dmitry Babain
RE: Private Messaging Feature
November 30, 2009 10:43 AM
Answer

Dmitry Babain

Rank: Regular Member

Posts: 238

Join Date: November 23, 2008

Recent Posts

Thanks! Seems to be running fine on liferay 5.2.3 - tomcat 6 - vistaemoticon

But IE8 client can only view incoming messages, he cannot delete or compose, some javascript errors.
In Chrome everything is ok.
Richard Oliver Legendi
RE: Private Messaging Feature
December 18, 2009 4:40 AM
Answer

Richard Oliver Legendi

Rank: Junior Member

Posts: 35

Join Date: November 30, 2009

Recent Posts

Very nice work, indeed, thanks for sharing with the community! I was just searching for a portlet featuring this functionality.
It works fine with Tomcat 6.0.20and Liferay 5.2.3 as well.

However, when I install the portlet I get the following messages (although it is working perfectly):

 1
 213:09:06,328 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMMessage via "ant build-service" or else caching will not work
 313:09:06,328 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMMessage via "ant build-service" or else caching will not work
 413:09:06,328 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMDeletedMessage via "ant build-service" or else caching will not work
 513:09:06,343 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMDeletedMessage via "ant build-service" or else caching will not work
 613:09:06,343 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMBlockedUser via "ant build-service" or else caching will not work
 713:09:06,343 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMBlockedUser via "ant build-service" or else caching will not work
 813:09:06,343 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMDeletedMessage via "ant build-service" or else caching will not work
 913:09:06,343 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMDeletedMessage via "ant build-service" or else caching will not work
1013:09:06,343 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMBlockedUser via "ant build-service" or else caching will not work
1113:09:06,343 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMBlockedUser via "ant build-service" or else caching will not work
1213:09:06,359 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMMessage via "ant build-service" or else caching will not work
1313:09:06,359 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMMessage via "ant build-service" or else caching will not work
1413:09:06,359 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMDeletedMessage via "ant build-service" or else caching will not work
1513:09:06,359 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMDeletedMessage via "ant build-service" or else caching will not work
1613:09:06,359 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMBlockedUser via "ant build-service" or else caching will not work
1713:09:06,375 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMBlockedUser via "ant build-service" or else caching will not work
1813:09:06,375 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMDeletedMessage via "ant build-service" or else caching will not work
1913:09:06,375 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMDeletedMessage via "ant build-service" or else caching will not work
2013:09:06,375 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMBlockedUser via "ant build-service" or else caching will not work
2113:09:06,375 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMBlockedUser via "ant build-service" or else caching will not work
2213:09:06,390 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMReadMessage via "ant build-service" or else caching will not work
2313:09:06,390 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMReadMessage via "ant build-service" or else caching will not work
2413:09:06,390 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMReadMessage via "ant build-service" or else caching will not work
2513:09:06,406 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMReadMessage via "ant build-service" or else caching will not work


When I run the build-service and deploy, the error messages disappear.

However, I've encountered another issue. When I try to run the compile target, it gives 4 error messages:

1
2    [javac] C:\eclipse\...\com\dharma\model\impl\PMBlockedUserImpl.java:33: com.liferay.portal.model.BaseModel cannot be inherited with different arguments: <> and <com.dharma.model.PMBlockedUser>
3    [javac] public class PMBlockedUserImpl extends PMBlockedUserModelImpl
4    [javac]        ^


The other 3 error messages are the same, but for the classes PMDeletedMessageImpl, PMMessageImpl, PMReadMessageImpl.

I tried to delete these files and regenerate them with build-service, but the same Java files were generated, resulting in the same compilation errors.

Any hints how to solve these errors?
G P
RE: Private Messaging Feature
December 21, 2009 5:06 AM
Answer

G P

Rank: Regular Member

Posts: 137

Join Date: August 19, 2009

Recent Posts

Hi Daniel, Really this a great conrtibution.
And I just deployed this portlet in Liferay+tomcat bundle 5.2.2 then I'm not able to see the groups or users or communities for composing a message. Instead I can send the message to all users.
Is it work like this only?? Or we can send the messages to a particular user or a group ?

Any documentation did you have on this?
Ones again thanks for such a great contribution.
András Róbert Imre
RE: Private Messaging Feature
December 25, 2009 11:50 PM
Answer

András Róbert Imre

Rank: New Member

Posts: 4

Join Date: December 1, 2009

Recent Posts

This is most likely caused by a previously compiled PMBlockedUserModel interface which has no generic parameter but is on the classpath. Namely, check the dharma-pm-portlet-service.jar in the plugin's \docroot\WEB-INF\lib. The PMBlockedUserModel in the war file has no generic parameter. Most likely this was generated with a previous ServiceBuilder.

If you remove the above jar, compile will still fail, since *ModelImpl.java should contain a toXmlString() method (see BaseModel).

Instead of backporting this method I suggest to rebuild the service source, using generic and maybe other enhancements.
The following has worked for me:
  • delete the jar mentioned above which contains the compiled old interfaces/classes
  • delete all java source
  • run ant build-service - creates all service source, using generic
  • replace generated *LocalServiceImpl.java with the original war source files - adds logic
  • copy back class source for packages com.dharma.pm.portlet and com.dharma.pm.util - these are not service-related original files
  • re-run ant build-service - updates service source with the added logic
  • run ant-compile - now there should be no errors
Artem Khojoyan
Private Messaging Feature
January 13, 2010 1:15 PM
Answer

Artem Khojoyan

Rank: New Member

Posts: 17

Join Date: February 19, 2007

Recent Posts

Hi All,

Here is the latest version of the Private Messaging portlet.
To all the people who still interested - please feel free to try and drop your comments.

Thanks,
Artem Khojoyan
Attachments: dharma-pm-portlet-5.2.3.1.war (259.6k)
Richard Oliver Legendi
RE: Private Messaging Feature
January 20, 2010 2:36 AM
Answer

Richard Oliver Legendi

Rank: Junior Member

Posts: 35

Join Date: November 30, 2009

Recent Posts

Hi guys! Ain't sure but I guess I've found a possible bug.

If someone sends a community message, it become read to all of the recipients after the first user read it.
Christian Merkel
RE: Private Messaging Feature
January 20, 2010 4:35 AM
Answer

Christian Merkel

Rank: Regular Member

Posts: 111

Join Date: December 14, 2009

Recent Posts

Nice! this is exacly what i'm missing in liferay!

but i got following errors:

 112:26:49,025 INFO  [PortletHotDeployListener:346] 1 portlet for dharma-pm-portlet is available for use
 212:27:54,651 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMMessage via "ant build-service" o
 3r else caching will not work
 412:27:54,839 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMMessage via "ant build-service" o
 5r else caching will not work
 612:27:54,886 ERROR [FinderCacheUtil:59] Regenerate com.dharma.model.PMMessage via "ant build-service" o
 7r else caching will not work
 812:27:54,917 ERROR [FinderCacheUtil:83] Regenerate com.dharma.model.PMMessage via "ant build-service" o
 9r else caching will not work
1012:27:54,948 WARN  [ResourceActionsUtil:564] Unable to obtain resource actions for unknown portlet Dhar
11maOvergroundPrivateMessages


this error comes up each time i view a page containing the portlet!
what must i do?

And can u change the title of the input on the send-page from "TO" to "FILTER", cuz i think this input is the filter for the select-boxes under it.

GREAT WORK SO FAR!
KEEP GOING.
Corné Aussems
RE: Private Messaging Feature
January 20, 2010 5:55 AM
Answer

Corné Aussems

Rank: Liferay Legend

Posts: 1313

Join Date: October 3, 2006

Recent Posts

Thanks for the good job guys,
We were waiting for such a thing a long time
R charan
RE: Private Messaging Feature
February 28, 2010 9:42 PM
Answer

R charan

Rank: Junior Member

Posts: 72

Join Date: October 28, 2008

Recent Posts

hi daniel,

i have download and installed in 5.2.3

4 INFO [PortletHotDeployListener:346] 1 portlet for dharma-pm-portlet is available for use
05:36:11,694 ERROR [HotDeployUtil:111] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error sending deploy message for dharma-pm-portlet
com.liferay.portal.kernel.deploy.hot.HotDeployException: Error sending deploy message for dharma-pm-portlet
at com.liferay.portal.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:58)
at com.liferay.portal.deploy.hot.MessagingHotDeployListener.invokeDeploy(MessagingHotDeployListener.java:46)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:108)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:153)
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:43)
at com.liferay.portal.kernel.servlet.PortletContextListener.portalInit(PortletContextListener.java:113)
at com.liferay.portal.kernel.util.PortalInitableUtil.init(PortalInitableUtil.java:48)
at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:109)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at com.liferay.portal.kernel.messaging.MessageBusUtil._sendMessage(MessageBusUtil.java:178)
at com.liferay.portal.kernel.messaging.MessageBusUtil.sendMessage(MessageBusUtil.java:88)
at com.liferay.portal.deploy.hot.MessagingHotDeployListener.doInvokeDeploy(MessagingHotDeployListener.java:71)
at com.liferay.portal.deploy.hot.MessagingHotDeployListener.invokeDeploy(MessagingHotDeployListener.java:43)
... 22 more



when i sent a message, it is just shown in outbox. No email or sms sent.
Jelmer Kuperus
RE: Private Messaging Feature
June 10, 2010 6:59 AM
Answer

Jelmer Kuperus

Rank: Liferay Legend

Posts: 1192

Join Date: March 10, 2010

Recent Posts

Hi, thanks for this. Since I needed this to run on liferay 6.0 i made some modifications to make it run in the just released liferay 6 rc2. I attached the war for those interested. I haven't gotten around to really testing it. But on first inspection it seems to run fine
Attachments: dharma-pm-portlet-6.0.2.1.war (306.9k)
Kirk Stork
RE: Private Messaging Feature
June 15, 2010 2:30 PM
Answer

Kirk Stork

Rank: Junior Member

Posts: 29

Join Date: May 19, 2010

Recent Posts

It isn't clear to me what to do either. I don't see a build.xml file anywhere in the war file, so where exactlly do I invoke 'ant build-service'?
Olivier Jouve
RE: Private Messaging Feature
July 29, 2010 5:39 AM
Answer

Olivier Jouve

Rank: New Member

Posts: 4

Join Date: July 21, 2010

Recent Posts

Once the portlet was deployed, we obtain an error when we try to send a message.

"Portlet is temporarily unavailable."

Somebody can he help us ?
Szymon Gołębiewski
RE: Private Messaging Feature
August 9, 2010 6:56 AM
Answer

Szymon Gołębiewski

Rank: Regular Member

Posts: 247

Join Date: June 8, 2009

Recent Posts

Artem Khojoyan:
Hi All,

Here is the latest version of the Private Messaging portlet.
To all the people who still interested - please feel free to try and drop your comments.

Thanks,
Artem Khojoyan


Artem,

I think this portlet is one of the best community portlets for Liferay. Sadly it doesn't work under LR 6.0.3 emoticon We want to fix it but there's not much we can do with WAR file. Could you share source code of this portlet? Sourceforge maybe?

Cheers,
Simon
Manuel de la Peña
RE: Private Messaging Feature
August 23, 2010 1:34 AM
Answer

Manuel de la Peña

Rank: Regular Member

Posts: 116

Join Date: December 4, 2008

Recent Posts

Many thanks, Artem!

I was looking for this feature.

It works for me on LR-5.2.3, with Tomcat.

Good job!
Kirk Stork
RE: Private Messaging Feature
September 14, 2010 1:16 PM
Answer

Kirk Stork

Rank: Junior Member

Posts: 29

Join Date: May 19, 2010

Recent Posts

To make a war file into a project, unjar it into a folder in a liferay portlet plugin sdk as follows.

1- sdk-dir
2   - portlets
3      - dharma-pm-portlet
4         build.xml
5         - docroot
6             #contents of war file


build.xml should then contain something like

1<?xml version="1.0"?>
2
3<project name="portlet" basedir="." default="deploy">
4    <import file="../build-common-portlet.xml" />
5</project>


from there you can edit the source, which you will find in

1portlets/dharma-pm-portlet/docroot/WEB-INF/src


the ant build file will then work like it does for any other portlet development project.


BUT

It would still be nice to have this project be in a source repository somewhere, being maintained by the originators if possible. So I vote +1 for your request as well. I also can't get it to work in 6.0.5 -- it looks like something changed with the way spring is configured.
Manuel de la Peña
RE: Private Messaging Feature
September 22, 2010 3:10 AM
Answer

Manuel de la Peña

Rank: Regular Member

Posts: 116

Join Date: December 4, 2008

Recent Posts

Hello Artem,

i've a problem with the PM portlet, because it makes the 'two-column-70%-30%' layout work in an odd way: the right-30% column disappears if I drop the PM portlet at left-70% column (after refreshing the page).

Do you know of this issue?

Many thanks!
Manuel de la Peña
RE: Private Messaging Feature
September 22, 2010 11:40 PM
Answer

Manuel de la Peña

Rank: Regular Member

Posts: 116

Join Date: December 4, 2008

Recent Posts

Hello!, i've solved the problem with layouts.

It's necessary to open <form> and <table> tags before
1if(totalcount=0)
, in these JPS: view.jsp, outbox.jsp, trash.jsp.

The problem was happening when there weren't rows (messages) in table-lists (never put opening tags), so the layout was closed.

Example: Outbox.jsp
 1
 2<form id="view_form" action="" method="post">
 3                    <input type="hidden" id="messageId" name="messageId" value = "" />
 4                    <table style="width:100%">
 5                <%
 6                    if(totalCount == 0) {
 7                %>
 8                        <tr>
 9                            <td>
10                                <liferay-ui:message key="pm.portlet.outbox.sent.zero" />
11                            </td>
12                        </tr>
13                <%
14                    } else {
15                %>


Byes!
Kirk Stork
RE: Private Messaging Feature
September 23, 2010 7:55 AM
Answer

Kirk Stork

Rank: Junior Member

Posts: 29

Join Date: May 19, 2010

Recent Posts

I've managed to turn the war file into a plugin project which I'm hosting here:

http://github.com/kastork/dharma-pm-portlet

I've also made a few small changes and built them into a war file for Liferay 6.0.5. This seems to work, but I haven't really tested it much. This war file is now hosted here at liferay.com in the community plugins repository.

The changes are:

1. Built for 6.0.5
2. No longer verifies user Terms of Service agreement when listing available users.
3. Replace the hard-coded email headers with properties you can set in portal-ext.properties:

dharma.pm.fromaddress="admin@example.com"
dharma.pm.fromname="Portal Administrator"
dharma.pm.mailsubject="New personal message available on portal."
emanuele notarnicola
RE: Private Messaging Feature
October 25, 2010 4:34 AM
Answer

emanuele notarnicola

Rank: Junior Member

Posts: 29

Join Date: August 24, 2010

Recent Posts

I think this portlet has some bugs for example, outgoing mail is not deleted someone finally took a look....


thanks...
Kirk Stork
RE: Private Messaging Feature
October 25, 2010 6:06 AM
Answer

Kirk Stork

Rank: Junior Member

Posts: 29

Join Date: May 19, 2010

Recent Posts

emanuele notarnicola:
I think this portlet has some bugs for example, outgoing mail is not deleted someone finally took a look....


Hi emanuele. It wouldn't surprise me if there are some bugs. The portlet really hasn't changed much since its introduction, as people have simply been regenerating the service builder classes and recompiling as Liferay has matured.

If you can be specific about the problems you are having, please file an issue at the GitHub project (or better yet, fork it and fix it). Maybe we can get a small community interested enough to inspire some improvements.
Heba El Ayoty
RE: Private Messaging Feature
January 16, 2011 7:50 AM
Answer

Heba El Ayoty

Rank: New Member

Posts: 12

Join Date: October 20, 2010

Recent Posts

Hello,
I can't import this project as liferay plug-in project emoticon


please help
Kirk Stork
RE: Private Messaging Feature
November 4, 2010 8:08 AM
Answer

Kirk Stork

Rank: Junior Member

Posts: 29

Join Date: May 19, 2010

Recent Posts

Heba El Ayoty:
Hello,
I can't import this project as liferay plug-in project emoticon
please help


Hi Heba

As it sits, this project is set up as suggested in the Liferay SDK documentation -- which doesn't account for IDE's.

Please see

http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/the-plugins-sdk
http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/structure-of-the-sdk

You just put the project directory in the right place as discussed there, and use Ant to build it.

To take this and turn it into a project in some IDE, I'd have to refer you to the documentation or the user community for the IDE you're trying to use.
Mohammed Kamel
RE: Private Messaging Feature
January 22, 2011 6:52 AM
Answer

Mohammed Kamel

Rank: New Member

Posts: 2

Join Date: December 9, 2010

Recent Posts

What license is this excellent portlet published under?
Szymon Gołębiewski
RE: Private Messaging Feature
January 23, 2011 8:26 AM
Answer
Kirk Stork
RE: Private Messaging Feature
January 24, 2011 9:11 AM
Answer

Kirk Stork

Rank: Junior Member

Posts: 29

Join Date: May 19, 2010

Recent Posts

Hi Mohammed,

I haven't seen Daniel around in some time.

The licensing for this is not entirely clear to me. Some parts of the code say GPL, others say MIT. I can't find any definitive history by the copyright holders that resolves the issue to one license or the other.

Personally, until I hear otherwise from the copyright holders, I'm treating all of it as GPL, which seems the more conservative interpretation of what is stated in the code base.
Piergiorgio Lucidi
RE: Private Messaging Feature
February 15, 2011 3:35 AM
Answer

Piergiorgio Lucidi

Rank: New Member

Posts: 4

Join Date: June 10, 2009

Recent Posts

I solved an issue for this portlet, email notifications now correctly work. I created a new issue in the GitHub project and I commented with the new snippet to change on the code.

Hope this helps.
Natasa Bulatovic
RE: Private Messaging Feature
July 20, 2011 9:04 AM
Answer

Natasa Bulatovic

Rank: Junior Member

Posts: 28

Join Date: June 7, 2011

Recent Posts

Dear all,

this portlet has a privacy issue for messages:
when a logged-in user pastes an URL into the browser (from a message exchanged between two other users) s/he is able to see the message, even reply to whomever with the same message.

As we are planning to use it, not certain how much work needs to be done to resolve this issue, maybe somebody of developers could post an advice?

best,
Natasa
Jan Geißler
RE: Private Messaging Feature
January 3, 2012 4:03 AM
Answer

Jan Geißler

Community Moderator

Rank: Liferay Master

Posts: 735

Join Date: July 5, 2011

Recent Posts

I just implemented Internationalization into the Portlet.
war with sourceFiles is attached.
Only German Translations in it, english File is present, but not filled ;)
Attachments: pm-portlet.war (501.5k)
Dominik Hofbauer
RE: Private Messaging Feature
January 23, 2012 6:59 AM
Answer

Dominik Hofbauer

Rank: Junior Member

Posts: 57

Join Date: November 10, 2008

Recent Posts

Thanks for your addition!! Could you please tell me which portal version this portlet can be deployed?

Cheerz
Jan Geißler
RE: Private Messaging Feature
January 28, 2012 11:49 AM
Answer

Jan Geißler

Community Moderator

Rank: Liferay Master

Posts: 735

Join Date: July 5, 2011

Recent Posts

Deployed and tested on 6.0.5
Zdravko Nikolov
RE: Private Messaging Feature
July 10, 2012 11:26 PM
Answer

Zdravko Nikolov

Rank: New Member

Posts: 1

Join Date: July 10, 2012

Recent Posts

Hello all,

I'm using Liferay 6.1. I have downloaded and installed the Private Messaging portlet, but have faced an issue and I am stuck.
When I send a message to a user he does not receive it right away or does not receive it at all until the portlet is redeployed or the server is restarted. The message is in my sent list but it's not appearing in the other user's inbox. I've searched in the code and the thing that I found is that in the PMMessagePersistenceImpl the cache is cleared as follows:
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
if (isNew || !PMMessageModelImpl.COLUMN_BITMASK_ENABLED) {
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}...

The thing that I changed is calling the line in the If always.
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
if (isNew || !PMMessageModelImpl.COLUMN_BITMASK_ENABLED) {
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}...

This seems to solve my problem however I'm wondering if I'm changing the right thing.
Any help will be highly appreciated!

Regards,
Zdravko Nikolov
Mark Molina
RE: Private Messaging Feature
September 2, 2012 8:26 AM
Answer

Mark Molina

Rank: New Member

Posts: 4

Join Date: October 14, 2011

Recent Posts

First I think that the Dharma portlet is very useful, actually i made some changes on it for Liferay 6.05. But right now i am using the 6.1 version and the source for 6.05 has too many issues, specially in the service builder, and I can migrate it successfully. Can any body helps to me for migrate the project to 6.1 SDK.
Many thanks for everything, bye.
Mark
Kirk Stork
RE: Private Messaging Feature
September 2, 2012 12:53 PM
Answer

Kirk Stork

Rank: Junior Member

Posts: 29

Join Date: May 19, 2010

Recent Posts

I've updated the project for Liferay 6.1 (Source and war file available on Github.)

Note that Liferay now has their own Private Messaging Portlet, which is probably a better choice (Source on Github)
Ramesh Reddy
RE: Private Messaging Feature
October 20, 2012 1:11 AM
Answer

Ramesh Reddy

Rank: Junior Member

Posts: 32

Join Date: October 17, 2012

Recent Posts

even i'm facing the same problem, i've modified the code, but still it is not working...
Can you give the working portlet?
Natasa Bulatovic
RE: Private Messaging Feature
October 20, 2012 2:12 AM
Answer

Natasa Bulatovic

Rank: Junior Member

Posts: 28

Join Date: June 7, 2011

Recent Posts

Ramesh Reddy:
even i'm facing the same problem, i've modified the code, but still it is not working...
Can you give the working portlet?


Hi Ramesh,

Check Kirk's suggestion and use the Private messaging portlet from Liferay. It works pretty happily emoticon
Ramesh Reddy
RE: Private Messaging Feature
October 20, 2012 3:58 AM
Answer

Ramesh Reddy

Rank: Junior Member

Posts: 32

Join Date: October 17, 2012

Recent Posts

Natasa Bulatovic:
Ramesh Reddy:
even i'm facing the same problem, i've modified the code, but still it is not working...
Can you give the working portlet?


Hi Ramesh,

Check Kirk's suggestion and use the Private messaging portlet from Liferay. It works pretty happily emoticon



Hi Natasa,

I have tried the liferay private messaging portlet, when i try to send message i get "Message send successfully" , but the user he does not got any messages, so can you please tell me any thing i have to configure still, i have tried dharma private message portlet, this one have the same problem....
Mark Molina
RE: Private Messaging Feature
October 20, 2012 10:14 AM
Answer

Mark Molina

Rank: New Member

Posts: 4

Join Date: October 14, 2011

Recent Posts

Maybe it could be helpfully: I have some problems like these but I fixed changing the service.xml, unchecking the cache of all the entities. If you are using the Liferay IDE it can be done inside the GUI but can be done also inside the service.cml file. Is necessary Build service again and that is all. I wait it can helps you. Many thanks and best regards,
Mark
Natasa Bulatovic
RE: Private Messaging Feature
October 20, 2012 11:11 AM
Answer

Natasa Bulatovic

Rank: Junior Member

Posts: 28

Join Date: June 7, 2011

Recent Posts

Ramesh,

Can not help much, but only suggestion: check your logs.. and do you have Liferay settings for email set-up properly?
Do you get any email notifications (not only by the private messages) from Liferay?

Best,
Natasa
Ramesh Reddy
RE: Private Messaging Feature
October 23, 2012 1:17 AM
Answer

Ramesh Reddy

Rank: Junior Member

Posts: 32

Join Date: October 17, 2012

Recent Posts

Hi Kirk,
Can you please post the jar file.....
Kirk Stork
RE: Private Messaging Feature
October 23, 2012 4:40 PM
Answer

Kirk Stork

Rank: Junior Member

Posts: 29

Join Date: May 19, 2010

Recent Posts

I thought about this and decided it would not be useful to post that jar. I was just noodling around before, and can't say that the solution I discussed has any grounding in reality or common sense (all I wanted to do was establish that it could work, and I shared my notes. I've deleted that post.). Portlets you find in that repository are not always meant to be "out of the box" solutions -- and I think this is the case for Private Messaging.

I suggest you try Social Office, which you can get from Marketplace, as it has a functional private messaging system and other interesting features. Since it is a released project, it is also likely to have much better community support than the example in the portlets repository. Installing it is straightforward, but then getting to understand how it works and make a site around it is a little bit of a challenge (there are new roles, templates and hook settings to learn about). From there you can experiment with using the messaging plugins in your own ways. Having Social Office installed doesn't necessarily mean that your site becomes a "Social Office" site (that notion comes from the old practice of distributing Social Office as a completely different stand-lone bundle, bu this is no longer the case).

WARNING

Don't install Social Office on an existing site -- the "upgrade" process will whack all your existing pages. It seems like they haven't quite worked out a non-destructive Marketplace install mechanism for such an extensive plugin.

WARNING