Post ID in topics
Posted: 10 Mar 2010, 22:36
Database and Demo for phpBB3 BBCodes, Mods and Smilies
https://phpbb3bbcodes.com/
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>
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>
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>