FastComments.com

Add Live Commenting to Drupal Sites

์„ค์น˜ Internal Link

FastComments Drupal ๋ชจ๋“ˆ์€ Drupal์˜ ๊ธฐ๋ณธ ๋Œ“๊ธ€ ๊ธฐ๋Šฅ์„ ๋น ๋ฅด๊ณ  ์‹ค์‹œ๊ฐ„ ๋Œ“๊ธ€ ์‹œ์Šคํ…œ์œผ๋กœ ๋Œ€์ฒดํ•ฉ๋‹ˆ๋‹ค. ์ด ๋ชจ๋“ˆ์€ drupal.org์— ๊ฒŒ์‹œ๋จ์ด๋ฉฐ Drupal 10 ๋ฐ 11์—์„œ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์„ค์น˜ ๋ฐฉ๋ฒ•์€ ๋‘ ๊ฐ€์ง€๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.

Composer๋กœ ์„ค์น˜

composer require drupal/fcom
drush en fastcomments

์ˆ˜๋™ ์„ค์น˜

Download the module from drupal.org/project/fcom and place it in your site's modules/custom/fastcomments/ directory. Then enable it with drush en fastcomments, or from the admin UI at Extend (/admin/modules).

์ฐธ๊ณ ! ์ด ๋ชจ๋“ˆ์€ Drupal ์ฝ”์–ด (user and field). ๋‹ค๋ฅธ Drupal ๋ชจ๋“ˆ์ด๋‚˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋Š” ํ•„์š”ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

๋ชจ๋“ˆ์ด ํ™œ์„ฑํ™”๋˜๋ฉด Configuration ์„น์…˜์œผ๋กœ ์ด๋™ํ•˜์—ฌ Tenant ID์™€ API Secret์„ ์„ค์ •ํ•˜์„ธ์š”.

์œ„์ ฏ ๋ธ”๋ก Internal Link

์ด ๋ชจ๋“ˆ์€ Structure > Block layout (/admin/structure/block)์—์„œ ๋ฐฐ์น˜ํ•  ์ˆ˜ ์žˆ๋Š” ์—ฌ๋Ÿฌ ๋ธ”๋ก์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

  • FastComments Widget - ๊ธฐ๋ณธ ๋Œ“๊ธ€ ์œ„์ ฏ์ž…๋‹ˆ๋‹ค. ํ˜„์žฌ ์—”ํ‹ฐํ‹ฐ๋ฅผ ์ž๋™์œผ๋กœ ๊ฐ์ง€ํ•ฉ๋‹ˆ๋‹ค. FastComments ํ•„๋“œ๊ฐ€ ์ด๋ฏธ ์ฒจ๋ถ€๋œ ์—”ํ‹ฐํ‹ฐ๋Š” ๊ฑด๋„ˆ๋›ฐ๋ฏ€๋กœ ๋™์ผํ•œ ํŽ˜์ด์ง€์— ์ค‘๋ณต ์œ„์ ฏ์ด ํ‘œ์‹œ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
  • FastComments Live Chat - ์‹ค์‹œ๊ฐ„ ์ŠคํŠธ๋ฆฌ๋ฐ ์ฑ„ํŒ…์ž…๋‹ˆ๋‹ค. ๋™์ผํ•œ ํŽ˜์ด์ง€์—์„œ ๋Œ“๊ธ€ ํ•„๋“œ ์˜†์— ๋ฐฐ์น˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • FastComments Collab Chat - ํ…์ŠคํŠธ ์„ ํƒ ์ฃผ์„ ๋ฐ ํ† ๋ก  ๊ธฐ๋Šฅ์ž…๋‹ˆ๋‹ค.
  • FastComments Image Chat - ์ด๋ฏธ์ง€์—์„œ ์ขŒํ‘œ ๊ธฐ๋ฐ˜ ์ฃผ์„์ž…๋‹ˆ๋‹ค. ๋ฐฉ๋ฌธ์ž๋Š” ์ด๋ฏธ์ง€์˜ ํŠน์ • ์œ„์น˜๋ฅผ ํด๋ฆญํ•˜์—ฌ ํ•ด๋‹น ์œ„์น˜์— ์—ฐ๊ฒฐ๋œ ๋Œ“๊ธ€์„ ๋‚จ๊น๋‹ˆ๋‹ค.
  • FastComments Recent Comments - ์‚ฌ์ดํŠธ ์ „๋ฐ˜์˜ ์ตœ์‹  ๋Œ“๊ธ€์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. ๊ฐœ์ˆ˜๋Š” ๋ธ”๋ก์—์„œ ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • FastComments Top Pages - ์‚ฌ์ดํŠธ์—์„œ ๊ฐ€์žฅ ๋Œ“๊ธ€์ด ๋งŽ์€ ํŽ˜์ด์ง€๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

