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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Forum Module /

Discuss the Forum Module.

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

send private message to forummembers ?

Go to End

16 Posts   5259 Views


Community Member, 16 Posts

11 June 2009 at 8:22pm

nice :)


Community Member, 349 Posts

15 June 2009 at 4:22am

Is there any hack how i can use it in forum like profile on top and so on.


Community Member, 279 Posts

15 June 2009 at 4:49am

You would have to programm that by yourself. Privatemessaging is a module on it´s own.


Community Member, 279 Posts

24 June 2009 at 4:37am

I discovered a bug. Sometimes Nicknames with "$" drive the Template-Engine mad. I did a workaround with htmlentities(). I appended the altered module-code.

Attached Files

Community Member, 712 Posts

24 June 2009 at 9:07am

Cross post:

Can we follow up on the dollar sign bug at the above thread please.


Community Member, 279 Posts

22 July 2009 at 3:37am

I added some more functions to the modul. There is a message counter, that can be used to notify users of new messages. This has to be implemented in the main controller (Page.php). I did it like this:

        //Return number of new messages
        function newMessageCounter() {
            $messages = DataObject::get("PrivateMessage", "ToID = " . Member::currentUserID());
            $newMessageCounter = 0;
            foreach ($messages as $message) {
                if (!$message->read) {
            return $newMessageCounter;

My navigation include ( reflects this:
                    <% if newMessageCounter != 0 %>
                        <img src="privatemessaging/images/icons/envelope_closed.jpg" alt="alte Post">
                    <% end_if %>

The modul has a navigation, that looks like a widget or subnavi container.

Attached Files

Community Member, 1 Post

3 August 2009 at 10:24pm

baba-papa wrote:
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.

I'm currently having the same problem. How did you fix this?


Community Member, 279 Posts

3 August 2009 at 10:28pm

I haven´t fix it jet. I did all text collection by myself.

Go to Top