Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Private Messaging Feature John Martin 28 luglio 2008 10.43
RE: Private Messaging Feature Stan X 4 agosto 2008 18.33
RE: Private Messaging Feature Ganesh Ram 4 agosto 2008 18.58
RE: Private Messaging Feature John Martin 5 agosto 2008 6.29
RE: Private Messaging Feature Mauro Mariuzzo 5 agosto 2008 6.32
RE: Private Messaging Feature John Martin 5 agosto 2008 11.05
Re: [Liferay Forums][7. Suggestions and Feature Requests] RE: Private Messa Ray Augé 6 agosto 2008 22.08
RE: Re: [Liferay Forums][7. Suggestions and Feature Requests] RE: Private M Mauro Mariuzzo 7 agosto 2008 6.54
RE: Re: [Liferay Forums][7. Suggestions and Feature Requests] RE: Private M Secret Developer 4 settembre 2009 13.01
RE: Private Messaging Featur Jeffrey Lilly 13 agosto 2008 18.24
RE: Private Messaging Feature John Martin 19 agosto 2008 8.06
RE: Private Messaging Feature Areshchanka Alexandr Alexandrovich 25 febbraio 2009 5.12
RE: Private Messaging Feature Jonas Yuan 4 settembre 2009 13.18
RE: Private Messaging Feature Daniel M. Ingram 5 settembre 2009 21.24
RE: Private Messaging Feature Lisa Simpson 8 settembre 2009 11.10
RE: Private Messaging Feature Daniel M. Ingram 11 settembre 2009 10.14
RE: Private Messaging Feature Jonas Yuan 11 settembre 2009 10.19
RE: Private Messaging Feature Keith Loose 17 settembre 2009 3.18
RE: Private Messaging Feature Lisa Simpson 17 settembre 2009 14.52
RE: Private Messaging Feature Jorge Ferrer 18 settembre 2009 0.59
RE: Private Messaging Feature Guido Kaltwasser 24 novembre 2008 2.18
RE: Private Messaging Feature Areshchanka Alexandr Alexandrovich 4 marzo 2009 8.44
RE: Private Messaging Feature Daniel M. Ingram 26 agosto 2009 22.09
RE: Private Messaging Feature Lisa Simpson 27 agosto 2009 8.16
RE: Private Messaging Feature Daniel M. Ingram 31 agosto 2009 12.54
RE: Private Messaging Feature Secret Developer 4 settembre 2009 13.08
RE: Private Messaging Feature Lisa Simpson 18 settembre 2009 20.30
RE: Private Messaging Feature Daniel M. Ingram 19 settembre 2009 0.53
RE: Private Messaging Feature Daniel M. Ingram 22 settembre 2009 12.17
RE: Private Messaging Feature Lisa Simpson 22 settembre 2009 15.14
RE: Private Messaging Feature Dmitry Babain 22 settembre 2009 22.52
RE: Private Messaging Feature Lisa Simpson 23 settembre 2009 11.19
RE: Private Messaging Feature Jorge Ferrer 23 settembre 2009 4.01
RE: Private Messaging Feature Secret Developer 25 settembre 2009 5.47
RE: Private Messaging Feature Daniel M. Ingram 29 settembre 2009 13.39
RE: Private Messaging Feature Daniel M. Ingram 16 novembre 2009 0.47
RE: Private Messaging Feature Milan Jaroš 19 novembre 2009 10.11
RE: Private Messaging Feature Andreas Oberhack 16 novembre 2009 1.08
RE: Private Messaging Feature Lisa Simpson 16 novembre 2009 14.51
RE: Private Messaging Feature Maese Theobald 16 novembre 2009 17.52
RE: Private Messaging Feature Dmitry Babain 17 novembre 2009 2.42
RE: Private Messaging Feature sawi _ 23 novembre 2009 5.19
RE: Private Messaging Feature Daniel M. Ingram 30 novembre 2009 8.56
RE: Private Messaging Feature Maese Theobald 30 novembre 2009 9.54
RE: Private Messaging Feature Dmitry Babain 30 novembre 2009 10.43
RE: Private Messaging Feature Richard Oliver Legendi 18 dicembre 2009 4.40
RE: Private Messaging Feature András Róbert Imre 25 dicembre 2009 23.50
RE: Private Messaging Feature G P 21 dicembre 2009 5.06
Private Messaging Feature Artem Khojoyan 13 gennaio 2010 13.15
RE: Private Messaging Feature Richard Oliver Legendi 20 gennaio 2010 2.36
RE: Private Messaging Feature Christian Merkel 20 gennaio 2010 4.35
RE: Private Messaging Feature Kirk Stork 15 giugno 2010 14.30
RE: Private Messaging Feature Olivier Jouve 29 luglio 2010 5.39
RE: Private Messaging Feature Corné Aussems 20 gennaio 2010 5.55
RE: Private Messaging Feature Jelmer Kuperus 10 giugno 2010 6.59
RE: Private Messaging Feature Szymon Gołębiewski 9 agosto 2010 6.56
RE: Private Messaging Feature Kirk Stork 14 settembre 2010 13.16
RE: Private Messaging Feature Manuel de la Peña 23 agosto 2010 1.34
RE: Private Messaging Feature Manuel de la Peña 22 settembre 2010 3.10
RE: Private Messaging Feature Manuel de la Peña 22 settembre 2010 23.40
RE: Private Messaging Feature R charan 28 febbraio 2010 21.42
RE: Private Messaging Feature Kirk Stork 23 settembre 2010 7.55
RE: Private Messaging Feature emanuele notarnicola 25 ottobre 2010 4.34
RE: Private Messaging Feature Kirk Stork 25 ottobre 2010 6.06
RE: Private Messaging Feature Heba El Ayoty 16 gennaio 2011 7.50
RE: Private Messaging Feature Kirk Stork 4 novembre 2010 8.08
RE: Private Messaging Feature Mohammed Kamel 22 gennaio 2011 6.52
RE: Private Messaging Feature Szymon Gołębiewski 23 gennaio 2011 8.26
RE: Private Messaging Feature Kirk Stork 24 gennaio 2011 9.11
RE: Private Messaging Feature Piergiorgio Lucidi 15 febbraio 2011 3.35
RE: Private Messaging Feature Natasa Bulatovic 20 luglio 2011 9.04
RE: Private Messaging Feature Jan Geißler 3 gennaio 2012 4.03
RE: Private Messaging Feature Dominik domih 23 gennaio 2012 6.59
RE: Private Messaging Feature Jan Geißler 28 gennaio 2012 11.49
RE: Private Messaging Feature Zdravko Nikolov 10 luglio 2012 23.26
RE: Private Messaging Feature Mark Molina 2 settembre 2012 8.26
RE: Private Messaging Feature Kirk Stork 2 settembre 2012 12.53
RE: Private Messaging Feature Ramesh Reddy 20 ottobre 2012 1.11
RE: Private Messaging Feature Natasa Bulatovic 20 ottobre 2012 2.12
RE: Private Messaging Feature Ramesh Reddy 20 ottobre 2012 3.58
RE: Private Messaging Feature Mark Molina 20 ottobre 2012 10.14
RE: Private Messaging Feature Natasa Bulatovic 20 ottobre 2012 11.11
RE: Private Messaging Feature Ramesh Reddy 23 ottobre 2012 1.17
RE: Private Messaging Feature Kirk Stork 23 ottobre 2012 16.40
John Martin
Private Messaging Feature
28 luglio 2008 10.43
Risposta

