[x] Let users be contactable on their profile pages
something like that in the settings would be good if you only want to use the "contact us" feature.
sorry for not attaching patch. i feel to new to drupal to make something for the core. i need more experience with developing modules.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | userformhide_0.patch | 1.06 KB | budda |
| #1 | userformhide.patch | 1 KB | budda |
Comments
Comment #1
buddaThe attached patch introduces a new permission for the 'contact' module.
You must now associate the ability to have user contact forms to a role.
If a user role doesn't have the permission both the 'contact' tab and the checkbox form are hidden from view.
Previously it was not possible to get rid of the 'contact' tab even when the users had their contact checkbox un-ticked. Not good!
Comment #2
jjeff commentedComment #3
buddaWould be good to get this included in 4.7 before people start trying to use the contact.module on their new 4.7 sites.
Comment #4
Dublin Drupaller commented+1 for this idea. Only thing I would change is the permission title, instead of "user form" I would have called it something more intuitive like "access contact tab".
"user form" can mean so many things.
Dub
Comment #5
buddaI went with 'user form' is it is listed under the 'contact' module heading, and i figured it would be clear from that -- rather than having long permission names.
But if there is a better fitting Drupal standard, what the heck if it can get in to the 4.7 release!
Comment #6
markus_petrux commentedI have marked this issue as a dup of this one.
+1 for the idea :-)
What about
'contact users'or something more user friendly? 'user form' looks like you need to look at the code to figure out what is it.Comment #7
budda'user contact form' ?
Comment #8
markus_petrux commented+1 :-)
Comment #9
buddaI've changed the permission name as discussed.
Comment #10
dries commentedThis is a feature request.
Comment #11
drummAll of the permissions should start with a verb. Maybe "use user contact form" or "can have a user contact form."
Comment #12
Bèr Kessels commentedrelated; http://drupal.org/node/61600
Comment #13
dries commented