Re: pushing my luck -- complete pm system?

2008-10-01 Thread techiguy

Dear rocket,

if you found the PM system online pls let me know the download link


On Sep 30, 9:26 pm, rocket <[EMAIL PROTECTED]> wrote:
> I'm about to write a PM system for users... but why invent the wheel?
> Anyone know of a good prebuilt cake pm system, or a vendor I can use?
>
> thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: pushing my luck -- complete pm system?

2008-10-01 Thread Jon Bennett

>> Since User has Many message (in inbox), but User also has Many message (that
>> the user sent to other User).
>
> So? User hasMany SentMessage (className: Message, foreignKey:
> sender_id), User hasMany ReceivedMessage (className: Message,
> foreignKey: receiver_id)

or

User hasMany SentMessage
User hasAndBelongsToMany ReceivedMessage

just to make things a little more flexible by allowing sending 1
message to many, ala facebook.

jb

-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: pushing my luck -- complete pm system?

2008-10-01 Thread grigri

> How about the relation..?
>
> Since User has Many message (in inbox), but User also has Many message (that
> the user sent to other User).

So? User hasMany SentMessage (className: Message, foreignKey:
sender_id), User hasMany ReceivedMessage (className: Message,
foreignKey: receiver_id)

Done.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: pushing my luck -- complete pm system?

2008-10-01 Thread Okto Silaban
How about the relation..?

Since User has Many message (in inbox), but User also has Many message (that
the user sent to other User).


On Wed, Oct 1, 2008 at 2:41 AM, Markus Muschol <[EMAIL PROTECTED]
> wrote:

>
> This should be kind of easy to write on your own
>
> setup a new database table:
>
> id  int
> sender_id   int foreign key to user table
> receiver_id int foreign key to user table
> message varchar
>
> Then create a message write form and a message list template for inbox
> and outbox.
>
> The controller has some crud functions that can be generated by cake
> and a simple send and index function.
>
> Thats it ;)
>
> Regards
>
> Am 30.09.2008 um 21:31 schrieb rocket:
>
> >
> > PM stands for private messages.
> > basically a system inside cake that will allow my users to send
> > messaages to eachother.
> >
> > On Sep 30, 12:35 pm, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote:
> >> On Tue, Sep 30, 2008 at 1:26 PM, rocket <[EMAIL PROTECTED]> wrote:
> >>
> >>> I'm about to write a PM system for users... but why invent the
> >>> wheel?
> >>> Anyone know of a good prebuilt cake pm system, or a vendor I can
> >>> use?
> >>
> >> *
> >> What does PM stand for?
> >> Your abbreviation search returned 164 meanings*
> >>
> >> Which one of the 164 does your PM stand for?
> >>
> >> - Gonzalo
> > >
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: pushing my luck -- complete pm system?

2008-09-30 Thread Markus Muschol

This should be kind of easy to write on your own

setup a new database table:

id  int
sender_id   int foreign key to user table
receiver_id int foreign key to user table
message varchar

Then create a message write form and a message list template for inbox  
and outbox.

The controller has some crud functions that can be generated by cake  
and a simple send and index function.

Thats it ;)

Regards

Am 30.09.2008 um 21:31 schrieb rocket:

>
> PM stands for private messages.
> basically a system inside cake that will allow my users to send
> messaages to eachother.
>
> On Sep 30, 12:35 pm, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote:
>> On Tue, Sep 30, 2008 at 1:26 PM, rocket <[EMAIL PROTECTED]> wrote:
>>
>>> I'm about to write a PM system for users... but why invent the  
>>> wheel?
>>> Anyone know of a good prebuilt cake pm system, or a vendor I can  
>>> use?
>>
>> *
>> What does PM stand for?
>> Your abbreviation search returned 164 meanings*
>>
>> Which one of the 164 does your PM stand for?
>>
>> - Gonzalo
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: pushing my luck -- complete pm system?

2008-09-30 Thread rocket

PM stands for private messages.
basically a system inside cake that will allow my users to send
messaages to eachother.

On Sep 30, 12:35 pm, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 30, 2008 at 1:26 PM, rocket <[EMAIL PROTECTED]> wrote:
>
> > I'm about to write a PM system for users... but why invent the wheel?
> > Anyone know of a good prebuilt cake pm system, or a vendor I can use?
>
> *
> What does PM stand for?
> Your abbreviation search returned 164 meanings*
>
> Which one of the 164 does your PM stand for?
>
> - Gonzalo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: pushing my luck -- complete pm system?

2008-09-30 Thread Pieter Van Leuven

I guess PM stands for 'Personal Messaging' system.

On 30 sep, 18:35, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 30, 2008 at 1:26 PM, rocket <[EMAIL PROTECTED]> wrote:
>
> > I'm about to write a PM system for users... but why invent the wheel?
> > Anyone know of a good prebuilt cake pm system, or a vendor I can use?
>
> *
> What does PM stand for?
> Your abbreviation search returned 164 meanings*
>
> Which one of the 164 does your PM stand for?
>
> - Gonzalo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: pushing my luck -- complete pm system?

2008-09-30 Thread Gonzalo Servat
On Tue, Sep 30, 2008 at 1:26 PM, rocket <[EMAIL PROTECTED]> wrote:

>
> I'm about to write a PM system for users... but why invent the wheel?
> Anyone know of a good prebuilt cake pm system, or a vendor I can use?
>
*
What does PM stand for?
Your abbreviation search returned 164 meanings*

Which one of the 164 does your PM stand for?

- Gonzalo

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



pushing my luck -- complete pm system?

2008-09-30 Thread rocket

I'm about to write a PM system for users... but why invent the wheel?
Anyone know of a good prebuilt cake pm system, or a vendor I can use?

thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---