John Martin

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 23 giugno 2008

Messaggi recenti

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
4 agosto 2008 18.33
Risposta

Stan X

Punteggio: Regular Member

Messaggi: 202

Data di Iscrizione: 27 gennaio 2008

Messaggi recenti

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
4 agosto 2008 18.58
Risposta

Ganesh Ram

Punteggio: Regular Member

Messaggi: 201

Data di Iscrizione: 5 febbraio 2008

Messaggi recenti

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
5 agosto 2008 6.29
Risposta

John Martin

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 23 giugno 2008

Messaggi recenti

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
5 agosto 2008 6.32
Risposta

Mauro Mariuzzo

Punteggio: Regular Member

Messaggi: 139

Data di Iscrizione: 23 luglio 2007

Messaggi recenti

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
5 agosto 2008 11.05
Risposta

John Martin

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 23 giugno 2008

Messaggi recenti

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
6 agosto 2008 22.08
Risposta

Ray Augé

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1171

Data di Iscrizione: 7 febbraio 2005

Messaggi recenti

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
7 agosto 2008 6.54
Risposta

Mauro Mariuzzo

Punteggio: Regular Member

Messaggi: 139

Data di Iscrizione: 23 luglio 2007

Messaggi recenti

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
13 agosto 2008 18.24
Risposta

