Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


Private Messages 1.1

edited June 2009 in Questions
This extension will transform your Vanilla whisper system into the more commonly-known "Private Messages" system. It uses the whisper system, so you'll have to enable that if you haven't done already! Also, you'll need to create a new category where all whispers will be saved to. This category should not be accesably by any role as it will be used internally.

Download: Private Messages 1.1

image

image

image

image

TO DO
- Send messages to multiple receipients
- Option to disable "old-style" whispering
- New message notification
«13456789

Comments

  • Thank you for this great extension! I'm shure my users will like it!

    But, if I enable friendly urls, I get an error 404 when trying to read a message... :-(

    Bye
    Tiggr
  • ouch.. didn't test it with Friendly users :) Will look into this!
  • And one more wish: Would it be possible, to add a "Send PM"-Link to the profile-page too?

    Bye
    Tiggr
  • And even one more, without friendly urls! ;-)

    If I try to answer a message I'm getting an error, telling me, I have to enter the person I whisper to! Strange!
  • I've just uploaded a new version which will fix the major bug where you couldn't reply!!! I still have to set up a system with friendly urls though :)
  • [-Stash-][-Stash-] New
    edited December 2006
    Well played Jazzman, I look forward to it working with Friendlies :) (shouldn't that be part of the Core?)
  • @Jazzman:
    Thank you! Great work!

    @Circuit:

    I'm using that allready, but I think it would be nice to have the possibility to send a *private message* direkt from the profile...

    Tiggr
  • edited December 2006
    i agree... having tested the extension it seems to separate 'whispers' from 'private messages'?

    so if you send a whisper, it doesn't appear in your inbox...
    if you whisper within a thread, it doesn't appear in your inbox...

    am i correct?

    if so i would like to hide all references to whispers on all other pages... as it could get confusing if people are caught between two systems...
  • edited December 2006
    also: it would be nice to create links in this format:

    .../extension.php?PostBackAction=PrivateMessages&View=SendMessage&WhisperUsername=username

    so i could have links on my WordPress blog that point to the 'send a message' screen in vanilla.
  • edited December 2006
    edit:
    another thing.

    when i send a PM, the message i sent appears in MY inbox as an unread message as well as in my sent items, is this the correct behaviour?
    (also, in the inbox, it has my username on it, not the username of the person i sent it to.)

    sorry for all the posts.
  • Hey Jazzman - great idea for an add-on, many forum users expect this functionality now I think, so it's very useful.

    Just to say, there's a conflict between the "Latest Topics" add-on and this "Private message" add-on. "Private message" appears under the "Latest Topics" heading when this add-on is enabled, but broswing to it produces the standard error message:


    Some problems were encountered
    The requested discussion could not be found.
    The requested discussion could not be found.


    Also I think that the context in which most PMs are sent is in response to posts in a category. So changing "whisper" to "send private message" or "send PM" is a good idea. Users will get confused if both terms are used and will not use the feature if they aren't sure.

    Great add-on though. Hope you have time to use this feedback!
  • just noticed another small bug... for some reason, i have some extension options in my inbox sidepanel (i am the admin).

    image
  • edited December 2006
    more comments from my forum users:

    1. in the 'sent' items' box, you see the username of the person you sent your PM to. in the inbox, you see the username of the person that started the whisper exchange, which could be your own username. the inbox should always show the other user's name. otherwise it could be really hard to distinguish between messages.

    2. if you send a new PM, it appears in your inbox as an unread item. this is confusing people as they think they have a new message when they don't.

    3. the extension still appears to work with whispers turned off which is good news as it is less confusing for people! however, in IE, i have no sent items appearing in the sent box, even though they are sent OK. in firefox, i have messages in the outbox but no usernames attached to them. still, maybe this is a good sign that the extension could be easily adapted for people who wanted whispers to be disabled.

    4. i have, with wallphone's help, added the following to the top of the file:

    $SendTo = $_GET['SendTo'];
    $Discussion->WhisperUsername = $SendTo; // or use urldecode(ForceIncomingString('SendTo', ''));


    this allows me to pass &SendTo=Username in the url, although it needs a bit more work so it doesn't throw up an error if &SendTo is not there. it might be nice if this were included in the next version.

    5. lots of requests for either email notification or an unread message count in the tab.


    thanks again for your work, jazzman. this is the most requested feature in my forum, and the most important plugin, which is why i am so vocal about it :)
  • tnx for the response people :) I will take these in my next release, which should be next week :)
  • awesome - not sure if this has been mentioned but notification of new PMs like new whispers would be great. doesn't seem to happen on mine. also, the inbox tab in the diagram you have shows a (1) after the word inbox, which is also an indicator but also doesn't seem to happen on mine either. cheers !
  • Update:

    - Original Whisper system will now be deactivated by default
    - From/To column will now always display the 'other' username you have whispered to, or who has whispered you
    - 'Send private messages' link added to profile page (uses 'SendTo' from URL querystring)
    - Added user preference to receive an email notification when a new private message arrives

    NOTE: The new-message indicator on the tab is still disabled, because I don't have a good query that gives me the count for new whispers.... So, if anyone can provide me with such a query, I would be very happy :)
  • thank you jazzman!!
    it works brilliantly.

    is there a way to turn on email notification for all users as the default? (is it a database setting?)
  • jazz, you bring music to my day. Great extension!
  • I get the following... The error occurred on or near: You have an error in your SQL syntax near 'on t.FirstCommentID = m.CommentID where t.Active = '1' and t.CategoryID = '5'' at line 1
  • edited December 2006
    hmm I have whisper turned on, deleted the old pm 1.0 and uploaded and turned on the the 1.1 private messages. The whisper button shows up but nothing happens when I click on it.

    fresh van 103 install
  • edited December 2006
    i don't think the forum is sending out notification emails... i am not getting any. (the notify plugin works fine)

    additionally, in the next release, could there be a way for users to delete messages?
  • also

    when i send a message it still appears as an unread message in my inbox which is slightly odd. i know it's not that important but i think it could be confusing for some peple.
  • @circuit: you'll have to enable email notification. Check your "Forum Preferences" from the "Account" page. Also.. strange that your send messages are marked unread... what steps do you take to write this message?
  • i have enabled notification but it seems to be quite hit-and-miss. perhaps notification of a PM above the discussion list, like in the Whisper Notification plugin, would be a good addition.
    thanks again jazzman.
  • oh, regarding sent messages - i just compose and send a PM in the normal way and it appears in my inbox AND sent items as an unread message... i will experiment more with it when i next send a PM.
  • Have you created a new category to store PM's?
  • jazzman, i know what the problem is (i think). i don't get an email when i get a NEW PM, i only get one when someone replies to an existing PM.
  • There are only two things that would make this the perfect system as far as I'm concerned.

    1. The ability to delete messages that you've read. Not auto delete though.
    2. An indicator on the "Inbox" tab that tells you that you have a new message: *ex. Inbox (1)*

    I never do email notifications for stuff like this but I guess a part 3 would be the email notify for those that do.

    Just my $.02
Sign In or Register to comment.