If you select anonymous mode in Admin, this gets rid of the 'Get Email' on members profile pages. What else does 'anonymous' mode do?
Stuart
If you select anonymous mode in Admin, this gets rid of the 'Get Email' on members profile pages. What else does 'anonymous' mode do? Stuart There are none so blind as those that will not see. |
If you select anonymous mode in Admin, this gets rid of the 'Get Email' on members profile pages. What else does 'anonymous' mode do? Stuart
It also allows your members to pack 184 bodies into one profile and all use the same ID. Sorta like mexicans and a yugo.
What? My Grandpa climbed the fence... That makes me one of the bodies in that profile. |
MyDatery, I read your post re removing the get email code, but that was for D6.x. Can you do same for D7? ps. I removed freemail.php Stuart There are none so blind as those that will not see. |
I'll make ya a deal Stuart. If you can find the lyrics to a song called: "Idiot" by Lisa Marie Presley and post them over in the Arvixe thread, I'll post how to pull that out of D7. Haven't looked yet, so give me a few minutes to do it while you find and post the lyrics.
Post them here below the "Your Dumb" song.
http://www.boonex.com/unity/forums/?action=goto&search=1#topic/Help-I-got-an-email-from-Arvixe-.htm
|
Your a cruel man, MyDatery :-) Done and pasted! I'll make ya a deal Stuart. If you can find the lyrics to a song called: "Idiot" by Lisa Marie Presley and post them over in the Arvixe thread, I'll post how to pull that out of D7. Haven't looked yet, so give me a few minutes to do it while you find and post the lyrics. Post them here below the "Your Dumb" song. http://www.boonex.com/unity/forums/?action=goto&search=1#topic/Help-I-got-an-email-from-Arvixe-.htm There are none so blind as those that will not see. |
Not sure how you messed that up Stu, but you had me rollin'.... Here's your mod. I haven't tested it yet, but let me know if it works or not, it should.
1. Delete the freemail.php file to prevent spammers/scammers who know they're way around Dolphin from finding/using it.
2. Go to templates/base/scripts/BxBaseProfileView.php
Locate:
//--- Check for member/non-member ---//
Just comment out the Get_mail lines like this:
//--- Check for member/non-member ---// Clear your caches and check your site. The Get E-Mail function should be gone from the Action Menu now.
That should take care of it for ya. How about dropping that post over into the correct thread now. Great job on findin' the lyrics and postin' 'em though. Just didn't need a whole thread for them. |
Hi MyDatery, I've already tried that (used firebug), it leaves a language key ref: _get_email (something like that). Should we delete the language key? There are none so blind as those that will not see. |
Hi MyDatery, I've already tried that (used firebug), it leaves a language key ref: _get_email (something like that). Should we delete the language key?
Stu, I didn't get a chance to test it out for real. I have other stuff going with my D7 install right now, pass me your URL in a PM and I'll take a look at what you have and get the rest of it out. It shouldn't be too hard to finish up. Just gotta take a look at how it's loading. Oh yeah, I'll need a test login profile too. |
Do you have the site in anonymous mode Stuart? If not, try setting it there and tell me what happens with it. |
Actually, look for this line:
$p_arr['anonym_mode'] = $this->oTemplConfig->bAnonymousMode;
It's just above the otheres, try commenting it out also. I believe that's where it's pulling the language key from. It's just above the others in templates/base/scripts/BxBaseProfileView.php
|
That got it MyDatery, many thanks! Stuart Actually, look for this line:
$p_arr['anonym_mode'] = $this->oTemplConfig->bAnonymousMode;
It's just above the otheres, try commenting it out also. I believe that's where it's pulling the language key from. It's just above the others in templates/base/scripts/BxBaseProfileView.php
There are none so blind as those that will not see. |
So to recap this all into one post: 1. Remove freemail.php or rename it. This will kill the get mail function for the hackers who know the dolphin URL's and try just typing it in.
2. Go to templates/base/BxBaseProfileView.php and locate the following code: function showBlockActionsMenu( $sCaption, $bNoDB = false ) { // init some user's values $iViewedMemberID = (int)$p_arr['ID']; /* $p_arr['member_id'] = $iMemberID;
Replace it with:
function showBlockActionsMenu( $sCaption, $bNoDB = false ) { // init some user's values $iViewedMemberID = (int)$p_arr['ID']; /* $p_arr['member_id'] = $iMemberID;
Note: All we have done here is deleted freemail.php and commented out the links that apply to get mail and it's language key. |
Ok, Now thats some funny s_it!! Nice to see some humor in this complicated Ocean!! Thanks for the laugh! Derrick I'll make ya a deal Stuart. If you can find the lyrics to a song called: "Idiot" by Lisa Marie Presley and post them over in the Arvixe thread, I'll post how to pull that out of D7. Haven't looked yet, so give me a few minutes to do it while you find and post the lyrics. Post them here below the "Your Dumb" song. http://www.boonex.com/unity/forums/?action=goto&search=1#topic/Help-I-got-an-email-from-Arvixe-.htm Back to pulling my hair out! (ouch, ouch,ouch) |
Why would you manually edit out the "get email" function? You can go into membership permissions and simply unclick "get other members emails" which will take away the option to get the other person's email and no need to put a site into anonymous mode. |
Why would you manually edit out the "get email" function? You can go into membership permissions and simply unclick "get other members emails" which will take away the option to get the other person's email and no need to put a site into anonymous mode.
It was an issue in D6 with spammers using the url even when it was turned off to gain via the freemail.php file. They asked me to do it, so I tracked it down to remove it.
|
It was an issue in D6 with spammers using the url even when it was turned off to gain via the freemail.php file. They asked me to do it, so I tracked it down to remove it. Ah, that makes sense. I never had a 6.1 site but I do understand removing the freemail.php file. |
So to recap this all into one post: 1. Remove freemail.php or rename it. This will kill the get mail function for the hackers who know the dolphin URL's and try just typing it in. 2. Go to templates/base/BxBaseProfileView.php and locate the following code: function showBlockActionsMenu( $sCaption, $bNoDB = false ) { // init some user's values $iViewedMemberID = (int)$p_arr['ID']; /* $p_arr['member_id'] = $iMemberID; Replace it with: function showBlockActionsMenu( $sCaption, $bNoDB = false ) { // init some user's values $iViewedMemberID = (int)$p_arr['ID']; /* $p_arr['member_id'] = $iMemberID; Note: All we have done here is deleted freemail.php and commented out the links that apply to get mail and it's language key. Hi mydatery, I used your solution and it works fine, but I would like to remove the get email button even from the popup that comes out when you hover the mouse over People/All Members, any idea? |