Post ID in topics
Posted: 26 Jul 2011, 20:53
Post ID in topics
Written by Stoker
We just need to make on single file edit to add post ID to the posts.
It will replace the tiny mini_post image with the post ID.
Open styles/prosilver/templates/viewtopic_body.html
Find:
Replace with:
Open styles/subsilver2/templates/viewtopic_body.html
Find:
Replace with:
Remember to refresh templates in ACP after the files are uploaded.
Written by Stoker
We just need to make on single file edit to add post ID to the posts.
It will replace the tiny mini_post image with the post ID.
Open styles/prosilver/templates/viewtopic_body.html
Find:
Code: Select all
<a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR}
Code: Select all
<a href="{postrow.U_MINI_POST}">#{postrow.POST_ID}</a> <!-- ENDIF -->{L_POST_BY_AUTHOR}
Find:
Code: Select all
<a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><b>{L_POSTED}:</b>
Code: Select all
<a href="{postrow.U_MINI_POST}">#{postrow.POST_ID}</a> <!-- ENDIF --><b>{L_POSTED}:</b>