Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/05/2008, 20:49
GreenlanternX
 
Fecha de Ingreso: agosto-2006
Mensajes: 141
Antigüedad: 17 años, 8 meses
Puntos: 0
Re: desactivar verificacionn por mail, y notificaciones

ya que no soy muy bueno esperando (no lo tomen a mal), segui buscando y vi que en varios temas mandaban a buscar codigos a una pagina y encontre el siguiente codigo
Cita:
#
#-----[ OPEN ]
templates/subSilver/profile_add_body.tpl
#-----[ FIND ]-
<tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}:</span><br />
<span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
<td class="row2">
<input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
<span class="gen">{L_YES}</span>&nbsp;&nbsp;
<input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG}:</span></td>
<td class="row2">
<input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />
<span class="gen">{L_YES}</span>&nbsp;&nbsp;
<input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
#-----[ REPLACE WITH ]
<!--<tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}:</span><br />
<span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
<td class="row2">
<input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
<span class="gen">{L_YES}</span>&nbsp;&nbsp;
<input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG}:</span></td>
<td class="row2">
<input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />
<span class="gen">{L_YES}</span>&nbsp;&nbsp;
<input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />
<span class="gen">{L_NO}</span></td>
</tr> -->
#-----[ SAVE/CLOSE ]
#-----[ OPEN ]
templates/subSilver/posting_body.tpl
#-----[ FIND ]---
<!-- BEGIN switch_notify_checkbox -->
<tr>
<td>
<input type="checkbox" name="notify" {S_NOTIFY_CHECKED} />
</td>
<td><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
</tr>
<!-- END switch_notify_checkbox -->

#
#-----[ REPLACE WITH ]
<!-- BEGIN switch_notify_checkbox -->

<!--<tr>
<td>
<input type="checkbox" name="notify" {S_NOTIFY_CHECKED} />
</td>
<td><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
</tr> -->
<!-- END switch_notify_checkbox -->

#[ SAVE/CLOSE ]

#[ OPEN ]-
includes/usercp_register.php

#[ FIND ]-
'NOTIFY_REPLY_YES' => ( $notifyreply ) ? 'checked="checked"' : '',
'NOTIFY_REPLY_NO' => ( !$notifyreply ) ? 'checked="checked"' : '',

#[ REPLACE WITH ]-
/*'NOTIFY_REPLY_YES' => ( $notifyreply ) ? 'checked="checked"' : '',
'NOTIFY_REPLY_NO' => ( !$notifyreply ) ? 'checked="checked"' : '',*/


#[ FIND ]-
$emailer->assign_vars(array(
'SITENAME' => $board_config['sitename'],
'WELCOME_MSG' => sprintf($lang['Welcome_subject'], $board_config['sitename']),
'USERNAME' => $username,
'PASSWORD' => $password_confirm,
'EMAIL_SIG' => str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']),

'U_ACTIVATE' => $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey)
);
}

$emailer->send();
$emailer->reset();

#[ IN-LINE, FIND ]-
$emailer->send();

#[ REPLACE WITH ]-
// $emailer->send();

# [ SAVE/CLOSE ]
#[ OPEN ]
groupcp.php
#[ FIND ]

$emailer->assign_vars(array(
'SITENAME' => $board_config['sitename'],
'GROUP_MODERATOR' => $moderator['username'],
'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '',

'U_GROUPCP' => $server_url . '?' . POST_GROUPS_URL . "=$group_id&validate=true")
);
$emailer->send();
$emailer->reset();

#[ IN-LINE, FIND ]
$emailer->send();

#
#-----[ REPLACE WITH ]----

// $emailer->send();

#
#-----[ FIND ]--

$emailer->assign_vars(array(
'SITENAME' => $board_config['sitename'],
'GROUP_NAME' => $group_name,
'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '',

'U_GROUPCP' => $server_url . '?' . POST_GROUPS_URL . "=$group_id")
);
$emailer->send();
$emailer->reset();

#
#-----[ IN-LINE, FIND ]--
$emailer->send();

#
#-----[ REPLACE WITH ]-

// $emailer->send();

#-----[ FIND ]-----------

$emailer->assign_vars(array(
'SITENAME' => $board_config['sitename'],
'GROUP_NAME' => $group_name,
'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '',

'U_GROUPCP' => $server_url . '?' . POST_GROUPS_URL . "=$group_id")
);
$emailer->send();
$emailer->reset();

#
#-----[ IN-LINE, FIND ]-
$emailer->send();

#
#-----[ REPLACE WITH ]-

// $emailer->send();

#
#-----[ SAVE/CLOSE ]------------------------------------------
#
#-----[ OPEN ]----
templates/subSilver/admin/user_edit_body.tpl

#
#-----[ FIND ]----
<tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
<td class="row2">
<input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
<span class="gen">{L_YES}</span>&nbsp;&nbsp;
<input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG}</span></td>
<td class="row2">
<input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />
<span class="gen">{L_YES}</span>&nbsp;&nbsp;
<input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />
<span class="gen">{L_NO}</span></td>
</tr>

#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- <tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>
<td class="row2">
<input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />
<span class="gen">{L_YES}</span>&nbsp;&nbsp;
<input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG}</span></td>
<td class="row2">
<input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />
<span class="gen">{L_YES}</span>&nbsp;&nbsp;
<input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />
<span class="gen">{L_NO}</span></td>
</tr>-->

#
#-----[ SAVE/CLOSE ]------------------------------------------
#


#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------
#

<span class="gensmall">{S_WATCH_TOPIC}</span><br />
&nbsp;<br />

#
#-----[ REPLACE WITH ]------------------------------------------
#

<!-- <span class="gensmall">{S_WATCH_TOPIC}</span><br />
&nbsp;<br />-->

#
#-----[ SAVE/CLOSE ]
#-----[open]-
login.php

#
#-----[ FIND ]

'L_ENTER_PASSWORD' => $lang['Enter_password'],
'L_SEND_PASSWORD' => $lang['Forgotten_password'],

'U_SEND_PASSWORD' => append_sid("profile.$phpEx?mode=sendpassword"),

#
#-----[ IN-LINE, FIND ]
#
'U_SEND_PASSWORD' => append_sid("profile.$phpEx?mode=sendpassword"),


#
#-----[ REPLACE WITH ]------------------------------------------
#
'U_SEND_PASSWORD' => "mailto:[email protected]?subject=I forgot my password&body=Tell me your login, a new password will be send to you to the e-mail address in your profile.",


#
#-----[ SAVE/CLOSE ]------------------------------------------
#


#
#-----[ OPEN ]------------------------------------------
#
privmsg.php

#
#-----[ FIND ]------------------------------------------
#

$emailer->send();

#
#-----[ REPLACE WITH ]------------------------------------------
#

// $emailer->send();

#
#[ SAVE/CLOSE ]

#[ RUN SQL QUERIES ]


DELETE FROM phpbb_topics_watch

UPDATE phpbb_users SET user_notify=0

UPDATE phpbb_users SET user_notify_pm=0

continua en el siguiente post