If im using a administer account and click a user profile, I see 4 buttons:
View - Edit - Track - Contact

If im a anonymous user and click a user profile, I see 2 buttons
View - Track

What can I do to activate the Contact button on the screen for anonymous user?
I force the way to something like user/7631/contact and the page returns Access denied
You are not authorized to access this page.

Thanks

Comments

scoutbaker’s picture

A simple search on this topic would have answered your question.

This behavior is by design.

Alan Oliveira’s picture

upload the contact_anon module, but doesnt solve the problem

any other ?

vm’s picture

What exactly are you trying to accomplish? The reason contact module isn't open to anon users is it would be a spam attack waiting to happen for your users.

Is this issue about a sitewide contact form for you? or allowing anon users to contact registered users of your site?

Why didn't the anonymous_contact.module help? what didn't it do for you?

please help us help you by being as descriptive as possible.

Alan Oliveira’s picture

Exactly what you just said, open the contact module for anonymous user get in contact with registered users

My client ask for it, so... you know

The anonymous_contact did not show the Contact button on the user profile page, I still got the same picture

VIEW - EDIT - TRACK - CONTACT (for user #1)
VIEW - TRACK - CONTACT (for registered)
VIEW - TRACK (for anonymous)

vm’s picture

file a support request or a bug report with the module in question

I was trying to clarifiy that this was for user contact's and not for sitewide contact form. Question answered.

Alan Oliveira’s picture

any1?

Alan Oliveira’s picture

how to change the contact module (in drupal core) to allow anonymous users to contact registered users (in profile view - a button call contact only displayed for registered users)

vm’s picture

you have to take the time to read: http://drupal.org/search/apachesolr_search/anonymous%20user%20contact%20...

the only way it can be done is by hacking core. There is no module to do it, you have to read each thread in the search to figure out where the dicussions have gone, and how others have managed to do this.

Alan Oliveira’s picture

I add the line

//If we have a default category defined in the URL
if ((int)$_GET['c'] > 0) {
$default_category = (int)$_GET['c'];
}

following the instructions on the node
http://drupal.org/node/220243

but so far doesnt work
can anyone give me a useful tip ?