Hi, i'm using the module Disqus (http://drupal.org/project/disqus) and Me Aliases.
When 'Me' is enabled, the block Disqus Comments is not displayed in the user's profile page...

screenshots:
with 'me' enabled: http://imm.io/6X7L
with 'me' disabled: http://imm.io/6X81

it's all ok with the Disqus permissions.

i made a clean installation to reproduce the error:

1) go to http://www.flashmedia.com.br/disqustest/user/3
you'll not see the in the content region

2) log in:
http://www.flashmedia.com.br/disqustest/user
user: dev
pass: dev

2) check the block configurations and you'll see that the module is configured to show in the content region

3) if i disable the 'me' aliases module, the block is displayed

thanks.

Comments

nohup’s picture

Status: Active » Postponed (maintainer needs more info)

Did a setup with me 6.x-2.9 and disqus 6.x-1.8, it worked for me

URL: http://d6.codeit.in
admin: admin/lapurd
demo: demo/demo

Login in as demo and see http://d6.codeit.in/user/me

brunorios1’s picture

can't access... "Fatal error"

brunorios1’s picture

did you set the option "Location" in admin/settings/disqus/general to "Block" instead of "Content"?

also, you have to create more users, cause the block isn't displayed to the admin by default.

nohup’s picture

disqus uses item['page_arguments'][0] to get the user object. When modules like 'me' modify the menu handler, it also modifies the page_arguments order. With me enabled the user object is available at item['page_arguments'][2]. Attached patch tries to solve this issue by using menu_get_object and falling back to item['page_arguments'][0] if menu_get_object does not return a valid object. This patch and the idea needs to be brewed more to be ready for prime time, but it should work for you. I am going to look at other options in me.module too.

brunorios1’s picture

worked perfectly nohup!

should i show this to the disqus module maintainer?

thanks!

robloach’s picture

Title: Conflict with 'Disqus' module - Disqus block not displayed in user profiles » Support for the Me Aliases module
Project: me aliases » Disqus
Version: 6.x-2.9 » 7.x-1.x-dev

Oh, I like this a lot... Do we need it in our Drupal 7 branch too?