Jump to:

1016 Posts in 567 Topics by 309 members

Forum Module

SilverStripe Forums » Forum Module » send private message to forummembers ?

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 3802 Views
  • lxer
    Avatar
    Community Member
    16 Posts

    send private message to forummembers ? Link to this post

    I haven't touched the forum module yet, but I would like to know if it is possible to a
    send private message to another forummember.

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: send private message to forummembers ? Link to this post

    Well its no currently implemented but it would be pretty straightforward to add this ability. You would just need to create a MessageObject and create a form to send it and the templates to view the items etc.

    If you would like this functionality then make a ticket on open.silverstripe.com and we can see about getting it into the next release.

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: send private message to forummembers ? Link to this post

    There is a message module in the unsupported modules section. I use it on my forum. I had to tweak it because it doesn´t have much functions. Users want notifications on new messages, maybe an inbox and outbox and the ability to delete messages.

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: send private message to forummembers ? Link to this post

    Right well thats cool maybe for the next update of the forum we can add the API hooks / integration with the messaging module so that it works out of the box. If you have any generic code / updates to the module you have done which you think should be rolled back into the package please submit in on http://open.silverstripe.com.

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: send private message to forummembers ? Link to this post

    Hi willr,
    <br >
    <br >I added some functions to the existing module:
    <br >- I reformatted the message overview templete. Now they are displayed in a <table>.
    <br >- A message can be deleted
    <br >- When a single message is displayed, the reader can reply to it instantly.
    <br >
    <br >There is still a lot to do until this module works and looks well. It´s arcitecture seams to be from an old SS-version. E.g. the modules code is divided in a folder "model" and a foulder "controller". I have never seen this before in any SS-code. Then the templates are called by an URL-segment(e.g. "/post"), which is the appendix of the template name("PrivateMessagePage_post.ss").
    <br >
    <br >It´s really difficult form me to think this way. The module should be reprogrammed, so that it´s arcitecture looks like any other modules arcitecture.
    <br >
    <br >My code is in the file attatched. I also posted it to the modules developer.

    Attached Files
  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: send private message to forummembers ? Link to this post

    I did some changes to the privatemessaging module. Now messages are marked as read/new. Sam asked me to implement i18n but I didn´t succeed yet. After putting some _t() in the template I ran the textcollector. I had a message "Running task 'i18n Textcollector Task'..." but nothing happend. Any hints?
    When I´m done with i18n I will create a patch for the original module.

    Attached Files
  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: send private message to forummembers ? Link to this post

    i18n implemented.

    Attached Files
  • Hijoe
    Avatar
    Community Member
    1 Post

    Re: send private message to forummembers ? Link to this post

    great idea

    3802 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.