[Register]
Powered by Elgg

Plugins :: Blog :: messages 0.2

May 04, 2007

Hi everyone!

There is the messags 0.2 version.

It had some minor bug fixes and the expected sidebar link 'Send Message'.

Thanks to Renato for his code contributions.

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


Comments

  1. Hi diego,

    One thing I forgot: don't show the "Send message" in pages without owner. In messages_sidebar_link, add one more clause:

     if(isloggedin() && $page_owner != $_SESSION['userid'] && $page_owner != -1)

    By the way, I made a translation to pt_BR, you can get it here:

    http://elgg.org/renato/files/-1/154/messages_pt_BR.tar.

    user iconRenato on Saturday, 05 May 2007, 07:41 UTC # |

  2. Hi Guys,

    Nice work - this mesaging plugin is really looking good. One small bug I noticed; if you delete a message before marking it as read it still shows in your toolbar as a new message although it no longer exists.

    Thanks again.

    Dave. 

    user iconDavid Tosh on Saturday, 05 May 2007, 09:39 UTC # |

  3. Hello,

     I've seen this great plugin working at eduspaces.  I have a elgg 0.7 install (no other plugins, new install) and the {{user}}/messages page doesn't come up.  I can send messages without problem and the counts are correct on the receiving end, and the page mod/messages/compose.php?action=compose&to=2 shows up very nicely, but I can't see the messages themselves.  

     Is there some sql editing that needs to be done?

     Thanks!

    user iconFrank Lau on Sunday, 06 May 2007, 01:44 UTC # |

  4. The bug reported by Dave happens only to messages coming from "the system", ie, to recent activities.

    user iconRenato on Tuesday, 08 May 2007, 21:31 UTC # |

  5. I'm a little busy on those days. I hope to make a new release on Friday...

    user iconDiego Andrés Ramírez Aragón on Wednesday, 09 May 2007, 15:43 UTC # |

  6. I made a visual change to the sidebar to align it with the other sidebar elements.

    <?php
        global $CFG;
        $page_owner = page_owner();
        if(isloggedin() && $page_owner != $_SESSION['userid']) {
            $run_result.= '<ul><li><a href="'.$CFG->wwwroot."mod/messages/compose.php?action=compose&to=$page_owner".'">'.__gettext("Send Message").'</a></li></ul>';
        } else {
            $run_result.= '';
        }
        if(isloggedin() && $page_owner != $_SESSION['userid'] && $page_owner != -1)
    ?>

    user iconHeath Moser on Tuesday, 15 May 2007, 01:33 UTC # |

  7. Quick question... can this script be modded to appear on a users profiel page as "send this user a message" in effect adding a mail box to their page?

    user icontim jennings on Wednesday, 30 May 2007, 07:53 UTC # |

  8. thnx m8!

    problems are solved ;)

     PS: i've got an Dutch translation, i'll send it upon Request for now (daniel@nightdesign.nl)

    only 1 tiny thing: in my sidebar, the "send user message" has not got an break from the "add user as a friend" link. any way how to solve this ?

    user icondarkd on Wednesday, 30 May 2007, 09:20 UTC # |

You must be logged in to post a comment.

Site supported by Curverider Ltd - powered by the awesome Elgg