Jeffrey Lilly

Punteggio: New Member

Messaggi: 5

Data di Iscrizione: 14 giugno 2007

Messaggi recenti

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
19 agosto 2008 8.06
Risposta

John Martin

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 23 giugno 2008

Messaggi recenti

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
24 novembre 2008 2.18
Risposta

Guido Kaltwasser

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 15 settembre 2008

Messaggi recenti

Hi John

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

Kind Regards

Guido
Areshchanka Alexandr Alexandrovich
RE: Private Messaging Feature
25 febbraio 2009 5.12
Risposta

Areshchanka Alexandr Alexandrovich

Punteggio: New Member

Messaggi: 2

Data di Iscrizione: 25 febbraio 2009

Messaggi recenti

Could you please provide your solution because of I need to implement private messages too.
Areshchanka Alexandr Alexandrovich
RE: Private Messaging Feature
4 marzo 2009 8.44
Risposta

Areshchanka Alexandr Alexandrovich

Punteggio: New Member

Messaggi: 2

Data di Iscrizione: 25 febbraio 2009

Messaggi recenti

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
26 agosto 2009 22.09
Risposta

Daniel M. Ingram

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 21 agosto 2009

Messaggi recenti

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
27 agosto 2009 8.16
Risposta

Lisa Simpson

Punteggio: Liferay Legend

Messaggi: 2034

Data di Iscrizione: 5 marzo 2009

Messaggi recenti

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
31 agosto 2009 12.54
Risposta

Daniel M. Ingram

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 21 agosto 2009

Messaggi recenti

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
4 settembre 2009 13.01
Risposta

Secret Developer

Punteggio: Expert

Messaggi: 278

Data di Iscrizione: 23 giugno 2009

Messaggi recenti

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
4 settembre 2009 13.08
Risposta

Secret Developer

Punteggio: Expert

Messaggi: 278

Data di Iscrizione: 23 giugno 2009

Messaggi recenti

Any progress in this yet?

Baris
Jonas Yuan
RE: Private Messaging Feature
4 settembre 2009 13.18
Risposta

Jonas Yuan

Punteggio: Liferay Master

Messaggi: 993

Data di Iscrizione: 26 aprile 2007

Messaggi recenti

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
5 settembre 2009 21.24
Risposta

Daniel M. Ingram

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 21 agosto 2009

Messaggi recenti

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
8 settembre 2009 11.10
Risposta

Lisa Simpson

Punteggio: Liferay Legend

Messaggi: 2034

Data di Iscrizione: 5 marzo 2009

Messaggi recenti

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
11 settembre 2009 10.14
Risposta

Daniel M. Ingram

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 21 agosto 2009

Messaggi recenti

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
11 settembre 2009 10.19
Risposta

Jonas Yuan

Punteggio: Liferay Master

Messaggi: 993

Data di Iscrizione: 26 aprile 2007

Messaggi recenti

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
17 settembre 2009 3.18
Risposta

Keith Loose

Punteggio: New Member

Messaggi: 1

Data di Iscrizione: 17 settembre 2009

Messaggi recenti

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
17 settembre 2009 14.52
Risposta

Lisa Simpson

Punteggio: Liferay Legend

Messaggi: 2034

Data di Iscrizione: 5 marzo 2009

Messaggi recenti

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
18 settembre 2009 0.59
Risposta

