Closed (fixed)
Project:
Drupal core
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Dec 2004 at 09:30 UTC
Updated:
14 Sep 2005 at 01:11 UTC
Jump to comment: Most recent file
It would be useful for contact module to print out a direct link to contact the author.
Attached, a simple fix that adds _link hook to contact.module.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | contact_link_feature_V2.patch | 554 bytes | matteo |
| contact_link_feature.patch | 424 bytes | matteo |
Comments
Comment #1
dries commentedWhen comments are disabled, this might be a good thing. When comments are enabled, this probably isn't a good thing. Also, you should check whether the author has enabled his personal contact form.
(If you attach a patch, set the status to 'patch'.)
Comment #2
matteo commentedOk, Dries, I'll work on your suggestions (I agree with you) and repost a new patch....
Matteo
Comment #3
matteo commentedHere is the new patch for this module.
According to Dries suggestions, contact link is printed out only:
- comments are not enabled for the node
- user is accepting contact
Please let me know if the patch can be finalized.
Matteo
Comment #4
killes@www.drop.org commentedI'd be surprised if this patch would work as advertised. $user->contact is only available after user_load() (which isn't done usually). Doing user_load for each user is not a good idea.
Comment #5
matteo commentedI'm working on a dedicated mailto.module which will give the possibility to mail the authors of posts and the registered users, as an admin helping tool, which will incorporate this patch.
I'll publish the module when ready.
Pleae consider this enhancement as closed.
Matteo
Comment #6
firedancer5 commentedIs this available in a stable form? It seems to be just what I am looking for. Please let me know. Thanks!