Hello, I am using the nightly development tar file as of this writing. As I advance toward fully integrating this excellent module into my site, I have noticed something and wonder if you would be so kind as to advise. I am not clear if it is my settings or the module.

When registered user A views an ad posted by registered user B, and each of the two users has their personal contact form enabled, A is unable to see the "contact the advertiser" link, although both the "add new comment" and "suggest a new category" links are fully visible. However, admin can see the "contact the advertiser" link (and the other two links) regardless of which ad he is viewing.

Any thoughts? Thanks so much.

Comments

mcurry’s picture

Category: feature » support

The contact link is only visible for users belonging to a role that has access user profiles permissions enabled. The administrator can always see this link, since the admin has all possible permissions.

So, do users A and B have that permission?

mcurry’s picture

Title: Contact the advertiser » Contact the advertiser link doesn't show up
bwv’s picture

Thank you, that was it. I appreciate greatly your prompt assistance. Regards

bwv’s picture

I just had another thought, sorry to trouble you (I know only a little bit about Drupal and nothing about coding, if you could not already tell). If access user profiles is checked for both anonymous and authenticated users, and an anonymous user viewing an ad clicks on the "contact the advertiser" link, he is taken to the advertiser's profile. But the way my site is currently configured, he/she still must log in or register to send the advertiser a message about the ad.

If this is not a setting-related issue, would it be possible to add something to the code that would allow an anonymous user to click on the "contact the advertiser" link, then have a new text field open up immediately below with a contact form?

I know that I can ask users to post their contact information in the text of their ad, but this would obviate such a step, if it is indeed possible.

Many thanks

mcurry’s picture

Status: Active » Fixed

I usually configure my classified ads sites to allow anonymous users access to a user's profile and the contact feature. Or, if I don't enable that for anonymous users, I usually install and enable alternative contact methods, such as the private message module - this will provide a link at the bottom of each post that allows private messaging.

In any case, of course, it is possible to do what you ask, but that falls into the category of a new feature or customization - If you want to suggest this as a feature, please open up a separate issue ('feature request') so we can track and deal with it separately.

I'll close this support request, since we've solved your original request.

mcurry’s picture

I will also note that the current versions in CVS (and from here on, in the nightly build and/or releases) - the link reads "View the advertiser's (name) profile" and the link goes directly to the profile page, not the contact form since the contact form does require permissions that the anonymous/guest user may not have. I may change this later to use different links depending on permissions, etc. but for now, this fixes the problem where the link points to a feature that is unavailable to some users (contact form).

Anonymous’s picture

Status: Fixed » Closed (fixed)