Code: Select all
<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>
Code: Select all
<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>
Open the template folder inside the download archive and you will see two XML files one for either of the default templates which should contain the template changesDragen wrote:There didn't seem to be any instruction on adding into the actual page itself.
For anyone who's wondering.
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
'from' => (!empty($row['user_from'])) ? $row['user_from'] : '',
#
#-----[ FIND ]------------------------------------------
#
'ip' => $row['poster_ip'],
#
#-----[ REPLACE WITH ]------------------------------------------
#
'ip' => ($row['user_type'] == USER_FOUNDER) ? '' : $row['poster_ip'],
Ok, but how is private messages PM ? Can I see IP ?Modification description: Shows posters' IP addresses in topic for administrators and moderators.
Generally speaking, the MOD title is IP-address in topic, not in PM. The last one could be a different MOD I guessMolopaa wrote:Ok, but how is private messages PM ? Can I see IP ?
You can find installation instruction for subsilver2 in /templates folder of the MOD package.Molopaa wrote:And how is subsilver2 ?