As title
After activating Drupalchat modules
I go to the configuration page
But the field "User Relationships Role Name to integrate with" is gray and cannot be entered
Is it a bug or my misconfiguration? (Well, in that case, I only activated the modules and did nothing.)
Please help me. Thank you very much!!!!!
P.s. I captured the screen and the file is attached.

Comments

Sylense’s picture

subscribe. 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"

enricpera’s picture

subscribe

bcarroll28’s picture

sub

Ingmar’s picture

subscribe

sol roth’s picture

Same Issue

mefisto75’s picture

sub

carnau’s picture

StatusFileSize
new521 bytes

Seems 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.

darklrd’s picture

Thanks a lot for your patch :-) I will commit it.

puchok’s picture

I 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')) {

ucefh’s picture

any 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

Anonymous’s picture

Having 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.'

hedac’s picture

thanks andyp22.
that works

Anonymous’s picture

Status: Active » Needs review

Changing issue status.

rickyfriend4all’s picture

I 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.

mefisto75’s picture

@rickyfriend4all Have you seen this http://drupal.org/node/620014 ?

darklrd’s picture

Status: Needs review » Fixed

@everyone - Thanks a lot for your inputs :-)

I have committed the code: http://drupalcode.org/project/drupalchat.git/commit/c2513e9.

TDG-1’s picture

Category: bug » task
Priority: Critical » Major
Status: Fixed » Needs work

I 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

darklrd’s picture

You 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.

TDG-1’s picture

It indeed does. Thanks!!

darklrd’s picture

Status: Needs work » Fixed

Closing this :)

Anonymous’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta1
Status: Fixed » Needs work

I 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!

fraweg’s picture

Hello,

Posted by ehqhelp:
I 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.

Maybe this is the same error than my:
http://drupal.org/node/1409438

I hope I did not a dubblepost.

Thanks for any help!

darklrd’s picture

I will look into it soon. Thanks.

darklrd’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
fraweg’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta1

Hello,

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!

darklrd’s picture

Version: 7.x-1.0-beta1 » 7.x-1.0-beta2
Status: Needs work » Fixed

Hi fraweg,

Download 7.x-1.0-beta2.

fraweg’s picture

hi darklrd, now it seem to work. thanks a lot for your fast help!

Anonymous’s picture

Hi 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.

Anonymous’s picture

Hi darklrd,
Thank you! The problem is fixed! It is a great module!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.