[Register]
Powered by Elgg

Plugins :: Blog :: Private Messages Plug-in

March 07, 2007

I have uploaded the version 0.1 of the private messages plug-in. It allows to do the following things:

  - List messages
  - List sent messages
  - Send messages to friends
  - Send messages to communities
  - Delete messages
  - Mark messages as (read | unread)
  - Email notification if configured by the user.

 I expect comments and sugestions Wink

Posted by Diego Andrés Ramírez Aragón @ Plugins


Comments

Page: 1 2 3
  1. Does that mean that you can use your plug-in to send messages to every member of a community?

    user iconKevin Jardine on Wednesday, 07 March 2007, 10:23 UTC # |

  2. Yeap, but only for communities where you are member.

    user iconDiego Andrés Ramírez Aragón on Wednesday, 07 March 2007, 10:26 UTC # |

  3. i clicked to download it and it says 'not found' !?

    user icondaveinboston on Wednesday, 07 March 2007, 15:59 UTC # |

  4. You are right! It was a little problem with the CMS ;)

    It works now. 

    user iconDiego Andrés Ramírez Aragón on Wednesday, 07 March 2007, 16:11 UTC # |

  5. I noticed a few of the pages did not have a "php" at the top (ex: <?php ) which made my install not work right (my server setup requires the explicit declaration). As soon as I added that to the pages that didn't have it, all worked fine. Thanks for the plugin, I'll give it a test drive and see how well it works for us.

    user iconSteve on Wednesday, 07 March 2007, 17:02 UTC # |

  6. nope, says messages.tar.gz isn't there again! can you stick up here on elgg as one of your files/resources?

    user icondaveinboston on Wednesday, 07 March 2007, 17:11 UTC # |

  7. How I said before the provided link its working right now. 

    By the way I put a copy in the elgg repository too:

    http://elgg.org/plugins/files/1/36/messages.tar.gz 

     ;-)

    user iconDiego Andrés Ramírez Aragón on Wednesday, 07 March 2007, 18:47 UTC # |

  8. thanks - got it! so to install, do i simply upload to mod, add the lines to htaccess and then login as admin - do i need to login and run a specific file or command (lib.php)?

    user icondaveinboston on Wednesday, 07 March 2007, 19:00 UTC # |

  9. Nop, You only need to upload to mod and add the lines to the .htaccess.

    So the next time that you loggin it run some scripts for the db an that's all!

    user iconDiego Andrés Ramírez Aragón on Wednesday, 07 March 2007, 19:22 UTC # |

  10. okay, so i have a test site set up and here's what happened:

    first, it works - installation was fine, got the the 'success' message...

    as admin, when i viewed "your messages" for the first time it showed all comments ever made on my posts (correct) including deleted items from dbase (looked like a bunch of duplicates) - and when i logged in as the user who made those comments (an alias account) they all showed up in that person's "sent messages" folder...

    BUT here's the question: how do i compose???? when i click compose the "to" line does not function in either firefox or safari on a mac - there's no way to enter a recipient...

    i was able to test it by using one of the messages automatically placed in my mailbox via a blog comment - i replied and so on and had two browsers open and it worked perfectly, and instantly displayed the replies/returns...i just can not **start** a conversation via messaging...there's no input text box or line, just a thin line...

    user icondaveinboston on Wednesday, 07 March 2007, 20:58 UTC # |

  11. Hello,

    It happens to you because the privame messages its designed (in this version altought) for send messages only for your friends.

    These mean that your friends list is something like your address book, and the compose function only allows to you send messages to your friends.

    However if you want to write to an specific user (that not in your list of friends | communities) you could pass the id by the url:

    http://elgg.net/mod/messages/compose.php?to=6

    In the roadmap for the plug-in I planed to add a link in the sidebar that says something like: "Send a message".

    I thought in add a widget for the dashboard that let you know how many | unread messages you have in your INBOX.

    By the way it could be avaible in the next version Tongue out

      

    user iconDiego Andrés Ramírez Aragón on Wednesday, 07 March 2007, 23:55 UTC # |

  12. that's actually a nice idea (limiting to friends only) - though it makes it hard to "network with new people" in certain ways

    regarding the friends part of this - i mean that there is literally nothing for the "to" line in compose even where i do have friends on the site. it says "to" and then there's a thin blue line with no text input box....

    what this means is that a communication can NOT (in the version i'm seeing) be a random message but rather only a series of replies and messages following a comment on a blog post or related community item...by this, i mean that i can not randomly say, "oh, i think i'll send a message to diego" but rather that i must first comment on one of your postings/blog entries, at which point you see it in your inbox and can then reply...

    is that how it's supposed to work? the next version (sidebar element) makes a lot of sense in terms of simple use...

    user icondaveinboston on Thursday, 08 March 2007, 03:29 UTC # |

  13. I've just noticed that this plugin uses short tags instead of the full <?php at the beginning of each code block.

    For some reason - probably my own negligence - the coding standards page wasn't carried over when we upgraded Elgg.org. However, I've reinstated it; all plugin authors should take note. We're eventually going to introduce an 'Elgg approved' stamp for plugins we've checked out, and adherence to these will be essential.

    user iconBen Werdmuller on Thursday, 08 March 2007, 12:49 UTC # |

  14. That said, thank you for the plugin contribution, Diego :) It's great to see the community getting involved.

    user iconBen Werdmuller on Thursday, 08 March 2007, 12:50 UTC # |

  15. I try to figure out what was the problem with your instalation and I found the problem!

    It was a little patch to the display_input_field function in displaylib.php that I forget to include in the README file.

    I check it again against the trunk version and I found that in the new version of the display_input_field the code that I modify even exists.

    So, I extend the display_input_field functionality for support the option that I need using the callback mechanism that this function provides.

    I already update the code and upload it ;)

    http://www.somosmas.org/elgg/messages-0.1.1.tar.gz 

    user iconDiego Andrés Ramírez Aragón on Thursday, 08 March 2007, 12:58 UTC # |

  16. Thanks Ben for the comments, In the 0.1.1 version I fix the <?php thing Wink

    user iconDiego Andrés Ramírez Aragón on Thursday, 08 March 2007, 13:05 UTC # |

  17. I get these errors:

    [code]

     Notice: Undefined variable: post in /home/ewout/stoa/elgg/mod/messages/messages_message_view.php on line 26

    Notice: Trying to get property of non-object in /home/ewout/stoa/elgg/mod/messages/messages_message_view.php on line 26

    Notice: Trying to get property of non-object in /home/ewout/stoa/elgg/mod/messages/messages_message_view.php on line 24

    Notice: Trying to get property of non-object in /home/ewout/stoa/elgg/mod/messages/messages_message_view.php on line 25

    Notice: Trying to get property of non-object in /home/ewout/stoa/elgg/mod/messages/messages_message_view.php on line 26

    Notice: Undefined variable: post in /home/ewout/stoa/elgg/mod/messages/messages_message_view.php on line 26

    Notice: Trying to get property of non-object in /home/ewout/stoa/elgg/mod/messages/messages_message_view.php on line 26

    Notice: Trying to get property of non-object in /home/ewout/stoa/elgg/mod/messages/messages_message_view.php on line 29

    Fatal error: mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1] in EXECUTE("SELECT * FROM elggicons WHERE ident = ? ") in /home/ewout/stoa/elgg/lib/adodb/adodb-errorhandler.inc.php on line 77

    [/code] 

    user iconEwout ter Haar on Thursday, 08 March 2007, 13:16 UTC # |

  18. That is working really well now - thanks for upgrading it so quickly!

    user iconDavid Tosh on Thursday, 08 March 2007, 14:21 UTC # |

  19. I meant to add; we are thinking of putting this on elgg.net to let a bigger user group try it out. Are you ok with this? Cheers.

    user iconDavid Tosh on Thursday, 08 March 2007, 14:23 UTC # |

  20. Off course! That its the Idea that it works for everyone!

    user iconDiego Andrés Ramírez Aragón on Thursday, 08 March 2007, 14:33 UTC # |

Page: 1 2 3

You must be logged in to post a comment.

Site supported by Curverider Ltd - powered by the awesome Elgg