์ฝ˜ํ…์ธ  ์ค‘์‹ฌ ๋ธ”๋ก(Live Chat, Collab Chat, Image Chat)์€ ํ˜„์žฌ ์—”ํ‹ฐํ‹ฐ๋ฅผ ์ž๋™์œผ๋กœ ๊ฐ์ง€ํ•˜๋ฉฐ, ์—”ํ‹ฐํ‹ฐ๊ฐ€ ์•„๋‹Œ ํŽ˜์ด์ง€์—์„œ๋Š” ๊ฒฝ๋กœ ๊ธฐ๋ฐ˜ ์‹๋ณ„์ž๋กœ ๋Œ€์ฒด๋ฉ๋‹ˆ๋‹ค. ์ฆ‰, ์ถ”๊ฐ€ ์„ค์ • ์—†์ด taxonomy ํŽ˜์ด์ง€, views, ์ปค์Šคํ…€ ๋ผ์šฐํŠธ์—์„œ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

์ฝ˜ํ…์ธ  ์œ ํ˜• ํ•„๋“œ Internal Link


๋Œ€๋ถ€๋ถ„์˜ ์‚ฌ์ดํŠธ์—์„œ ๋Œ“๊ธ€์„ ์ถ”๊ฐ€ํ•˜๋Š” ๊ฐ€์žฅ ์‰ฌ์šด ๋ฐฉ๋ฒ•์€ FastComments ํ•„๋“œ๋ฅผ ์ฝ˜ํ…์ธ  ์œ ํ˜•์— ์ถ”๊ฐ€ํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. Structure > Content types > [type] > Manage fields๋กœ ์ด๋™ํ•˜์—ฌ ํ•„๋“œ๋ฅผ ์ถ”๊ฐ€ํ•˜์„ธ์š”.

Each entity that has the field gets:

  • ํŽธ์ง‘์ž๊ฐ€ ๊ฐ ์—”ํ‹ฐํ‹ฐ์—์„œ ๋Œ“๊ธ€ ๊ธฐ๋Šฅ์„ ์ผœ๊ฑฐ๋‚˜ ๋Œ ์ˆ˜ ์žˆ๋Š” ์ƒํƒœ ํ† ๊ธ€.
  • ์„ ํƒ์  ์‚ฌ์šฉ์ž ์ง€์ • ์‹๋ณ„์ž๋กœ, Drupal ์—”ํ‹ฐํ‹ฐ ๊ฒฝ๋กœ์— ๋ฌถ์—ฌ ์žˆ์ง€ ์•Š์€ ์•ˆ์ •์ ์ธ ID๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

The main FastComments Widget block knows about this field, and will skip entities that already have it attached. That way you can mix per-entity comments with the block without seeing the widget twice on the same page.

๊ถŒํ•œ Internal Link

