Closed (fixed)
Project:
DrupalChat
Version:
7.x-1.0-beta2
Component:
User interface
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2011 at 02:46 UTC
Updated:
9 Feb 2012 at 02:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Sylense commentedsubscribe. i've configured everything to the "T" and I still can't get the User Relationships integrated. When I go to the module list there isn't even an option to enable "DrupalChat UR Integration"
Comment #2
enricperasubscribe
Comment #3
bcarroll28 commentedsub
Comment #4
Ingmar commentedsubscribe
Comment #5
sol roth commentedSame Issue
Comment #6
mefisto75 commentedsub
Comment #7
carnau commentedSeems that the module name inside module_exists() is incorrect, and if statement always is returning FALSE.
I provide a patch for this attached to this message.
Also, the drupalchat.admin.js is giving the error '$ is not a function', that is preventing to enable / disable the textfield 'edit-drupalchat-ur-name' to input the relationships names when the radio value is changed.
Comment #8
darklrd commentedThanks a lot for your patch :-) I will commit it.
Comment #9
puchok commentedI see that patch was committed, but it still does not work, because line 80 in file "drupalchat.admin.inc" has
if (module_exists('user_relationships_api')) {
and according to "drupalchat-ur-admin-option-1210238-7.patch" it should be
if (module_exists('user_relationships')) {
Comment #10
ucefh commentedany news about the relation??
still unable to add the relation even after the patch
but the patch worked but not completely
thanks for the committers
Comment #11
Anonymous (not verified) commentedHaving applied the above patch, I found that the '#disabled' property is not being properly removed from the 'drupalchat_ur_name' form item when opting to use the User Relationship module to determine a user's chat list.
My Javascript skills are not what they should be so this patch removes the '#disabled' property from 'drupalchat_ur_name' and instead uses the '#states' property to control visibility based on whether the 'User Relationship module' option is selected for 'Relationship method.'
Comment #12
hedac commentedthanks andyp22.
that works
Comment #13
Anonymous (not verified) commentedChanging issue status.
Comment #14
rickyfriend4all commentedI have wasted nearly 6 hours to explore how to patch. But i am unable to patch. Can any one please upload the patched "drupalchat" module....... Please.
Comment #15
mefisto75 commented@rickyfriend4all Have you seen this http://drupal.org/node/620014 ?
Comment #16
darklrd commented@everyone - Thanks a lot for your inputs :-)
I have committed the code: http://drupalcode.org/project/drupalchat.git/commit/c2513e9.
Comment #17
TDG-1 commentedI also have not had any success in applying the patch. I tried on the dev and beta versions. I tried using GnuWin32 with the following command patch -p0 < drupalchat-ur-admin-option-1210238-11.patch and get this error "can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option?" I also used Netbeans and TortoiseSVN for which I get the "is not a working copy" error. Any ideas? Thanks
Comment #18
darklrd commentedYou don't need to apply the patch now. I have fixed it. Check out the latest dev version dated Jan 11 2012. It should work fine.
Comment #19
TDG-1 commentedIt indeed does. Thanks!!
Comment #20
darklrd commentedClosing this :)
Comment #21
Anonymous (not verified) commentedI have updated the Drupalchat module to the latest version, but I'm still unable to specify which roles. It gives me this error: You must provide the user relationship name in the Drupal UR Settings section.
Thank you for any help!
Comment #22
fraweg commentedHello,
Maybe this is the same error than my:
http://drupal.org/node/1409438
I hope I did not a dubblepost.
Thanks for any help!
Comment #23
darklrd commentedI will look into it soon. Thanks.
Comment #24
darklrd commentedFixed - http://drupalcode.org/project/drupalchat.git/commit/1d1b778. Can someone verify this?
Comment #25
fraweg commentedHello,
I hope I have done everything right..
I copy these two files in my /sites/all/drupalchat. Am I right?
So when I go to configure the module I see only a blank site.
When I redone it everything is as it was before.
So this patch solve not my problem.
Thanks for your fast work!
Comment #26
darklrd commentedHi fraweg,
Download 7.x-1.0-beta2.
Comment #27
fraweg commentedhi darklrd, now it seem to work. thanks a lot for your fast help!
Comment #28
Anonymous (not verified) commentedHi fraweg,
Yes it is the same error. Sorry it took me so long to reply, I've been away from this site for a while.
Comment #29
Anonymous (not verified) commentedHi darklrd,
Thank you! The problem is fixed! It is a great module!