Closed (fixed)
Project:
Disqus
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2010 at 06:09 UTC
Updated:
26 Oct 2021 at 22:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dvasquez commentedXQSme, i only set it to Block display, jejeje!
Comment #2
toddwshaffer commentedTo clarify:
in /admin/settings/disqus underneath the Visibility section, choose the Block option in the Location dropdown menu.
Then you just select the "Disqus Comments" block from within the panels interface under the Miscellaneous tab.
That's it, your disqus comments should now be displaying properly.
Comment #3
dvasquez commentedExactly, thanks for clarify it, toddwshaffer.
Comment #4
Anonymous (not verified) commentedNow when one can disable the Block module and only run with Panels, it makes sense to define a pane for the Disqus functionality.
Patch is coming soon.
Comment #5
Anonymous (not verified) commentedattached
Comment #6
wiiiktor commentedWhat is the effect of this path?
I put this into the code, but i don't see option --Display Disqus comment box in a pane-- to switch on...
My colution is to use a Custom block and choose a block with a DISQUS code copy / pasted from the disqus.com site (only the html filtering needs to be switched off).
Comment #7
rickmanelius commentedI don't understand why we won't assume the block module is enabled but we do assume that ctools is present. Why not simply make a 'block' module dependency and therefore we can assume that the block will always be available to panels.
Comment #8
rickmanelius commentedAlso, the patch in #5 does apply cleanly (awesome!) but as the comment in #6 asks, it's unclear how it actually works. I tried finding it in the panel and I can't seem to locate where to enable, etc. Putting to 'needs work' so that testers can then give this a proper review.
Comment #9
h00dwynk commentedYou will find it under Disqus in Panels popup, try clearing your cache after applying the patch.
Comment #10
rickmanelius commentedHi Valor,
I flushed cache twice and revisited the panels pop up. I only see the following (see attachments). Now in miscellaneous, I do see 5 disqus blocks available, but those were already there prior to this patch.
If I'm missing something obvious, please let me know and I'll be glad to get this reviewed. But right now, I'm still not seeing it.
Comment #11
h00dwynk commentedHi @rickmanelius
Did you apply the patch against 7.x-1.9 release or 7.x-1.x-dev ?
Try to apply the patch on the dev version if you are running 1.9
Comment #12
rickmanelius commentedHi @Valor
The only differences between 7.x-1.9 and 7.x-1.x-dev are timestamps and the 1.9 versus dev label.
Comment #13
h00dwynk commentedJust so we can be sure try to run it against the DEV
Second make sure this files exists
/modules/disqus/plugins/content_types/comments/comments.inc
Are you passing any context to the panel ?
Comment #14
rickmanelius commentedHi Valor,
The thing I was over-looking (or making a mistake, depending on your perspective) was the context portion. While the issue summary did state that one of the intentions was replacing nodes with panels, it wasn't clear if the solution here was to provide the ability to add disqus comments to a generic panel. If I had more experiencing on the programmatic side of ctools plugins.
So I can validate that yes the patch in #5 does indeed work... and provides disqus integration without the need of the block system.
Now if there was a way to meet the use case where a disqus thread could be added to a generic pane, that would be sweet. I have a situation where a client wants to have a custom panels page with a thread present on the homepage, which is not associated with any particular node. But alas, we'll save that for another thread once this is committed.
Thanks for your patience! Setting to RBTC.
Comment #15
sillygwailoI noticed there was no "Settings" option for the pane when using this patch. Would it be possible to add that? Would love to add a title like "Comments" or "Join the Conversation".
Comment #16
socialnicheguru commentedThis no longer applies
Comment #17
ziodave commentedI adapted the patch to current HEAD.
Comment #18
slashrsm commentedLooks OK. Can we add some comments to the actual plugin?
Comment #19
ziodave commentedComments added.
Comment #20
torgospizzaComment #21
damienmckennaRerolled.
Comment #22
damienmckennaAdds the comment count plugin from #1857058: Create ctools pane for disqus comments.
Comment #26
damienmckennaAdding credit to the folks in #1857058: Create ctools pane for disqus comments.
Comment #27
damienmckennaCommitted.