|
Nick
|
 |
« on: November 02, 2008, 10:53:05 am » |
|
Description of Simple Messaging v. 0.5A private messaging system. No lightbox, simple HTML. Version 0.5 sends email notification that a message has arrived in the user's inbox. It also fixes a bug in v.4.0 that prevented you from viewing messages in your outbox. Revision History- v0.5 2008/11/05 LongCountdown - email notification of new messages, various bug fixes.
- v0.4 2008/11/03 LongCountdown - added "sent messages" box and navigation bar.
- v0.3 2008/11/02 LongCountdown - added ability to delete messages from the inbox.
- v0.2 2008/09/05 SocialWebCMS.com Team
- Made module compatible with the new location of the admin folder. - v0.1 2006/12/07 AshDigg - First version
|
|
|
« Last Edit: November 05, 2008, 01:23:18 pm by longcountdown »
|
Logged
|
Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
|
|
|
|
catchpen
|
 |
« Reply #1 on: November 05, 2008, 08:32:45 pm » |
|
Thanks LCD One thing tho is I did a test send PM and checked sent mail and the page shows "error 2" and rest of the page is blank.
|
|
|
|
|
Logged
|
|
|
|
|
Nick
|
 |
« Reply #2 on: November 05, 2008, 11:21:19 pm » |
|
Sorry catchpen, I'm unable to recreate that. I wonder if it's a hangover of the previous version? See if clearing your templates_c and cache folders helps. If not, the quickest fix is to open simplemessaging\templates\inbox.tpl and remove or comment out the link to the "sent messages" page altogether. <img src="{$simple_messaging_img_path}reply.png" align="absmiddle"/> <a href="{$my_pligg_base}/module.php?module=simple_messaging&view=sent">Sent messages</a>
|
|
|
|
|
Logged
|
Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
|
|
|
|
nothingman
|
 |
« Reply #3 on: November 06, 2008, 01:40:45 am » |
|
Thanks LCD One thing tho is I did a test send PM and checked sent mail and the page shows "error 2" and rest of the page is blank.
Works fine here  . Big thanks, LCD!
|
|
|
|
|
Logged
|
I don't know, that's why I ask...
|
|
|
|
catchpen
|
 |
« Reply #4 on: December 01, 2008, 10:52:35 pm » |
|
It's something left from the old version, It works on my other site, thanks!
|
|
|
|
|
Logged
|
|
|
|
|
landshark
|
 |
« Reply #5 on: December 02, 2008, 02:22:35 pm » |
|
When i install this module my site moves to a slow crawl. When i disable the module it goes back to normal. Any ideas what would cause this?
|
|
|
|
|
Logged
|
|
|
|
|
catchpen
|
 |
« Reply #6 on: December 08, 2008, 04:03:18 pm » |
|
I still have a few problems with it but no big deal. The error 2 message when trying to view sent messages is just my god account, another user doesn't have the problem (so far). Also when you view "people who added you as friend" it has a msg icon like to send them a PM but it doesn't work even when you already added them as friend. Maybe change function and icon to "add as friend" or automatically add as friend when they add you.
I think the God account sent items issue has to do with welcome private msg module. Since this is sent through god account the sent items would be several pages!
NOTE: I'm really not sure if it makes sense to try to keep patching this module if Elgg will replace the messaging function.
So I'm wondering if Elgg will replace PM's and if so when??
|
|
|
|
« Last Edit: December 08, 2008, 04:40:01 pm by catchpen »
|
Logged
|
|
|
|
|
Nick
|
 |
