How to disable "Send Email" from profile

17 years 1 month ago #34522 by Kampp
Replied by Kampp on topic Re:How to disable
Hi p9939068 and others,

The generic CB installation doesnt allow this. It can be done if you hack the core codes though.


Can you point me in direction of where this should be done?

I am thinking that it's either just a matter of saying that the link should be shown, but on the other hand it would seem logical that it also needs to be changed in the e-mail feature it self.

Is there a core member that knows this or where to begin?

I hope this will become part of the core sometime as it creates a hole new set of possibilites for the use of CB as I my project (each profile is selling something and not a person profile) where I need the feature.

Creator of the CB plugins: "User IP log" and "Public Mail"
Joomla! services/coding: www.toolmaster.dk
Joomla! services/coding: joomla-konsulent.dk
Danish Joomla! hosting: www.joomla-hosting.dk

Please Log in to join the conversation.

17 years 1 month ago #34524 by p9939068
Replied by p9939068 on topic Re:How to disable
It's much more complicated than just showing the link. You also need to allow visitors to end their names and email addresses, and modify the emailing part of CB to check if the email is from a visitor, hence to use custom emails and names instead of those stored in the user database table.


Mike Feng
Creator of SIMGallery, SIMAnswers, and ParaInvite
www.simbunch.com
twitter.com/simbunch

Please Log in to join the conversation.

17 years 1 month ago #34547 by newseed
Replied by newseed on topic Re:How to disable
I too would like this feature. A realty site sometime list agents profiles so that potential clients can contact a particular agent directly via email.

Please Log in to join the conversation.

17 years 5 days ago #36588 by Kampp
Replied by Kampp on topic Re:How to disable
I have solved the problem with letting unregistred (and not logged in) users email registred users by creating a quick CB plugin. You can find it here: www.joomlapolis.com/component/option,com_docman/task,doc_details/gid,124/

Creator of the CB plugins: "User IP log" and "Public Mail"
Joomla! services/coding: www.toolmaster.dk
Joomla! services/coding: joomla-konsulent.dk
Danish Joomla! hosting: www.joomla-hosting.dk

Please Log in to join the conversation.

16 years 11 months ago #38934 by jwellner
Replied by jwellner on topic Re:How to disable "Send Email" from profile
Hello!

I'd love the plugin but upon installing it and going to check settings and create new users from the FE I get a parse error.

[code:1]Parse error: syntax error, unexpected $end in /webwerks/joomla_districtweb/components/com_comprofiler/plugin/user/plug_cbpublicmail/publicmail.php on line 276[/code:1]

Help?

Thanks!

Jeremy

Please Log in to join the conversation.

16 years 11 months ago #38945 by Kampp
Thanks...

You are the first one to get an error. I am not quite sure how to help you though. Please check that the file is not corrupt first. Also I am not quite sure when you get the error. Please elaborate on this.

Creator of the CB plugins: "User IP log" and "Public Mail"
Joomla! services/coding: www.toolmaster.dk
Joomla! services/coding: joomla-konsulent.dk
Danish Joomla! hosting: www.joomla-hosting.dk

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.247 seconds

Facebook Twitter LinkedIn