| 1 |
THIS MODULE WAS WRITTEN BY MARCO RADEMACHER
|
| 2 |
Marco.Rademacher XXX web.de (oops, "XXX" should be "@", of course)
|
| 3 |
LICENSED UNDER GPL
|
| 4 |
NO WARRENTY - USE AT YOUR OWN RISK
|
| 5 |
Version: $Id: README.txt,v 1.4 2007/11/09 09:27:14 marcor Exp $
|
| 6 |
|
| 7 |
|
| 8 |
Overview
|
| 9 |
--------
|
| 10 |
|
| 11 |
So, you have a usernode. Do you want to make further sense of it? ;)
|
| 12 |
|
| 13 |
Having a user a node gives also the possibility to post comments on a user.
|
| 14 |
Let's use these comments as guestbook entries!
|
| 15 |
|
| 16 |
usernode_guestbook is another way of implementing a guestbook functionality
|
| 17 |
besides the former guestbook module. If you want a guestbook that behaves in
|
| 18 |
a different way to usual comments and you don't have usernode module installed,
|
| 19 |
use guestbook. But if you have installed usernode already in order to display
|
| 20 |
users in views module, and you want your guestbook entries to look and to
|
| 21 |
behave the very same way as usual comments do, then you should chose this module.
|
| 22 |
For guestbook entries are stored in the comments table, no database tables
|
| 23 |
need to be installed and both modules are incompatible to each other.
|
| 24 |
Everything that works with usual comments will also work with
|
| 25 |
usernode_guestbook, so you can notify your users of new guestbook entries
|
| 26 |
if you have subscriptions module installed.
|
| 27 |
|
| 28 |
usernode_questbook module shows another section on the user's profile page.
|
| 29 |
The latest comments appear here and also a comment form for immediate greetings.
|
| 30 |
Everything is automatically themed as comments are, for your pleasure and for
|
| 31 |
your users' usability.
|
| 32 |
|
| 33 |
|
| 34 |
Requirements
|
| 35 |
------------
|
| 36 |
|
| 37 |
This module requires Drupal 5.x with modules comment and usernode enabled.
|
| 38 |
|
| 39 |
|
| 40 |
Installation
|
| 41 |
------------
|
| 42 |
|
| 43 |
1. Copy the usernode_guestbook directory containing the
|
| 44 |
usernode_guestbook.module to the Drupal sites/all/modules/ directory
|
| 45 |
or a similar one.
|
| 46 |
|
| 47 |
2. Enable usernode_guestbook in the "Administer > site settings > modules"
|
| 48 |
administration screen.
|
| 49 |
|
| 50 |
3. Enable usernode_guestbook block you want in the
|
| 51 |
"Administer > Site settings > Blocks" administration screen.
|
| 52 |
|
| 53 |
4. Apply usernode_guestbook settings on the
|
| 54 |
"Administer > Site configuration > Usernode guestbook" page.
|
| 55 |
|
| 56 |
5. Set comment options on admin/content/comment/settings page:
|
| 57 |
* Preview comment: (ignored)
|
| 58 |
* Default display mode: Flat list - expanded (recommended)
|
| 59 |
* Default display order: Date - newest first (recommended)
|
| 60 |
* Location of comment submission form: Display on separate page
|
| 61 |
(strongly recommended)
|
| 62 |
|
| 63 |
|
| 64 |
Configuration
|
| 65 |
-------------
|
| 66 |
|
| 67 |
Admins can decide whether an additional guestbook tab appears along with a
|
| 68 |
user's profile page. They decide about guestbook default activation
|
| 69 |
which is the same as usual comments on nodes of type usernode.
|
| 70 |
Default settings can be applied even on already registered users.
|
| 71 |
Usernode guestbooks are controlable by each user,
|
| 72 |
even if access to the usernode itself is restricted.
|
| 73 |
|
| 74 |
The name of the guestbook is solely translateble. So you can translate it
|
| 75 |
differently to call it something else using locale module.
|
| 76 |
|
| 77 |
Though it is a nice idea to have guestbook entries the same way comments are,
|
| 78 |
you maybe want to disable some features that come with comments.
|
| 79 |
Currently, I see most solutions on theming level only.
|
| 80 |
|
| 81 |
|
| 82 |
Further development
|
| 83 |
-------------------
|
| 84 |
|
| 85 |
usernode_guestbook module is still in development. APIs may still change.
|
| 86 |
First stable version not before drupal 6, so there will be no 4.7 version
|
| 87 |
of this module. You are invited to take part in the development process.
|
| 88 |
Feel free to discuss features and post patches. If you would like to
|
| 89 |
contribute to this module, please submit your ideas and your code at
|
| 90 |
http://drupal.org/project/issues/usernode_guestbook
|
| 91 |
It is planned to keep this module a small and useful addition to usernode.
|
| 92 |
|
| 93 |
* Features:
|
| 94 |
* - Shows guestbook in user-profile (hook_user 'view')
|
| 95 |
* - Shows comment-form in user-profile (hook_user 'view')
|
| 96 |
* - Themes guestbook-entries the same way as other comments (REALLY hard work, haha!)
|
| 97 |
* - Touches usernode if guestbook is watched to unset new status of viewed comments (node_tag_new)
|
| 98 |
* - Guestbook tab additional to user profiles (_usernode_guestbook_tab)
|
| 99 |
* - Admin settings page for default activation and appearence (_usernode_guestbook_admin_settings)
|
| 100 |
* - Jump directly to the guestbook-section (hook_link 'fragment')
|
| 101 |
* - .pot-file
|
| 102 |
* - German informal translation
|
| 103 |
* - User can switch own guestbook functionality like comments (disable, read only, read and write)
|
| 104 |
* even if usernode access is restricted (hook_user 'form')
|
| 105 |
*
|
| 106 |
* TODO:
|
| 107 |
* - Notification by e-mail on new entries (subscriptions.module?)
|
| 108 |
* - README file explains install and gives config advice (comments chrono, subscriptions, etc)
|
| 109 |
* - Get rid of doubled formatting of the guestbook entry in preview mode to enable previewing again
|
| 110 |
* - Create an own, themable guestbook form that uses comment form theming by default
|
| 111 |
* - Show only a smaller number of latest guestbook entries on profile page
|
| 112 |
* - Put form at the end of the entries depending on comment order
|
| 113 |
*
|
| 114 |
* TODO in version 6:
|
| 115 |
* - If future hook_link_alter also refers to links on comments,
|
| 116 |
* unset 'reply' Link for usernode guestbook
|
| 117 |
* - Make the usernode_guestbook block an independent jQueryly solution
|
| 118 |
|
| 119 |
Any suggestions? Wish to help? Contact me! (EMail above)
|