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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | disqus-page_argument_to_user_object-1204476-4.patch | 665 bytes | nohup |
Comments
Comment #1
nohup commentedDid 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
Comment #2
brunorios1 commentedcan't access... "Fatal error"
Comment #3
brunorios1 commenteddid 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.
Comment #4
nohup commenteddisqus 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.
Comment #5
brunorios1 commentedworked perfectly nohup!
should i show this to the disqus module maintainer?
thanks!
Comment #6
robloachOh, I like this a lot... Do we need it in our Drupal 7 branch too?