Offshoot of #273853: Toggle Disqus Comments.
Basically what is happening in our particular use case is that Drupal core comments are used on one node content type, Disqus is being used on others, and some with no comments at all. The referenced issue removes reliance on the comment module by adding a new "toggle disqus" permission, but introduces user interface issues when both Comment and Disqus are used. A blank comment settings vertical tab form appears for users without "Administer comments and comment settings" permission when the Disqus module is enabled.
On our project I temporarily commented out line 593 of disqus.module until I get a little time to work on a solution that works for all use cases: Disqus standalone and Disqus+Comments.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | disqus-work_better_with_core_comments-1737598-8.patch | 1.83 KB | jerenus |
| #5 | disqus-work_better_with_core_comments-1737598-5.patch | 906 bytes | jerenus |
| #1 | disqus-work_better_with_core_comments-1737598-1.patch | 1.55 KB | Sborsody |
Comments
Comment #1
Sborsody commentedThis seems to handle the different use cases and permission combos better.
Comment #2
jwilson3RTBC. Works as advertised and would be a beneficial addition to the codebase to fix this usability bug.
Comment #3
robloachHow about....
Comment #4
jwilson3Rob has a valid point. Should be a trivial re-roll, for which i dont have time atm.
Comment #5
jerenus commentedHow about this.
Comment #6
jerenus commentedComment #7
jwilson3Any reason you left out the clear comments that were added by the previous patch?
Comment #8
jerenus commentedI just don't know it is necessary. New patch with the clear comments.
Comment #9
jwilson3Thanks!
Comment #10
robloachWell done, team! Thanks a lot: http://drupalcode.org/project/disqus.git/commit/dbc1381
Comment #11
Sborsody commentedI will try to test this over the weekend. Thanks everyone.
Comment #12
Sborsody commentedLooks like it works for our use case. Thanks everyone!
Comment #13.0
(not verified) commentedexpands on description, adds issue reference