Jorge Ferrer

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2764

Data di Iscrizione: 31 agosto 2006

Messaggi recenti

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
18 settembre 2009 20.30
Risposta

Lisa Simpson

Punteggio: Liferay Legend

Messaggi: 2034

Data di Iscrizione: 5 marzo 2009

Messaggi recenti

Daniel M. Ingram
RE: Private Messaging Feature
19 settembre 2009 0.53
Risposta

Daniel M. Ingram

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 21 agosto 2009

Messaggi recenti

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
22 settembre 2009 12.17
Risposta

Daniel M. Ingram

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 21 agosto 2009

Messaggi recenti

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
22 settembre 2009 15.14
Risposta

Lisa Simpson

Punteggio: Liferay Legend

Messaggi: 2034

Data di Iscrizione: 5 marzo 2009

Messaggi recenti

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
22 settembre 2009 22.52
Risposta

Dmitry Babain

Punteggio: Regular Member

Messaggi: 238

Data di Iscrizione: 23 novembre 2008

Messaggi recenti

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
23 settembre 2009 4.01
Risposta

Jorge Ferrer

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2764

Data di Iscrizione: 31 agosto 2006

Messaggi recenti

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
23 settembre 2009 11.19
Risposta

Lisa Simpson

Punteggio: Liferay Legend

Messaggi: 2034

Data di Iscrizione: 5 marzo 2009

Messaggi recenti

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
25 settembre 2009 5.47
Risposta

Secret Developer

Punteggio: Expert

Messaggi: 278

Data di Iscrizione: 23 giugno 2009

Messaggi recenti

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

Baris
barissener@gmail.com
Daniel M. Ingram
RE: Private Messaging Feature
29 settembre 2009 13.39
Risposta

Daniel M. Ingram

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 21 agosto 2009

Messaggi recenti

Thanks!

I'll let you know.
Daniel M. Ingram
RE: Private Messaging Feature
16 novembre 2009 0.47
Risposta

Daniel M. Ingram

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 21 agosto 2009

Messaggi recenti

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
19 novembre 2009 10.11
Risposta

Milan Jaroš

Punteggio: Expert

Messaggi: 269

Data di Iscrizione: 18 agosto 2008

Messaggi recenti

Of course I am. ;)
milan.jaros at gmail dot com
Andreas Oberhack
RE: Private Messaging Feature
16 novembre 2009 1.08
Risposta

Andreas Oberhack

Punteggio: New Member

Messaggi: 9

Data di Iscrizione: 9 marzo 2009

Messaggi recenti

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
16 novembre 2009 14.51
Risposta

Lisa Simpson

Punteggio: Liferay Legend

Messaggi: 2034

Data di Iscrizione: 5 marzo 2009

Messaggi recenti

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
16 novembre 2009 17.52
Risposta

Maese Theobald

Punteggio: Junior Member

Messaggi: 64

Data di Iscrizione: 8 settembre 2009

Messaggi recenti

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
17 novembre 2009 2.42
Risposta

Dmitry Babain

Punteggio: Regular Member

Messaggi: 238

Data di Iscrizione: 23 novembre 2008

Messaggi recenti

I'd like a copy too. Pleaseemoticon
sawi _
RE: Private Messaging Feature
23 novembre 2009 5.19
Risposta

sawi _

Punteggio: Regular Member

Messaggi: 153

Data di Iscrizione: 27 marzo 2009

Messaggi recenti

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
30 novembre 2009 8.56
Risposta

Daniel M. Ingram

Punteggio: New Member

Messaggi: 18

Data di Iscrizione: 21 agosto 2009

Messaggi recenti

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
Allegati: dharma-pm-portlet-5.2.3.1.war (259,2k)
Maese Theobald
RE: Private Messaging Feature
30 novembre 2009 9.54
Risposta

Maese Theobald

Punteggio: Junior Member

Messaggi: 64

Data di Iscrizione: 8 settembre 2009

Messaggi recenti

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
30 novembre 2009 10.43
Risposta

Dmitry Babain

Punteggio: Regular Member

