https://www.icyphoenix.com/viewtopic.php?f=29&t=2101
-----------------------------------
hpl
Fri 25 May, 2007 14:49

015-0005 - PM welcome message when PMs are disables
-----------------------------------
from: http://www.icyphoenix.it/viewtopic.php?p=290

I test it, when you disable PMs, new user get welcome PM anyway, but it can't read it and have 1 PM's notify forever!...

[hr]
FIXED BY HPL


-----------------------------------
hpl
Fri 25 May, 2007 18:46

Re: 015-0005 - PM welcome message when PMs are disables
-----------------------------------
[b][color=red]FIX[/color][/b]

[b]OPEN[/b] includes/page_header.php

[b]FIND[/b]
[codeblock]
if ( $userdata['user_new_privmsg'] )
[/codeblock]
[b]REPLACE WITH[/b]
[codeblock]
if ( $userdata['user_new_privmsg'] && $board_config['privmsg_disable'] == false )
[/codeblock]


-----------------------------------
Mighty Gorgon
Sat 26 May, 2007 03:13

Re: 015-0005 - PM welcome message when PMs are disables
-----------------------------------
Nice shoot hpl. :wink:

Can you just tell me why this?

[codeblock]if ( $userdata['user_profile_view'] && $userdata['user_profile_view_popup'] && $board_config['privmsg_disable'] == false )[/codeblock]

Why profile views should be linked to PM switch? :roll:


-----------------------------------
hpl
Sat 26 May, 2007 14:05

Re: 015-0005 - PM welcome message when PMs are disables
-----------------------------------
:shock:  :shock:  :shock:  :shock: 

I need one holiday


-----------------------------------
Mighty Gorgon
Tue 29 May, 2007 01:43

Re: 015-0005 - PM welcome message when PMs are disables
-----------------------------------
Ok, you can go on holiday... :mri:


