I want to create an simple chat that is based on comment module. Unlike the existing chat modules this will be more simple and more adapted for media websites where a moderator should be able to filter which messages will be shown and when.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | simplechat.zip | 7.16 KB | TheInspector |
| #7 | simplechat.zip | 7.09 KB | TheInspector |
| #5 | simplechat.zip | 6.19 KB | TheInspector |
| #3 | simplechat.zip | 4.67 KB | TheInspector |
Comments
Comment #1
manuel garcia commentedThanks for the interest in contributing to the community!
In order to proceed reviewing this application, please add the module as attachment so we can review it:
Make sure to have read and understood these two pages:
http://drupal.org/node/59
http://drupal.org/node/539608
Comment #2
avpadernoComment #3
TheInspector commentedHere comes the module. It's a simple chat module that depends on the comment module. The difference between other Drupal chat modules is that this one supports a moderated chat where a moderator can choose which messages(comments) to show. To do this you have to change the permissions for the comments module so that not everyone can publish comments without approval. Unlike the comment module the anonymous users first login to the chat(not Drupal login) and then they can write their messages. To get a nice looking interface in the chat you have to write some css code, but in the first stable version of this chat a css file will be included. It's also important to copy the comment-wrapper.tpl.php to the theme path to get it working, I've tried to create a simplechat-wrapper.tpl.php in the module that can be overriden in the theme path, but I havent found a solution for this yet.
Other things on the road map:
-Ajax delete unpublished comments from the chat when they has been published(to avoid duplicates for the moderators).
-Ajax delete the comment form when the chat is closed(read only-mode for comments). This one is useful if you have a chat open just a specific time.
-Ajax update the node body so that the moderator can change the body when the chat has closen.
-Try to find a solution where it's possible for the moderator to answer an unpublished comment.
-Show how many users that is in the chat.
-Let the users customize the settings in the chat.
-Cache the chat.
Comment #4
manuel garcia commentedComment #5
TheInspector commentedHere's a new version where the css is included and the code have been checked through the coder module.
Comment #6
pcambraHi,
In a module like this, where there are plenty of modules that do something similar, I believe you should provide a more explicit definition of what the module does and how it does it. Also, a demo site would be great to have.
Here are some things I've found reviewing the code, please revise http://drupal.org/node/539608 to see which one of them could be blocking.
Thanks!
Comment #7
TheInspector commentedhttp://simplechat.prontodev.se/ is a demo site. The biggest difference between this module and other Drupal chat modules is that this one let users create moderated chats. And as the name says it's very plain and simple, no private chats and no smilies. The chat has been used to let users ask site moderator questions. It's similiar to chats that news papers use to arrange to let users ask an expert questions about a particular topic.
Comment #8
avpadernoHello, and thank you for applying for a CVS account. I am adding the review tags, and some volunteers will review the code, pointing out what it needs to be changed.
Comment #9
drupalshrek commentedHi,
I'm not an expert, so treat the following comments carefully!
1) I see you use "variable_set()". I think this means you also need to do a clean-up by creating a simplechat.install file implementing hook_uninstall(), http://api.drupal.org/api/drupal/developer--hooks--install.php/function/...
2) I don't think you need $id$ in the README.txt
3) I think you need to add the ability to make your module themable. This is to HTML what t() is to translators. Lines like the following I guess cannot easily be themed:
Check out:
http://drupal.org/node/306
http://drupal.org/node/165706
Comment #10
TheInspector commentedNow these changes are fixed.
Comment #11
zzolo commentedHi. Please read all the following and the links provided as this is very important information about your CVS Application:
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications
Comment #12
avpadernoAs per previous comment, I am setting this issue as Won't fix.
Since new users can now create full projects, applications have a different purpose and they are handled on a different issue queue. See Apply for permission to opt into security advisory coverage for more information.
Comment #13
avpaderno