Messaggi: 238

Data di Iscrizione: 23 novembre 2008

Messaggi recenti

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
18 dicembre 2009 4.40
Risposta

Richard Oliver Legendi

Punteggio: Junior Member

Messaggi: 35

Data di Iscrizione: 30 novembre 2009

Messaggi recenti

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
21 dicembre 2009 5.06
Risposta

G P

Punteggio: Regular Member

Messaggi: 137

Data di Iscrizione: 19 agosto 2009

Messaggi recenti

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
25 dicembre 2009 23.50
Risposta

András Róbert Imre

Punteggio: New Member

Messaggi: 4

Data di Iscrizione: 1 dicembre 2009

Messaggi recenti

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
13 gennaio 2010 13.15
Risposta

Artem Khojoyan

Punteggio: New Member

Messaggi: 6

Data di Iscrizione: 19 febbraio 2007

Messaggi recenti

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
Allegati: dharma-pm-portlet-5.2.3.1.war (259,6k)
Richard Oliver Legendi
RE: Private Messaging Feature
20 gennaio 2010 2.36
Risposta

Richard Oliver Legendi

Punteggio: Junior Member

Messaggi: 35

Data di Iscrizione: 30 novembre 2009

Messaggi recenti

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
20 gennaio 2010 4.35
Risposta

Christian Merkel

Punteggio: Regular Member

Messaggi: 111

Data di Iscrizione: 14 dicembre 2009

Messaggi recenti

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
20 gennaio 2010 5.55
Risposta

Corné Aussems

Punteggio: Liferay Legend

Messaggi: 1271

Data di Iscrizione: 3 ottobre 2006

Messaggi recenti

Thanks for the good job guys,
We were waiting for such a thing a long time
R charan
RE: Private Messaging Feature
28 febbraio 2010 21.42
Risposta

R charan

Punteggio: Junior Member

Messaggi: 72

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

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
10 giugno 2010 6.59
Risposta

Jelmer Kuperus

Punteggio: Liferay Legend

Messaggi: 1192

Data di Iscrizione: 10 marzo 2010

Messaggi recenti

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
Allegati: dharma-pm-portlet-6.0.2.1.war (306,9k)
Kirk Stork
RE: Private Messaging Feature
15 giugno 2010 14.30
Risposta

Kirk Stork

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 19 maggio 2010

Messaggi recenti

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
29 luglio 2010 5.39
Risposta

Olivier Jouve

Punteggio: New Member

Messaggi: 4

Data di Iscrizione: 21 luglio 2010

Messaggi recenti

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
9 agosto 2010 6.56
Risposta

Szymon Gołębiewski

Punteggio: Regular Member

Messaggi: 247

Data di Iscrizione: 8 giugno 2009

Messaggi recenti

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
23 agosto 2010 1.34
Risposta

Manuel de la Peña

Punteggio: Regular Member

Messaggi: 116

Data di Iscrizione: 4 dicembre 2008

Messaggi recenti

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
14 settembre 2010 13.16
Risposta

Kirk Stork

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 19 maggio 2010

Messaggi recenti

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
22 settembre 2010 3.10
Risposta

Manuel de la Peña

Punteggio: Regular Member

Messaggi: 116

Data di Iscrizione: 4 dicembre 2008

Messaggi recenti

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
22 settembre 2010 23.40
Risposta

Manuel de la Peña

Punteggio: Regular Member

Messaggi: 116

Data di Iscrizione: 4 dicembre 2008

Messaggi recenti

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
23 settembre 2010 7.55
Risposta

Kirk Stork

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 19 maggio 2010

Messaggi recenti

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
25 ottobre 2010 4.34
Risposta

emanuele notarnicola

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 24 agosto 2010

Messaggi recenti

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
25 ottobre 2010 6.06
Risposta

Kirk Stork

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 19 maggio 2010

Messaggi recenti

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
16 gennaio 2011 7.50
Risposta

Heba El Ayoty

Punteggio: New Member

Messaggi: 12

Data di Iscrizione: 20 ottobre 2010

Messaggi recenti

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


