[How to] Disable Email friend ?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
Registered User
Posts: 334
Joined: Tue Jan 18, 2005 3:26 pm
Location: Earth

[How to] Disable Email friend ?

Post by dahia »

Sometimes shared hosting providers put limit on maximum outbound emails per hour
while reply notifications , PM notifications, new members registration is eating up enough from that limit.

i'd like to know how can i disable the "email to friend" or "print topic" function ?
any idea !
Thanks in advance
User avatar
Registered User
Posts: 986
Joined: Sun May 07, 2006 9:22 am
Location: Egypt

Re: [How to] Disable Email friend ?

Post by kber »

in overall_body.html find and REMOVE

Code: Select all

<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
Hello All
Registered User
Posts: 1
Joined: Wed Dec 03, 2008 7:13 pm

Re: [How to] Disable Email friend ?

Post by kathryn_m »

I am trying to edit this file to apply this mod but am unable to find the overall_body.html file.

Can you tell me what path the file should be located in?
User avatar
Former Team Member
Posts: 1358
Joined: Sun May 20, 2007 5:14 am
Location: G'boro, North Carolina
Name: Tripp

Re: [How to] Disable Email friend ?

Post by Tripp »

He means overall_header.html

Not sure why he said overall_body.html
The box said 'You need Windows XP or better' .... so I installed linux.

Formerly Drugs
User avatar
Support Team Member
Support Team Member
Posts: 51600
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve

Re: [How to] Disable Email friend ?

Post by stevemaury »

Note that deleting that code will not prevent someone from manually typing the link into the URL window of the browser, but there are very few people who would know you could do that, let alone the proper syntax for the link.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
Registered User
Posts: 251
Joined: Mon Sep 29, 2003 1:15 pm
Location: Cornwall, UK SX45036904

Re: [How to] Disable Email friend ?

Post by amoun »


the file is viewtopic_body.html

line 55 and 56
as of version 3.0.5
facts invariably distort the truth

Return to “[3.0.x] Support Forum”