Hi all,
First, thanks to Gold for putting together the original version of this module. I had begun putting together something fairly similar to this myself after some experimenting and then I found this module.
For those who are interested, I've attached an updated version of the anonymous_contact module.
It adds the following:
- Creates a "Contact Me" tab on user profiles
- Adds a user profile option like the "Personal Contact Form" option (from the Contact module), but with three options: Disabled, Community and Public (so users can select whether they want to disable their contact form, have it open to registered users only, or fully open to the public). This option utilises the existing "$user->contact" variable (and will therefore pick up settings previously established by the contact module). The additional option for 'public' access merely extends the built-in contact setting.
- Adds an admin page (at Settings --> Anonymous Contact Forms) with a copy of the contact module's "flood limit" (emails per hour) - in case, like me, you have the drupal contact module disabled and have no way to access this setting. The admin page also includes a default setting for new users for the contact form visibility and an "abuse" email address (which is listed in email's sent as copies to anonymous senders - which could be abused to create backscatter spam).
- Integrates with MIME mail and provides extra niceness in HTML emails (such as linking the name of registered senders to their profile page, and providing a footer explaining to recipients why they received the email and how to turn off their contact form)
- Integrates with RealName to pull in names of registered senders and to address receipients personally.
- Displays a message to users when viewing their own contact form (always visible to the owner) letting them know if it's hidden or visible to other users.
I've just spent the afternoon playing around with this and it seems to work pretty well.
I haven't tested it with the built-in contact module enabled (I know, for example, that I should really be implementing menu_alter and squashing the built-in contact tab - and I should do a bit more checking on the user profile page where I am sharing underlying variables with the contact module).
If anyone out there is interested I'll do that testing - just let me know if you're keen to use this and I'll do a bit more refining.
I've also rolled in the mollom implementations from http://drupal.org/node/814736 - but I haven't tested them with this module (there might be issues when a registered user uses a contact form with mollom enabled, I don't know because I haven't tried yet) :)
Cheers
Daniel
| Comment | File | Size | Author |
|---|---|---|---|
| anonymous_contact_6.x-1.2.tar_.gz | 12.32 KB | TheDanScott |
Comments
Comment #1
AntiNSA commentedhas anyone used this yet???
Comment #2
TheDanScott commentedHi AntiNSA,
I've been using it on a couple of production sites for about 18 months now. No issues to report with it :)