please help
Kirk Stork
RE: Private Messaging Feature
4 novembre 2010 8.08
Risposta

Kirk Stork

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 19 maggio 2010

Messaggi recenti

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
22 gennaio 2011 6.52
Risposta

Mohammed Kamel

Punteggio: New Member

Messaggi: 2

Data di Iscrizione: 9 dicembre 2010

Messaggi recenti

What license is this excellent portlet published under?
Szymon Gołębiewski
RE: Private Messaging Feature
23 gennaio 2011 8.26
Risposta
Kirk Stork
RE: Private Messaging Feature
24 gennaio 2011 9.11
Risposta

Kirk Stork

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 19 maggio 2010

Messaggi recenti

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
15 febbraio 2011 3.35
Risposta

Piergiorgio Lucidi

Punteggio: New Member

Messaggi: 4

Data di Iscrizione: 10 giugno 2009

Messaggi recenti

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
20 luglio 2011 9.04
Risposta

Natasa Bulatovic

Punteggio: Junior Member

Messaggi: 28

Data di Iscrizione: 7 giugno 2011

Messaggi recenti

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
3 gennaio 2012 4.03
Risposta

Jan Geißler

Punteggio: Expert

Messaggi: 374

Data di Iscrizione: 5 luglio 2011

Messaggi recenti

I just implemented Internationalization into the Portlet.
war with sourceFiles is attached.
Only German Translations in it, english File is present, but not filled ;)
Allegati: pm-portlet.war (501,5k)
Dominik domih
RE: Private Messaging Feature
23 gennaio 2012 6.59
Risposta

Dominik domih

Punteggio: Junior Member

Messaggi: 56

Data di Iscrizione: 10 novembre 2008

Messaggi recenti

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
28 gennaio 2012 11.49
Risposta

Jan Geißler

Punteggio: Expert

Messaggi: 374

Data di Iscrizione: 5 luglio 2011

Messaggi recenti

Deployed and tested on 6.0.5
Zdravko Nikolov
RE: Private Messaging Feature
10 luglio 2012 23.26
Risposta

Zdravko Nikolov

Punteggio: New Member

Messaggi: 1

Data di Iscrizione: 10 luglio 2012

Messaggi recenti

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
2 settembre 2012 8.26
Risposta

Mark Molina

Punteggio: New Member

Messaggi: 4

Data di Iscrizione: 14 ottobre 2011

Messaggi recenti

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
2 settembre 2012 12.53
Risposta

Kirk Stork

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 19 maggio 2010

Messaggi recenti

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
20 ottobre 2012 1.11
Risposta

Ramesh Reddy

Punteggio: Junior Member

Messaggi: 32

Data di Iscrizione: 17 ottobre 2012

Messaggi recenti

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
20 ottobre 2012 2.12
Risposta

Natasa Bulatovic

Punteggio: Junior Member

Messaggi: 28

Data di Iscrizione: 7 giugno 2011

Messaggi recenti

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
20 ottobre 2012 3.58
Risposta

Ramesh Reddy

Punteggio: Junior Member

Messaggi: 32

Data di Iscrizione: 17 ottobre 2012

Messaggi recenti

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
20 ottobre 2012 10.14
Risposta

Mark Molina

Punteggio: New Member

Messaggi: 4

Data di Iscrizione: 14 ottobre 2011

Messaggi recenti

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
20 ottobre 2012 11.11
Risposta

Natasa Bulatovic

Punteggio: Junior Member

Messaggi: 28

Data di Iscrizione: 7 giugno 2011

Messaggi recenti

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
23 ottobre 2012 1.17
Risposta

Ramesh Reddy

Punteggio: Junior Member

Messaggi: 32

Data di Iscrizione: 17 ottobre 2012

Messaggi recenti

Hi Kirk,
Can you please post the jar file.....
Kirk Stork
RE: Private Messaging Feature
23 ottobre 2012 16.40
Risposta

Kirk Stork

Punteggio: Junior Member

Messaggi: 29

Data di Iscrizione: 19 maggio 2010

Messaggi recenti

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