I have followed the directions:
1) Created a Relationship type in User Relationships
2) Set IM configuation settings (admin/settings/im) to use this relationship type for selecting IM friends
3) Set permissions for authenticated users to allow "IM talk"
4) I CAN'T SEE the IM Friends Block under admin/build/block

I can see all Relationship blocks that I will not be using though...

What am I doing wrong?

Comments

GavinC’s picture

I am getting the same issue as well.

moomba’s picture

I am not getting the block too? Do we need some sort of AJAX module? Just curious since it says written in ajax.

vako’s picture

AJAX is native to the web. It's a mixture of Javascript, CSS and XHTML/XML. So you don't need to install anything to get it working.
This might be an implementation issue, I hope one of the programmers can shed some light as what we are doing wrong or provide detailed documentation perhaps.
I am surprised that not many have complained about this issue.

pahariwalla’s picture

Very interesting and a bummer - no doubt. The problem seems to only exist in the Garland theme. The 2 IM blocks (IM Form and IM Friend PIcker) DO show up in other themes.

If you enable another default Drupal theme, like Pushbutton, and then come back to the blocks page. Near the top you'll see links for each enabled theme, and if you pick Pushbutton you see the blocks listed. Go back to Garland and they're gone !

I haven't been able to track down the bug yet and it's getting really late here so this might have to wait till tomorrow - sorry. Any ideas anyone?

hmmmm

pahariwalla

GavinC’s picture

I am not using Garland, and I am having the issue. I am using Pixture Reloaded.

pahariwalla’s picture

FYI - I've tried all of the other default Drupal themes show the block listed.

What's funny is that I have a third block in for the demo site (DEV-list_friends) which I forgot to remove from the download, and it DOES show up. Anyway, my brain is getting very fuzzy and I don't think I'll get it tonight but I will hit it first thing when I get up.

pahariwalla’s picture

Thanks for the tip.... I'll add that to the hopper and will do my best to get a fix up asap, but it's like 1:30 AM and now I really am going to bed ;-)

vako’s picture

Thank you pahariwalla for the quick response and I appreciate all the work you have done to this nice module.
I am using Aurora and Pixture Reloaded with the same issue.
Thanks for clearing-up the DEV-list block, all this time I was wandering where it came from and what is will be used for...;)

pahariwalla’s picture

Status: Active » Patch (to be ported)

I've fixed the problem - but I'm sot sure why it wasn't working with some themes. For developers who might be interested in figuring out the mystery, here's the basics... in hook_block, in building the array to return to drupal, I just removed the status, weight, and region parameters and the problem went away. I'm not sure what was the culprit, but it works now - I'm only specifying info and cache.

The fix is in im.module, and as I'm trying to figure out how to make a patch and/or cut a new tag, you can download the fixed im.module from CVS at:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/im/im.modul...

p.s. I'm brand new to CVS so the whole process of committing, patching, tagging has me a little confused. It take a day or 2 to get a new dev release...

moomba’s picture

Thanks!!!! I can see both the modules now and DEV is gone.

vako’s picture

Thank you very much pahariwalla. you're the best, such a quick solution for us, sorry we kept you awake last night...;)
It's working for me, but I had to change the background color in the im.css since all were white initially. Maybe it was my theme...
I will test it and report issues, if any.

This IM rocks! 100 times better, easier, faster than a chat window.

vako’s picture

I got some errors during refresh, I will open a new post for it.

I noticed you already have committed the patch into a new build today. thanks!

moomba’s picture

Still not working for me. I am using waffles theme. I see the 2 blocks and users but when I click on a user to talk to it just refreshes to the front page.

pahariwalla’s picture

Are you sure it's refreshing the page? It's not supposed to refresh the page. When you click on a user, it simply opens a "conversation" for you to talk on.

Before you click on a name of a friend, you should see a label above the console (where you see the messages in the conversation), that says "Talkin to no one". After you click on a friend (say, "George"), the label should change to "Taking to George:" Then you can type in a message and hit enter and George should see it.

If this is not what you see, then please open a new ticket (this one is about blocks not showing up) that describes what you did and what happened.

Thanks.

moomba’s picture

k. I will open a new ticket. It is just refreshing. Thanks for the response and sorry for the delayed response.

pahariwalla’s picture

Status: Patch (to be ported) » Fixed

Committed. Should be in current development snapshot.

Status: Fixed » Closed (fixed)

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