Hi, older versions of Drupal allowed anonymous users to send messages to other users using the user contact form, if enabled by that user.
The latest version of Drupal 5 (beta 2) is not allowing it and I've seen on contact.module contact_menu() there's access = $user->uid for $items[] = array('path' => "user/". arg(1) ."/contact", I tried removing it, disabling and enabling the module but still not working.
How can user contact forms work for anonymous users?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | untitled.JPG | 141.59 KB | ricabrantes |
Comments
Comment #1
RobRoy commentedYou would set 'access' => TRUE to allow it for all users. This should user_access('contact users') or whatever instead. Maybe a patch is in order.
Comment #2
ricabrantes commentedThis bug still active in D7.x-dev..
Comment #3
webernet commentedUser contact forms are not available to anonymous users to help prevent spam.
There is an open issue to allow it though. Feel free to continue there.