
10-03-2009, 03:40 PM
|
 |
|
|
Join Date: Jun 2008
Location: M?xico
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by CCV_Pinto
well,
to those who want the user could choose to receive or not emails, I did this:
I created a profile field called: "Receive Email Notifications on Visitor Messages"
The identification of the field was 'field5' (you can see this after you create the profile field, I created a radio button with two options: 'Yes' and 'No')
then, edit the two plugins of this product:
find (the first line of the plugin):
Code:
if($vbulletin->options['VMEN_active'] == 1)
and replace for:
Code:
if($vbulletin->options['VMEN_active'] == 1 AND $userinfo['field5'] == 'Yes')
pay attention to use the proper field identification (in my case was field5)
now, only those who have choosen 'Yes' will receive the email
|
It does not work for me 
|