Not signed in (Sign In)

Categories

Vanilla 1.1.4 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.
    • CommentAuthordyohn
    • CommentTimeSep 10th 2007
     # 151
    re: deleting PMs. Pray tell how to allow users to do this?
    • CommentAuthorbshultz
    • CommentTimeSep 10th 2007
     # 152
    @dyohn: it's in the unofficial release referenced here -> http://lussumo.com/community/?CommentID=69187.

    Note: there is an error on line 748 of default.php. You will need to change that line from:
    header('location:'.GetUrl($this->Context->Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PrivateMessages&View='.ForceIncomingString('ViewBack')));To:
    header('location:'.GetUrl($Context->Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PrivateMessages&View='.ForceIncomingString('ViewBack')));
    • CommentAuthordyohn
    • CommentTimeSep 10th 2007
     # 153
    THANKS! That worked like a champ with your correction and now my members can clean up their inbox. I am very happy!
    • CommentAuthorbshultz
    • CommentTimeSep 11th 2007
     # 154
    This extension really, really, really needs to be updated. Jazzman, do you have time to look through these updates to the code? Barring that, should this be forked and uploaded as a competing Add-on?
    • CommentAuthorScorpious
    • CommentTimeSep 11th 2007
     # 155
    That PrivateMessages3 is working like a charm for me... thanks.
    •  
      CommentAuthor[-Stash-]
    • CommentTimeSep 11th 2007
     # 156
    If someone puts together a working update of this extension and posts it for the attention of the addon admins, I'm sure they wouldn't mind updating this extension ;)
    • CommentAuthordyohn
    • CommentTimeSep 11th 2007
     # 157
    Here is the default.php file of "version 2.0" with the delete function, including schultz' mod to line 748 per the above instructions: http://www.ableza.org/default.php

    A table called LUM_UserDiscussionHide with two values as previously discussed in this thread will still need to be created in the target database.
    •  
      CommentAuthor[-Stash-]
    • CommentTimeSep 12th 2007
     # 158
    dyohn, try changing the extension on that file form .php to .phps and it may be of use to others. Right now it's getting parsed by PHP which doesn't help much.
    • CommentAuthordyohn
    • CommentTimeSep 12th 2007
     # 159
    Sorry, I'll zip the folder. Try downloading this: http://www.ableza.org/PrivateMessages.zip
    • CommentAuthorserafino
    • CommentTimeSep 12th 2007
     # 160
    Where can I get PrivateMessages3 (which is working like a charm).
    • CommentAuthormbrink
    • CommentTimeOct 15th 2007
     # 161
    Great Extension I think!

    Works fine, but what can I do, if my Forum has about 150 Members and I want all of them to activate the eMail-Notification, secondary I want all New Members automaticly been notified. Is it possible to do something like:

    PrivateMessageNotification = "Auto-All" :-)

    Best regards,

    Michael
  1.  # 162
    You could get the global preferences extension and use that i think.
    • CommentAuthormbrink
    • CommentTimeOct 15th 2007
     # 163
    Didnt work, I installed that extension but saw no links to configure. By the way.. I dont know the Variable which must be set to "1" or "on". So the question still is, if somebody has more experience with that idea.
  2.  # 164
    this seem to fine fine apart from the fact no one can whipser mid thread anymore
    • CommentAuthorrobbo
    • CommentTimeDec 4th 2007
     # 165
    Does anyone have insights for making Private Messages work with Nuggets?

    I have both installed and, when I click into the "Inbox" tab provided by Private Messages, none of the baked nuggets in any of the various nugget panels appear.

    I have tried implementing MySchizoBuddy's fix Described here and messing with the order of extensions in the conf/extensions.php file, but neither tactic changes the problem.

    I would love to use Private Messages because it seems cool, but Nuggets is more important to me. Is there a way to make them work together?
    •  
      CommentAuthorHamed
    • CommentTimeDec 4th 2007
     # 166
    can we have both the whisper system and the pm system
    if we could
    that would be soo awesome
    • CommentAuthorrobbo
    • CommentTimeDec 6th 2007
     # 167
    MySchizoBuddy whispered to me what I've done wrong, but I'll repeat it here just in case it helps any other wayward souls.

    If you've added Private Messages AFTER you set up some site Nuggets, you'll have to go back into Nuggets admin and enable the "Inbox" page for each of those nuggets.

    I suppose this would be true of installing an extension that adds Pages to the tabs. Go back into nuggets and make sure your nuggets are enable for the new tab.
    • CommentAuthorfery
    • CommentTimeDec 30th 2007 edited
     # 168
    helloes,

    a periodic ajax refresh would be great and it would turn pm'ing into a realtime messenger feature (if enabled).
    periodic, to save bandwith

    i've found some periodic-ajax-refresh tutorial with copy&paste-ready code examples here.
    i think this would be a great "interactive" feature for vanilla.

    anyone ready to do this?
    • CommentAuthorscherem
    • CommentTimeFeb 28th 2008
     # 169
    So... any word when these changes are going to be rolled into the official version? Or fork the development tree and upload it to the extensions?
    • CommentAuthorfery
    • CommentTimeFeb 28th 2008 edited
     # 170
    btw was this mentioned before? ..

    to turn the ugly h1 link into a panel item (send message text link) just replace ...


    $Panel->AddString('<h1><a href="'.GetUrl($Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PrivateMessages&View=SendMessage').'">'.$Context->GetDefinition('SendPrivateMessage').'</a></h1>');


    with


    $Panel->AddListItem($Title, $Context->GetDefinition('SendPrivateMessage'), GetUrl($Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PrivateMessages&View=SendMessage'));


    in PrivateMessages/default.php
    •  
      CommentAuthorlegolas
    • CommentTimeMar 7th 2008
     # 171
    Love the messaging system! My forum is in Japanese so I want to change on the tab where it says "Inbox" into Japanese. Since private messages is an add-on, you can not change the language in the conf/language.php right? How would I go about changing it in the add-on without mucking up the way it works?
  3.  # 172
    it is probably towards the top of the default.php for PrivateMessages
    •  
      CommentAuthorlegolas
    • CommentTimeMar 13th 2008
     # 173
    What is towards the top?
    • CommentAuthorcircuit
    • CommentTimeMar 13th 2008
     # 174
    could livediscussions be altered so that it updates the private messages pages as well as the discussion listing and comments?
    • CommentAuthoreeezy
    • CommentTimeMar 28th 2008
     # 175
    Did anybody tested Private Messages from bschultz with the PageManagement Extension, cause at my forum it doesn't shows the number of new messages on the tab anymore, with this extension enabled.
    • CommentAuthorscherem
    • CommentTimeMar 30th 2008
     # 176
    Has anyone found that this thread breaks the vanilla extension manager (It may have been another change I made to get notify to work).
    • CommentAuthormr_pat
    • CommentTimeApr 14th 2008
     # 177
    Hello, is there a way to notify users of a new pm while they are on the board? Like maybe a flashing "Private Messages" or Private Messages changes "Private Messages - New"?

    Thanks
    • CommentAuthormr_pat
    • CommentTimeApr 14th 2008
     # 178
    Also one other thing, on our forum users cant delete their PM's how can users be alowed to delete PM's?

    Thanks again
    • CommentAuthorcircuit
    • CommentTimeApr 16th 2008
     # 179
    i wondered about changing the css of the (1 New Message) alert so that users would be more likely to notice. i haven't tried this, though.

    deleting PMs should already work if you have installed all the updates in this thread.
    •  
      CommentAuthorJonny
    • CommentTimeApr 23rd 2008 edited
     # 180
    Hey guys, new to this all so please bear with me... After some struggles, I got PrivateMessage3 working on my forum. However, I just realized a minor issue. When a user hits "delete" on one of their messages in their inbox, they receive the following error:

    Fatal error: Using $this when not in object context in /home/juniore/public_html/forum/extensions/PrivateMessages/default.php on line 748

    However, when the user goes back to the forum...voila! that message has been deleted. So it's doing it's job, but breaking as well. Can anyonr shed some light on a fix? Thanks in advance!


    Nevermind... I see the fix right at the top of this page! Doh!
    •  
      CommentAuthorJonny
    • CommentTimeApr 23rd 2008 edited
     # 181
    OH, one last thing I forgot to ask... When users create a new discussion, it pulls that discussion into their "Sent Mail" section of the Private Messages...? Seems to be that discussions and private messages are getting their paths crossed a bit here. A user can delete the unwanted, and not really sent mail, discussion from their "sent mail" PM section, and it remains in the discussion list, but this seems like an unwanted behavior.

    Anyone have any insights to resovling this?


    If I'd have read the beginning of the thread, I'd have seen the note about creating a separate category...which eliminates this issue.
    • CommentAuthorMr.Hyruki
    • CommentTimeMay 20th 2008
     # 182
    I have the latest version of Private Messages (1.1) and it works beautifully. The only thing that I would like to see is some sort of notification when you recieve a Private Message. Just something so that you don't have to check your inbox constantly (or for members who don't know that they should be checking their inbox). Other than that, it works quite nicely. I have never been a fan of the whisper system...
    •  
      CommentAuthorJonny
    • CommentTimeMay 21st 2008 edited
     # 183
    The left panel does let you know when you have an unread message, though...changes to Inbox (1 unread message) or something along those lines.

    I agree that it could help to be a bit more noticeable however. Even just simply bolding the font when an unread message is in there would be helpful.
    • CommentAuthorMr.Hyruki
    • CommentTimeMay 21st 2008
     # 184
    I have an inbox tab at the top of the screen, not a left panel display...
    •  
      CommentAuthorJonny
    • CommentTimeMay 22nd 2008
     # 185
    According to the latest documentation, Private Messages is supposed to function as such...with a count of unread messages appended to the "Inbox" label in the top tab when a user has unread messages. This isn't happening for you? You are using 1.1, correct?

    I can't recall if my PM add on is doing this... I'll double check and follow up.
    •  
      CommentAuthorJonny
    • CommentTimeMay 22nd 2008
     # 186
    Contrary to the documentation, and the code, my Inbox tab is not showing unread messages either... Not sure why?

    Seems this portion of the default.php code is what is trying to make this happen:


    if (isset($Menu)) {
    $PrivateMessages = $Context->ObjectFactory->NewContextObject($Context, 'PrivateMessages');
    $TotalMessages = $PrivateMessages->GetDiscussionCount("Inbox");
    $ReadMessages = $PrivateMessages->GetReadMessagesCount();
    $UnreadMessages = $PrivateMessages->GetUnreadMessagesCount();
    $NewMessages = ($TotalMessages - $ReadMessages) + $UnreadMessages;
    $TabName = $Context->GetDefinition('PrivateMessagesTab');
    $Inbox = $Context->GetDefinition('Inbox');
    if ($NewMessages > '0') {
    $TabName .= ' ('.$NewMessages.')';
    $Inbox .= ' ('.$NewMessages.' '.$Context->Dictionary['NewMessage'].')';
    }
    $Menu->AddTab($TabName, 'privatemessages', GetUrl($Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PrivateMessages'), '', $Configuration['TAB_POSITION_PRIVATE_MESSAGES']);

    $Title = $Context->GetDefinition('PrivateMessages');
    $Panel->AddList($Title, 100);
    $Panel->AddListItem($Title, $Inbox, GetUrl($Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PrivateMessages'));
    $Panel->AddListItem($Title, $Context->GetDefinition('SentMail'), GetUrl($Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PrivateMessages&View=SentMail'));
    $Panel->AddListItem($Title, $Context->GetDefinition('SendPrivateMessage'), GetUrl($Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PrivateMessages&View=SendMessage'));


    Everything in check here? Any reason this wouldn't be working?
  4.  # 187
    Is anyone able to update the Extension with the modifications discussed here?
    • CommentAuthormr_pat
    • CommentTimeJun 6th 2008
     # 188
    We have a few user on our forum that are getting email notifications when they send a PM..... Did ant one ever figure out the cause for this or a fix for it?
    • CommentAuthorscherem
    • CommentTimeJun 11th 2008
     # 189
    I'm running Private messages v2, the one that has been forked from the official extension to include a better UI and a 'delete' function. Some of my users are starting to get smart about the inherent flaw in this extension-- the messages aren't really private, they are just hidden (i.e. if you luck in on a discussion ID and comment ID combo, you can read another two users private messages).

    Is there a way to make this message system truly private, or to obscure the addressing system so its not so easy to crack? I'm guessing friendly URLs might be a solution, but that extension seems to cause conflict with other extensions.
    • CommentAuthormr_pat
    • CommentTimeJun 12th 2008 edited
     # 190
    WOW this is a hell of a security flaw.... all users can, by changing the discussion ID, start at 1 and work your way up and read EVERY PM and post including the our "admin" category, even deleted posts.

    How do we fix this!
    • CommentAuthorfysicsluvr
    • CommentTimeJun 12th 2008 edited
     # 191
    They will be denied access to the message/admin post/etc at the time of loading (it checks the permissions, I promise). All they will be able to tell is that there is a message with ID "X" that they don't have access to. (could be just about anything)



    EDIT: Guess not with the PM's, but with a fresh install of vanilla, this is not a flaw; if it is in fact the case, then it is a problem in the extension's code, not the core.
    • CommentAuthormr_pat
    • CommentTimeJun 13th 2008
     # 192
    fsicsluvr, you are wrong on the access being denied to the admin post's... they are totally viewable.

    From what I have seen, "Private Messages" is the only PM system for vanilla. Or is there another?
  5.  # 193
    Vanilla has a system of 'whispering' built in...
    • CommentAuthormr_pat
    • CommentTimeJun 14th 2008
     # 194
    Sure, whispers' but I am looking for a "normal" pm system.... PM's are heavily used @ our forum, and our people like a traditional PM system, ya know.
    • CommentAuthorcircuit
    • CommentTimeJun 16th 2008
     # 195
    i have just tried to access other PMs by changing the URL and can confirm that it is not possible.
    • CommentAuthorscherem
    • CommentTimeJun 16th 2008 edited
     # 196
    @circuit -- so then its a confict with another extension? Because its happening on my forum.

    Any idea of what extensions could be causing the conflict?
  6.  # 197
    Are you sure it happens for normal users and not just administrators?
    • CommentAuthorscherem
    • CommentTimeJun 17th 2008 edited
     # 198
    Yes, I just checked it with my normal user account and the problem occured again (this problem was also pointed to me by my regular users).

    At least it doesn't happen for guest/unauthenticated users.

    EDIT: It gets more interesting... A thread that was deleted by accident (and I have been unable to undelete as much as I try through the front end) appears to be accessible only via the private message extension. Users have started to post in this hidden thread which mod and admins can't see unless they know the address...
    Example:
    /forums/comments.php?DiscussionID=62&page=1 doesn't load (gives errors dealing with ajaxquote and category roles which I'm going to have to look into)
    and
    forums/extension.php?PostBackAction=PrivateMessages&DiscussionID=62 doesn't load the deleted thread
    BUT
    forums/extension.php?PostBackAction=PrivateMessages&DiscussionID=62&View=Message loads the deleted thread. This makes me think its something to do with the &View=Message bit. Actually it looks like you can load any DicussionID through this method on our server.

    Also appears that this is the critical bit to let you view others private messages as well.
    • CommentAuthormr_pat
    • CommentTimeJun 17th 2008
     # 199
    same here, I have two normal user accounts and it happens with both.... We are all so using a brand new fresh install of Vanilla.
    •  
      CommentAuthorJonny
    • CommentTimeJun 17th 2008
     # 200
    Not to detract too much from this security issue (agreed it is big, just that my forum is so tiny and personal it's not an issue)...

    Do you guys also not have any "edit, delete or quote (ajax quote)" options in each pm's comment list as they appear in a normal discussion? I have a number of extensions that refuse to carry over to the PM extension, which I can learn to live with, but I'm surrised these basic controls are stripped from the comment lists... Ideas?