I have to develop an DrupalChat & OG integration for client, but there is no way to do that without hacking DrupalChat module. I added few lines to this module, to achieve what I needed.
Basically, it just invokes specific hook now which can be defined by other modules to supply list of additional chatrooms. It is possible to have a proper implementation for existing "Public Chatroom" feature using this too.
If this gets added to module, I can also publish small additional module I created - "DrupalChat OG Integration". It allows to have an online chat with organic group you have been added to.
Comment | File | Size | Author |
---|---|---|---|
#1 | create_chatrooms-1693330-1.patch | 28.16 KB | Jānis Bebrītis |
Comments
Comment #1
Jānis Bebrītis CreditAttribution: Jānis Bebrītis commentedPatch for latest 7.x-1.x branch attached
Comment #2
darklrd CreditAttribution: darklrd commentedAwesome! Thank you so much for submitting this patch! :)
Comment #3
Jānis Bebrītis CreditAttribution: Jānis Bebrītis commentedbump ;)
Comment #4
gyphorz CreditAttribution: gyphorz commentedCan it create default chartrooms (like public) for whatever organic group the user is in? any chance we could see this patch for 6.x-2?
Comment #5
Jānis Bebrītis CreditAttribution: Jānis Bebrītis commentedthis patch allows other modules to "inject" chatrooms exacly the public one.
Organic groups chat is different feature, it's a side module I created but have not published as it requires for this patch to be applied.
Comment #6
darklrd CreditAttribution: darklrd commentedPlease provide that side module too :)
Comment #7
Jānis Bebrītis CreditAttribution: Jānis Bebrītis commentedcan we get this trough, please?
Comment #8
cllamas CreditAttribution: cllamas commentedthis patch is not working for me, i need it to create individual chat rooms for each organic group and this patch is not creating any additional room on my site. please help :(
Comment #9
Jānis Bebrītis CreditAttribution: Jānis Bebrītis commented@k91s71n4 "this patch is not working for me" -> read the issue summary and comment #5
Comment #10
Jānis Bebrītis CreditAttribution: Jānis Bebrītis commentedcan we get this trough, please?
Comment #11
arnaudbey CreditAttribution: arnaudbey commentedHi. How your patch is supposed to work ? You said "this patch allows other modules to "inject" chatrooms exacly the public one. "
I mean, i applied the patch but i see no difference in the administration panel, nowhere. I'd like to add others public rooms by default but i dont see how to do that.
Thanks.
Comment #12
cllamas CreditAttribution: cllamas commentedhi , I applied the patch and the OG rooms appeared, but also the users appear in the chat, What should I do if I only want to show the OG chatrooms?
Thanks
Comment #13
Jānis Bebrītis CreditAttribution: Jānis Bebrītis commented@k91s71n4 - public chat, it's unrelated with this issue, but i think there should be "Public Chatroom" setting in module that toggles this.
@arnaudbey - There's nothing in UI for that, it's a minor change that allows you to inject chatrooms using custom module. This patch basically just adds "module_invoke_all" that allows you to use hook to define new chatrooms.
It's been quite a time since i was working on this so i don't remember exactly.
Comment #14
cllamas CreditAttribution: cllamas commentedthis stopped working after upgrading the module. WHat should I do?
Comment #15
candelas CreditAttribution: candelas commentedAny solution to get this working with OG?