How to remove "get email" from action boxes

I  do not want members to be able to get other members e mail address by simply clicking "get email" in a members action box, can that be blocked or removed from the action box ?

I have been all through the builders and cant see where to remove individual actions.

Quote · 26 Jan 2010

Wow, I've been wanting to do the same thing too. I have members who have been complaining about that. At times, members don't respond to some messages  via the site, but they keep getting harassed by receiving direct emails using this option.

Please noet, I haven't got to it, but you can try this:

I think you can comment out this link "Get Email" using Firefox with Firebug to find the source code, then comment out the link.

I believe you can comment out a line of code by using these tags: <!---  this is the link to comment --->

If anybody else has a better solution, please share.

Thank you.

-AJ

 

Quote · 27 Jan 2010

Search is your friend.  I bumped this thread for you:

http://www.boonex.com/unity/forums/#topic/Spammed-Through-Get-E-mail-Exploit.htm

 

The following is in it.  You can take the directions that were copy pasted from that thread to here or read the entire thread to gain more insight into why some choose to remove the Get Email Function from the sites.  Note:  This will completely remove and disable it from all fronts.  Enjoy!


 

 Now, for those of you who want to get rid of this permanently you need to do the following:

 

1.  Go to your Dolphin Root install and delete the following file (you can rename it if you like)

 

  • freemail.php

That will completely render the URL that obtains the e-mail addy as useless.  This takes care of the hackers who don't need a button to click to obtain the e-mail (you know, the ones who know what url to type into the browser)

 

Next up, we dump the button completely and forever from the Actions Menu.  Not really that hard to do either.

 

1.  Open the following file(s):

 

  1. templates/base/scripts/BxBaseProfileView.php

2.  Locate the following code:

 

  1. if ( !$this -> oTemplConfig -> bAnonymousMode )
        $ret .= $oTemplMenu -> getActionsMenuItem( 'action_email.gif', _t('_Get E-mail'),   "javascript:void(0);", '', '', "window.open( 'freemail.php?ID=$profileID', '', 'width={$this -> oTemplConfig -> popUpWindowWidth},height={$this -> oTemplConfig -> popUpWindowHeight},menubar=no,status=no,resizable=no,scrollbars=yes,toolbar=no,location=no' );" );

3.  Replace it with:

 

  1. //if ( !$this -> oTemplConfig -> bAnonymousMode )
         //$ret .= $oTemplMenu -> getActionsMenuItem( 'action_email.gif', _t('_Get E-mail'),   "javascript:void(0);", '', '', "window.open( 'freemail.php?ID=$profileID', '', 'width={$this -> oTemplConfig -> popUpWindowWidth},height={$this -> oTemplConfig -> popUpWindowHeight},menubar=no,status=no,resizable=no,scrollbars=yes,toolbar=no,location=no' );" );

 

(Your really just commenting it out, you can delete it if you like)

 

Now your done, there is no button and no link/url that is functional to obtain the e-mail without directly hacking the server.  I know, it would of been way to hard to just tell readers how to do this vs. taking the time to complain about it, after all, complaining is so much more of an effective use of your time. 

 

 

And no, this is not a flaw, it is something that was coded directly into Dolphin, I'm sure at the request of someone as it was in Development/Beta phase. 

Quote · 27 Jan 2010

Thank you very much for your help.

Quote · 27 Jan 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.