« Reply #7 on: December 08, 2008, 10:53:42 pm » |
|
I still have a few problems with it but no big deal. The error 2 message when trying to view sent messages is just my god account, another user doesn't have the problem (so far).
Hmm... I don't get that error with my god account...  I think the God account sent items issue has to do with welcome private msg module. That sounds possible. I don't use the welcome private message module so maybe there is a clash. Also when you view "people who added you as friend" it has a msg icon like to send them a PM but it doesn't work even when you already added them as friend. This is a bug in SWCMS, not the messaging module. I posted a fix here: http://forums.socialwebcms.com/index.php?topic=295.0I'm really not sure if it makes sense to try to keep patching this module if Elgg will replace the messaging function. Integrating with Elgg would just be an option, so SWCMS will still need its own messaging module for people who don't want/need Elgg.
|
|
|
|
|
Logged
|
Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
|
|
|
|
catchpen
|
 |
« Reply #8 on: February 02, 2009, 08:15:25 pm » |
|
Something that would be a nice addition on the next version is a break <br /> tag when the msg composer hits the enter/return key. A full wysiwyg editor would probably be overkill. I'm using this module a lot more than I thought I would.
|
|
|
|
|
Logged
|
|
|
|
|
catchpen
|
 |
« Reply #9 on: February 02, 2009, 11:14:14 pm » |
|
easy enough with the nl2br function line 166 in simple_messaging_main.php added the nl2br. if(isset($_REQUEST['msg_body'])){$msg_body = nl2br(sanitize($_REQUEST['msg_body'], 3));}else{$msg_body='';}
Proceed with caution - It works so far but I'm not sure if it breaks anything else yet.
|
|
|
|
|
Logged
|
|
|
|
|
Nick
|
 |
« Reply #10 on: March 03, 2009, 07:15:03 am » |
|
If anyone's getting a blank page after sending a message, I think it's because the $return value is empty. So, open simple_messaging.php and change line 195 from: header('Location: ' . $return); to: header('Location: ' . my_base_url.my_pligg_base."/module.php?module=simple_messaging&view=sent"); That will direct the user to their sent box so they can see that their message was sent.
|
|
|
|
|
Logged
|
Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
|
|
|
|
angolanmade
|
 |
« Reply #11 on: March 26, 2009, 04:46:56 pm » |
|
Does this module have ability to send a message to all registered users.
|
|
|
|
« Last Edit: March 26, 2009, 06:54:48 pm by angolanmade »
|
Logged
|
|
|
|
|
Nick
|
 |
« Reply #12 on: March 26, 2009, 09:16:09 pm » |
|
Does this module have ability to send a message to all registered users.
No, it doesn't. Sorry.
|
|
|
|
|
Logged
|
Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
|
|
|
|
angolanmade
|
 |
« Reply #13 on: May 04, 2009, 11:24:40 am » |
|
I was playing around with this module and thought, wouldn't be nice if the module was able to send the notification email with the actually message in the body of the email. much like facebook, i believe this would be essential in building traffic and interactivity on your site.
any suggestions on how to get this done.
Thanks in advance.
|
|
|
|
|
Logged
|
|
|
|
|
Nick
|
 |
« Reply #14 on: May 04, 2009, 07:47:19 pm » |
|
The reason I don't do this is because some people will reply directly to the email, therefore sending the site administrator their reply instead of the person they are replying to. I've had people do this with the Subscribe to Comments module.  If your users are smart enough to read a ** DO NOT REPLY TO THIS EMAIL ** message, then you might try scrolling down through simple_messaging_main.php to about line 160 where you'll find a section that starts with if($view == 'send'){. In there you'll see that the message "body" is assigned to $msg_body. A bit further down you'll see $email_message: $email_message = "Hi " . $user_to->username . ",\r\n\r\nYou've been sent a private message from " . $email_from . ". \r\n\r\nTo see the message, go to your " . $main_smarty->get_config_vars("PLIGG_Visual_Name") . " inbox here: " . my_base_url . URL_simple_messaging_inbox . "\r\n\r\nThank you, \r\n" . $main_smarty->get_config_vars("PLIGG_Visual_Name") . " Admin"; Try putting $msg_body in that line somewhere to see if it gets included. Don't forget to include a Do Not Reply message.
|
|
|
|
|
Logged
|
Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
|
|
|
|