Not signed in (Sign In)

Categories

Vanilla 1.1.8 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorJazzman
    • CommentTimeDec 11th 2006 edited
     # 1
    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









    TO DO
    - Send messages to multiple receipients
    - Option to disable "old-style" whispering
    - New message notification
    •  
      CommentAuthorTiggr
    • CommentTimeDec 11th 2006
     # 2
    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
    •  
      CommentAuthorJazzman
    • CommentTimeDec 11th 2006
     # 3
    ouch.. didn't test it with Friendly users :) Will look into this!
    •  
      CommentAuthorTiggr
    • CommentTimeDec 11th 2006
     # 4
    And one more wish: Would it be possible, to add a "Send PM"-Link to the profile-page too?

    Bye
    Tiggr
    •  
      CommentAuthorTiggr
    • CommentTimeDec 11th 2006
     # 5
    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!
    •  
      CommentAuthorJazzman
    • CommentTimeDec 11th 2006
     # 6
    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 :)
    •  
      CommentAuthor[-Stash-]
    • CommentTimeDec 11th 2006 edited
     # 7
    Well played Jazzman, I look forward to it working with Friendlies :) (shouldn't that be part of the Core?)
    • CommentAuthorcircuit
    • CommentTimeDec 11th 2006
     # 8
    •  
      CommentAuthorTiggr
    • CommentTimeDec 11th 2006
     # 9
    @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
    • CommentAuthorcircuit
    • CommentTimeDec 11th 2006 edited
     # 10
    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...
    • CommentAuthorcircuit
    • CommentTimeDec 11th 2006 edited
     # 11
    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.
    • CommentAuthorcircuit
    • CommentTimeDec 11th 2006 edited
     # 12
    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.
    •  
      CommentAuthorEd
    • CommentTimeDec 11th 2006
     # 13
    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!
    • CommentAuthorcircuit
    • CommentTimeDec 14th 2006
     # 14
    just noticed another small bug... for some reason, i have some extension options in my inbox sidepanel (i am the admin).

    • CommentAuthorcircuit
    • CommentTimeDec 14th 2006 edited
     # 15
    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 :)
    •  
      CommentAuthorJazzman
    • CommentTimeDec 14th 2006
     # 16
    tnx for the response people :) I will take these in my next release, which should be next week :)
    • CommentAuthorlibido
    • CommentTimeDec 15th 2006
     # 17
    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 !
    •  
      CommentAuthorJazzman
    • CommentTimeDec 18th 2006
     # 18
    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 :)
    • CommentAuthorcircuit
    • CommentTimeDec 18th 2006
     # 19
    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?)
  1.  # 20
    jazz, you bring music to my day.

    Great extension!
  2.  # 21
    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
    • CommentAuthorreap
    • CommentTimeDec 18th 2006 edited
     # 22
    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
    • CommentAuthorcircuit
    • CommentTimeDec 19th 2006 edited
     # 23
    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?
    • CommentAuthorcircuit
    • CommentTimeDec 19th 2006
     # 24
    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.
    •  
      CommentAuthorJazzman
    • CommentTimeDec 20th 2006
     # 25
    @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?
    • CommentAuthorcircuit
    • CommentTimeDec 21st 2006
     # 26
    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.
    • CommentAuthorcircuit
    • CommentTimeDec 21st 2006
     # 27
    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.
    •  
      CommentAuthorJazzman
    • CommentTimeDec 22nd 2006
     # 28
    Have you created a new category to store PM's?
    • CommentAuthorcircuit
    • CommentTimeDec 22nd 2006
     # 29
    yes...
    • CommentAuthorcircuit
    • CommentTimeDec 22nd 2006
     # 30
    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.
    • CommentAuthorHerrgeist
    • CommentTimeDec 22nd 2006
     # 31
    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
    • CommentAuthorargie01
    • CommentTimeDec 28th 2006
     # 32
    Hi,

    is there any solution to the problems with Friendly url's ?

    Thank you !
    •  
      CommentAuthory2kbg
    • CommentTimeDec 28th 2006
     # 33
    hmm by reading these posts i guess i will wait for a couple more releases to be released before i decide to add this to my forum.
    • CommentAuthorshotoshi
    • CommentTimeDec 29th 2006
     # 34
    I was just about to recommend an indicator in the "Inbox" tab that tells you that you have a new message: *ex. Inbox (1)*, but I see that Herrgeist has already beaten me to it!

    Question for Jazzman: Are you up for any paying custom work gigs? Been trying to reach you but to no avail.
    •  
      CommentAuthorJazzman
    • CommentTimeDec 30th 2006
     # 35
    The new message indicator is on my list, but I haven't been able to create a good sql query to retrieve the number of new messages.

    @shotoshi: You can always email me so I can concider it, but lately I've been very busy with my real job :)
    • CommentAuthorshotoshi
    • CommentTimeJan 1st 2007
     # 36
    Jazzman, please email me: editor [//AT\\] holidaypad [//DOT\\] net
    • CommentAuthorcircuit
    • CommentTimeJan 1st 2007
     # 37
    jazzman, could you perhaps add a notification above the discussions which tells you when you have new messages?
    notification emails are only being sent when PMs are replied to, not when a new PM is sent.
    •  
      CommentAuthorTiggr
    • CommentTimeJan 2nd 2007 edited
     # 38
    Hiho!

    notification emails are only being sent when PMs are replied to, not when a new PM is sent.


    That's right! :-(

    Tiggr
    • CommentAuthordan39
    • CommentTimeJan 2nd 2007 edited
     # 39
    Jazzman,
    This is a great add-on. Nice work.

    But, I noticed two things which are somewhat buggy/confusing:

    1) If you send a message — and even if you get a reply — it doesn't count towards the message count in your inbox. You can even see this in your example screenshot (taken from above):

    If you look closely, you'll see the message count says "1 to 3 of 3" even though there are clearly 5 rows of messages.



    And, not only does an incoming reply to your sent messages not count towards the inbox message count, if that's all you have in your inbox, it will still tell you don't have any mail — even though it should.

    2) If you reply to someone who sent you the original private message, it doesn't show up in your outbox. It only shows up in your inbox. That would be acceptable if the inbox behaved similarly, but it doesn't — the inbox seems to show sent messages to others even if no one has replied to them yet.
    • CommentAuthorchris
    • CommentTimeJan 2nd 2007 edited
     # 40
    i got this after a fresh install -

    A fatal, non-recoverable error has occurred
    Technical information (for support personel):


    Error Message
    An error occurred while retrieving discussions.
    Affected Elements
    PrivateMessages.GetDiscussionList();

    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 = '6'' at line 1
    • CommentAuthorchris
    • CommentTimeJan 3rd 2007
     # 41
    *bump*

    any fix for that?
    • CommentAuthorcircuit
    • CommentTimeJan 8th 2007
     # 42
    bump again, can we expect any more work on this extension jazzman?
    •  
      CommentAuthorJazzman
    • CommentTimeJan 9th 2007
     # 43
    Hey guys! Sorry, I was away for the past two weeks. I'll pick up this extension very soon :)
    • CommentAuthorcircuit
    • CommentTimeJan 10th 2007
     # 44
    thanks jazzman.
    people even come up to me in my local pub, asking about the lack of email notification ;) haha
    • CommentAuthorjross
    • CommentTimeJan 10th 2007
     # 45
    hmm, it didn't create a tab at the top on mine. Could there be a conflict with the Page Management extension?

    A notification on the message board of a private message is needed.
    •  
      CommentAuthory2kbg
    • CommentTimeJan 10th 2007
     # 46
    you have to resync
    • CommentAuthorcircuit
    • CommentTimeJan 11th 2007
     # 47
    another bug (i think).
    when composing a private message, the WYSIWYG toolbar does not appear, even though i have the option of selecting text or BBcode.
    • CommentAuthorredux
    • CommentTimeJan 14th 2007
     # 48
    Hey using this on a new 1.0.3 forum and its trying to open the page URL: http://blahblahblah.com/forum/extension/?PostBackAction=PrivateMessages when clicking the inbox tab. something going a little funky somewhere...
    • CommentAuthorcircuit
    • CommentTimeJan 15th 2007
     # 49
    i feel it would make more sense if the 'x days ago' (or minutes, or whatever) text reflected the time of the last message in the exchange, and not the first one.
    does anyone else agree?

    at the moment, if i receive a new PM in reply to another, it still says '4 days old' next to it, even though the newest message is only 5 minutes old.
    • CommentAuthorcircuit
    • CommentTimeJan 17th 2007 edited
     # 50
    so, to summarise the list of requests for this plugin so far:

    - email notification needs fixing (i am now getting NO emails at all from this plugin)
    - WYSIWYG toolbar does not appear
    - a reply to a sent message does not count towards the message count in the inbox
    - the inbox shows sent messages (should be in the outbox)
    - senders of messages are not shown in the inbox/outbox lists
    - the date e.g. '2 hours ago' reflects the date of the first message in the exchange, not the most recent

    - req: friendly URLs compatibility
    - req: notification on the discussion list of a new PM
    - req: unread message count on the tab
    - req: ability to delete messages (or perhaps just file them away..?)