Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Forum Module

Discuss the Forum Module.

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

send private message to forummembers ?


Go to End
Reply

16 Posts   4091 Views

Avatar
lxer

8 May 2009 at 8:04pm Community Member, 16 Posts

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.

Avatar
Willr

8 May 2009 at 8:48pm Forum Moderator, 5511 Posts

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.

Avatar
baba-papa

10 May 2009 at 6:58pm Community Member, 279 Posts

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.

Avatar
Willr

10 May 2009 at 10:37pm Forum Moderator, 5511 Posts

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.

Avatar
baba-papa

31 May 2009 at 7:51pm (Last edited: 31 May 2009 8:06pm), Community Member, 279 Posts

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
Avatar
baba-papa

7 June 2009 at 3:14am Community Member, 279 Posts

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
Avatar
baba-papa

7 June 2009 at 6:34am Community Member, 279 Posts

i18n implemented.

Attached Files
Avatar
Hijoe

11 June 2009 at 11:11am Community Member, 1 Post

great idea :)

Go to Top