how to disable private messages?

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
xionx
Registered User
Posts: 16
Joined: Tue Jun 06, 2006 4:13 pm

how to disable private messages?

Post by xionx » Fri Jun 09, 2006 2:28 pm

Need help disabling the private message feature in PHPBB.

Thanks!

PortMan
Registered User
Posts: 47
Joined: Thu Apr 20, 2006 7:08 pm

Post by PortMan » Fri Jun 09, 2006 2:34 pm

The option is half way down under "Private Messaging"

Go to Administration Panel -> Configuration -> Private Messaging:
Click the "Disabled" radio button.

xionx
Registered User
Posts: 16
Joined: Tue Jun 06, 2006 4:13 pm

Post by xionx » Fri Jun 09, 2006 2:43 pm

PortMan wrote: The option is half way down under "Private Messaging"

Go to Administration Panel -> Configuration -> Private Messaging:
Click the "Disabled" radio button.


Thanks for that, did help!

also I am trying to remove the section, or the button of private message?
any idea what I can modify to remove those buttons?

PortMan
Registered User
Posts: 47
Joined: Thu Apr 20, 2006 7:08 pm

Post by PortMan » Fri Jun 09, 2006 2:48 pm

I think you need to edit the tpl file, but not 100% sure.

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Post by saaiberke » Fri Jun 09, 2006 3:06 pm

You need to edit the viewtopic_body.tpl file which you can find in your template's dir. Search for {postrow.PM_IMG} and edit that line.

xionx
Registered User
Posts: 16
Joined: Tue Jun 06, 2006 4:13 pm

Post by xionx » Fri Jun 09, 2006 3:51 pm

saaiberke wrote: You need to edit the viewtopic_body.tpl file which you can find in your template's dir. Search for {postrow.PM_IMG} and edit that line.


I tried to remove the " {postrow.PM_IMG}", but still did not help!
is there a way to remove the PM buttons from memberlist, and profile?, or if the above steps does do the trick, is there something specific I need to add to the code, or something else I need to remove?

Thanks

saaiberke
Registered User
Posts: 1126
Joined: Wed Jul 20, 2005 8:13 am
Location: Gent/Belgium
Contact:

Post by saaiberke » Fri Jun 09, 2006 5:59 pm

You also have to edit profile_view_body.tpl, memberlist_body.tpl to remove the possibility of sending a PM.

Grtz,

Nic

Locked

Return to “2.0.x Support Forum”