Post ID in topics
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Post ID in topics
Board rules! No PM support
Re: Post ID in topics
and here is a slight modification to the above code
Prosilver :
Find :
Replace With :
Prosilver :
Find :
Code: Select all
<a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR}
Code: Select all
<a onclick="prompt('Link to Post:',this.href); return false;" href="{postrow.U_MINI_POST}">#{postrow.POST_ID}</a>
Re: Post ID in topics
Thats makes parse errorAther » 06 May 2010, 15:12 wrote:and here is a slight modification to the above code
Prosilver :
Find :Replace With :Code: Select all
<a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR}
Code: Select all
<a onclick="prompt('Link to Post:',this.href); return false;" href="{postrow.U_MINI_POST}">#{postrow.POST_ID}</a>
Re: Post ID in topics
hmm thats weird, i have tested on 2 places and its working
Note, this is for proSilver and here is my code block from se_square_left style :
viewtopicbody.html :
Note, this is for proSilver and here is my code block from se_square_left style :
viewtopicbody.html :
Code: Select all
<h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>
<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a onclick="prompt('Link to Post:',this.href); return false;" href="{postrow.U_MINI_POST}">#{postrow.POST_ID}</a> <!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> » {postrow.POST_DATE}</p>
- Stoker
- Site Admin
- Posts: 3536
- Joined: 12 May 2008, 23:26
- BBCodes: 239
- Favourite BBCode: Anipro
- Favourite MOD: PrettyPhoto
- Location: Denmark
- Contact:
Re: Post ID in topics
Ather, Oliver is right.
There is this code extra in what you say find: <!-- ENDIF -->{L_POST_BY_AUTHOR}
When that is removed it will give you an error.
There is this code extra in what you say find: <!-- ENDIF -->{L_POST_BY_AUTHOR}
When that is removed it will give you an error.
Board rules! No PM support
Re: Post ID in topics
can we make, for example numbers for each topic :1, 2, 3 ,4 because for big boards it shows #4154454847
Re: Post ID in topics
i know its kinda old this post
but the mod is called Post number in viewtopic
but the mod is called Post number in viewtopic