์ด ๋ชจ๋“ˆ์€ People > Permissions์—์„œ ์—ญํ• ๋ณ„๋กœ ํ• ๋‹นํ•  ์ˆ˜ ์žˆ๋Š” ์„ธ ๊ฐ€์ง€ Drupal ๊ถŒํ•œ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

  • Administer FastComments - /admin/config/content/fastcomments์— ์žˆ๋Š” FastComments ์„ค์ • ์–‘์‹์— ๋Œ€ํ•œ ์•ก์„ธ์Šค.
  • View FastComments - ๋Œ“๊ธ€ ์œ„์ ฏ์„ ๋ณด๋ ค๋ฉด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. ์ด ๊ถŒํ•œ์ด ์—†์œผ๋ฉด ์œ„์ ฏ์ด ๋ Œ๋”๋ง๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
  • Toggle FastComments - ํ•„๋“œ ์œ„์ ฏ์„ ์‚ฌ์šฉํ•˜์—ฌ ์‚ฌ์šฉ์ž๊ฐ€ ์—”ํ„ฐํ‹ฐ๋ณ„๋กœ ๋Œ“๊ธ€์„ ํ™œ์„ฑํ™”ํ•˜๊ฑฐ๋‚˜ ๋น„ํ™œ์„ฑํ™”ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ—ˆ์šฉํ•ฉ๋‹ˆ๋‹ค.

๊ธฐ๋ณธ์ ์œผ๋กœ administer site configuration ๊ถŒํ•œ์„ ๊ฐ€์ง„ ์‚ฌ์šฉ์ž๋งŒ FastComments ์„ค์ •์„ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฐฉ๋ฌธ์ž๊ฐ€ ์œ„์ ฏ์„ ๋ณด๊ฒŒ ํ•˜๋ ค๋ฉด ์ต๋ช… ์‚ฌ์šฉ์ž ๋ฐ ์ธ์ฆ๋œ ์‚ฌ์šฉ์ž์—๊ฒŒ View FastComments ๊ถŒํ•œ์„ ๋ถ€์—ฌํ•˜์„ธ์š”.

๋‹ค๊ตญ์–ด Internal Link

์ด ๋ชจ๋“ˆ์€ ํ˜„์žฌ Drupal ์‚ฌ์ดํŠธ์˜ ์–ธ์–ด๋ฅผ ๋ชจ๋“  FastComments ์œ„์ ฏ์— ์ž๋™์œผ๋กœ ์ „๋‹ฌํ•ฉ๋‹ˆ๋‹ค. Drupal ์‚ฌ์ดํŠธ๊ฐ€ ๋‹ค๊ตญ์–ด๋กœ ๊ตฌ์„ฑ๋œ ๊ฒฝ์šฐ, ๋Œ“๊ธ€ UI๋Š” ์ถ”๊ฐ€ ๊ตฌ์„ฑ ์—†์ด ์ผ์น˜ํ•˜๋Š” ์–ธ์–ด๋กœ ๋ Œ๋”๋ง๋ฉ๋‹ˆ๋‹ค.

์ด๊ฒƒ์€ ๋ชจ๋“  ์œ„์ ฏ ์œ ํ˜•์— ์ ์šฉ๋ฉ๋‹ˆ๋‹ค: Live Comments, Streaming Chat, Collab Chat, Image Chat, Recent Comments, ๊ทธ๋ฆฌ๊ณ  Top Pages.

EU ๋ฐ์ดํ„ฐ ์ €์žฅ ์œ„์น˜ Internal Link

If your FastComments account is hosted in the EU, update two settings at Administration > Configuration > Content > FastComments:

  • CDN URL - https://cdn-eu.fastcomments.com
  • Site URL - https://eu.fastcomments.com

You'll also want to pull your Tenant ID and API Secret from the EU dashboard at eu.fastcomments.com/auth/my-account/api instead of the default US dashboard. Everything else in the module works the same.

๋งž์ถคํ™” Internal Link


FastComments๋Š” ๊ท€ํ•˜์˜ ์‚ฌ์ดํŠธ์— ๋งž๊ฒŒ ๋งž์ถคํ™”ํ•  ์ˆ˜ ์žˆ๋„๋ก ์„ค๊ณ„๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

๋งž์ถค ์Šคํƒ€์ผ์„ ์ถ”๊ฐ€ํ•˜๊ฑฐ๋‚˜ ๊ตฌ์„ฑ์„ ์กฐ์ •ํ•˜๋ ค๋ฉด, ๋งž์ถค ์„ค์ • ๋ฌธ์„œ๋ฅผ ํ™•์ธํ•˜์—ฌ ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ณด์„ธ์š”.