This simple addon removes the ability for guests to use the contact us form. If a guest tries to access the contact us form, they will get the standard XenForo permission error that they must be logged in.
XenForo groups the guests and unconfirmed users into the same permission groups, thus not allowing admins to set unconfirmed users the ability to use the contact us form and guest not able to use it.
There are no settings for this addon, just install it and forget it.
Incorrect. You cannot do this in native xF. xF sees users who have registered but have not received the confirmation email or have not confirned, the same as an unregistered visitor. So that xF sites who don't allow visitors to use the contact form, also block these registered usrrs.why need this add on, you can do that in the xf settings?
Added[OzzModz]
to addon title to make finding it in the ACP easier.
Can you please update this so rejected users cannot use the contact form. I'm getting lots of spam via the contact form for users who are rejected.
I can look into it, at some point.
Support: XF 2.2
I can look into it, at some point.
If you have the "Unregistered/Unconfirmed" group set to disallow the contact form, there is no need for this add-on.They have the permissions of the unregistered/unconfirmed group right? Which is set to cannot use the contact us form.
If you have the "Unregistered/Unconfirmed" group set to disallow the contact form, there is no need for this add-on.
If so then they would never have the "Contact Us" clicky appear on your site. And if they manually navigated to /misc/contact they would get the No Permission message. I verified this using a test account, and the above is true with or without this add-on.
This test account is in the Registered usergroup, and User State is "Awaiting email confirmation."
I changed the User State to "Rejected" just for fun, and not only can I not see the contactus link, when I navigate to the form manually I still get the "no permission" message. With or without this add-on enabled.
BUT... For me and my little test account, when I set the permission for the Unregistered/Unconfirmed group to be able to use the contact form, I can do so with my test account with this addon enabled. User State is set to "Rejected." I can still use the form when I set user state back to "Awaiting Email Confirmation."
I don't believe I should be able to use the contactus form in these circumstances, so I am calling this a bug.
Always been there as far as I know.I wonder why I've never noticed that permission in the user group settings. Did they add that at some point?
Yep. Locks 'em out. You can prove it to yourself the way I did, make a test account and make him rejected.I just want to stop the spam from guests, rejected, and unconfirmed users. If I understand you correctly, I don't need this add-on but need to just set the permission for Unregistered/Unconfirmed to no?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?