Click here to load reader
Date post: | 08-May-2015 |
Category: |
Technology |
Upload: | acquia |
View: | 1,229 times |
Download: | 0 times |
Click here to load reader
HANDLING COMMENTS IN DRUPAL
Drupal Essentials
1Wednesday, February 12, 14
2Wednesday, February 12, 14
Who is this for?• New to Drupal?
• Starting a new Drupal site!
• Inherited a new Drupal site and want to know more about configuration
3Wednesday, February 12, 14
training.acquia.com/events
4Wednesday, February 12, 14
In this demo• For total beginners to
Drupal configuration
• Comment configuration
• Display of comments
• Modules to improve comment moderation
5Wednesday, February 12, 14
Comments: Out of the box
6Wednesday, February 12, 14
Demo• Adding a comment. • Turning on comments for a content type.• Setting permissions.• Review the comment queue.
7Wednesday, February 12, 14
Per content type
8Wednesday, February 12, 14
Comment configurationEnable the Comments module
Enable comments per content type
Configure permissions per role
https://drupal.org/node/7776769Wednesday, February 12, 14
Closed??
10Wednesday, February 12, 14
Comments• As an author you can open or close
comments per item of content.
11Wednesday, February 12, 14
Comment form• Below the
content.• After showing
list of comments.
• This is configurable.
• Show reply form on another page as an option.
12Wednesday, February 12, 14
Add fields
13Wednesday, February 12, 14
Possibly Webform
14Wednesday, February 12, 14
Comment queue
15Wednesday, February 12, 14
Unapproved
16Wednesday, February 12, 14
Check comment• Visible only if logged in
17Wednesday, February 12, 14
Modules to improve Comments
18Wednesday, February 12, 14
Comment Notify
https://drupal.org/project/comment_notify19Wednesday, February 12, 14
Rules scheduler
http://drupalize.me/videos/introducing-rules-scheduler
• Close comments after a period of time.
http://drupaleasy.com/blogs/doug-hercules/2013/01/give-your-comments-shelf-life
20Wednesday, February 12, 14
Schedule based on date
21Wednesday, February 12, 14
CAPTCHA +
22Wednesday, February 12, 14
Honeypot
23Wednesday, February 12, 14
Services
24Wednesday, February 12, 14
Panels
25Wednesday, February 12, 14
Comment theming
26Wednesday, February 12, 14
Default node layout
27Wednesday, February 12, 14
Node template
28Wednesday, February 12, 14
Per node layout
29Wednesday, February 12, 14
Panels
Override display of nodeOverride display of node
30Wednesday, February 12, 14
Disqus
31Wednesday, February 12, 14
Disqus• Advantages:• Hand over moderation. • Login verification w facebook, G+ etc
• Disadvantages: • You’re giving up all your comments and
user interaction.
32Wednesday, February 12, 14
Disqus
33Wednesday, February 12, 14
34Wednesday, February 12, 14
http://disqus.com/admin/drupal/35Wednesday, February 12, 14
Permissions
36Wednesday, February 12, 14
Mollom
37Wednesday, February 12, 14
Mollom
38Wednesday, February 12, 14
Statistics• Shows you “Ham” versus “Spam”
By Douglas Muth (CC BY-SA 2.0) http://www.flickr.com/photos/dmuth/8180972354/ 39Wednesday, February 12, 14
Another example• Spamtastic!
40Wednesday, February 12, 14
Mollom Configuration1. Download and Install the module
2. Account keys connect you to Mollom server
3. Set permissions for users
• Which user roles can bypass Mollom protection?
4. Configure Mollom for specific forms
• Select protection mode, either Text analysis or CAPTCHA-only
5. Set fall back optionshttp://mollom.com/tutorials/drupal-7
41Wednesday, February 12, 14
https://drupal.org/project/mollom
1. Download
42Wednesday, February 12, 14
http://mollom.com/
2. Sign up for keys
43Wednesday, February 12, 14
3. Permissions
44Wednesday, February 12, 14
Who can access?• Anonymous gets checked by Mollom
45Wednesday, February 12, 14
4. Configure for forms
46Wednesday, February 12, 14
5. Fall back settings
47Wednesday, February 12, 14
Questions?
48Wednesday, February 12, 14