This code simply adds at the bottom of every post, that post's, well, number.
Preview:
here.
Here is the code. Add to your headers.
<script language="Javascript>
function showpostnumber(numberoftopicstocover){
$(function() {
if(location.href.match(/topic/i)){
for(a=1;a<=numberoftopicstocover;a++){
msgstr="#msg_"+a;
texttoshow="<br><br><span class='quote'><div class='smalltext'>This is post number "+a+"</div></span><br>";
$(msgstr).append(texttoshow)
}};});};
showpostnumber(x);
</script>
I'll explain what all can be customized.
function showpostnumber(numberoftopicstocover){
$(function() {
if(location.href.match(/topic/i)){
for(a=1;a<=numberoftopicstocover;a++){
msgstr="#msg_"+a;
texttoshow="
<span class='quote'><div class='smalltext'>
This is post number "+a+"</div></span>
";
$(msgstr).append(texttoshow)
}};});};
showpostnumber(
x);
The red and yellow text can be changed.
Change this red one to read what you want the text before the topic number to be. Leave a space after your text, or there will be no gap between the text and the number. If you know HTML, you can edit the HTML surrounding it as well. Change the yellow text to the number of posts to be taken into account.
After that number of posts, the message showing the post number will not be shown.
And this is my first working code, so I'm <replace this with any word that expresses that feeling you get when you make your first working code>.