Inline messaging in profile
Permalink
Hi all,
I am creating a "dashboard" page wherein a user can view, send and reply to private messages all on one page. I am using the profile page, and need one section of the page to view and reply to emails, while the other section will contain a form to send new PM's and would auto-populate for replies. The send section also has specific permissions that affect which users the logged-in user can PM with.
Messages.php contains case statements which handle all mailbox tasks. However I guess I don't understand the dependencies messages.php has that keeps me from pulling mail content into profile.php. Has anyone done this succesfully?
What I have tried (iframing messages.php, merging single case statements into profile.php, etc.) results in the same error - it chokes on member functions being called on a non-object. Am I missing a fundamental piece of concrete5's structure? I didn't want to reinvent messaging; I would really just like to display and manipluate PM data inline within profile.php.
Any clarification is appreciated. Thanks!
-
I am creating a "dashboard" page wherein a user can view, send and reply to private messages all on one page. I am using the profile page, and need one section of the page to view and reply to emails, while the other section will contain a form to send new PM's and would auto-populate for replies. The send section also has specific permissions that affect which users the logged-in user can PM with.
Messages.php contains case statements which handle all mailbox tasks. However I guess I don't understand the dependencies messages.php has that keeps me from pulling mail content into profile.php. Has anyone done this succesfully?
What I have tried (iframing messages.php, merging single case statements into profile.php, etc.) results in the same error - it chokes on member functions being called on a non-object. Am I missing a fundamental piece of concrete5's structure? I didn't want to reinvent messaging; I would really just like to display and manipluate PM data inline within profile.php.
Any clarification is appreciated. Thanks!
-