IP in Topic 1.0.2
Extras neste ADD-ON:
Abrir 'viewtopic_body.html':
Procurar:
- Código: Seleccionar todos
<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> {L_POSTED_ON_DATE} {postrow.POST_DATE}</p>
Substituir por:
- Código: Seleccionar todos
<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> {L_POSTED_ON_DATE} {postrow.POST_DATE}<br />
IP: <strong>{postrow.POSTER_IP}</strong></p>
Abrir 'viewtopic.php':
Procurar:
- Código: Seleccionar todos
'from' => (!empty($row['user_from'])) ? $row['user_from'] : '',
A seguir e onde se colocou:
- Código: Seleccionar todos
'ip' => $row['poster_ip'],
Substituir por:
- Código: Seleccionar todos
'ip' => ($row['user_type'] == USER_FOUNDER) ? '' : $row['poster_ip'],
Refresh your Styles, clear your cache.
Save all files. End of MOD.