|
PreviewThis adds "Thread started on" and "Reply ## on" before the date in threads. Find the Post List in the Thread Template. Find this line: <span class="thread-link">$[post.thread]</span> Replace it with this: <span class="thread-link">$[post.thread]</span> <span id="post-text-$[post.id]" class="post-method"></span> <script type="text/Javascript"> {if $[post.index] == 0} var post = { page: location.href.match(/page=(\d+)/)?RegExp.$1-0:1, index: 0 }; {/if} var index = (post.page-1)*15 + post.index++; if(!location.href.match(/(\?|\&)q=/) && proboards.data("route").name == "thread"){ $("#post-text-$[post.id]").html(index == 0?"Thread started on ":"Reply #"+index+" on "); } </script>
Last Edit: Jan 15, 2013 4:10:24 GMT by Chris
|
|
|
|
|
Omg yes. Definitely. I for one love seeing a reply # Once again, thankies.
|
|
|
|
It was a request over at PBS, but I do miss them...
|
|
|
|
|
I only noticed a little while ago, but this actually doesn't work for me  Edit: <div class="content-head ui-helper-clearfix"> <div class="info"> <span class="thread-link">$[post.thread]</span> <span id="post-text-$[post.id]" class="post-method"></span> <script type="text/Javascript"> {if $[post.index] == 0} var post = { page: location.href.match(/page=(\d+)/)?RegExp.$1-0:1, index: 0 }; {/if} var index = (post.page-1)*15 + post.index++; if(!location.href.match(/(\?|\&)q=/) && proboards.data("route").name == "thread"){ $("#post-text-$[post.id]").html(index == 0?"Thread started on ":"Reply #"+index+" on "); } </script>
<span class="date">$[post.date]</span> What I have..
Last Edit: Jan 14, 2013 12:15:50 GMT by Stinky666
|
|
|
|
I only noticed a little while ago, but this actually doesn't work for me  Edit: <div class="content-head ui-helper-clearfix"> <div class="info"> <span class="thread-link">$[post.thread]</span> <span id="post-text-$[post.id]" class="post-method"></span> <script type="text/Javascript"> {if $[post.index] == 0} var post = { page: location.href.match(/page=(\d+)/)?RegExp.$1-0:1, index: 0 }; {/if} var index = (post.page-1)*15 + post.index++; if(!location.href.match(/(\?|\&)q=/) && proboards.data("route").name == "thread"){ $("#post-text-$[post.id]").html(index == 0?"Thread started on ":"Reply #"+index+" on "); } </script>
<span class="date">$[post.date]</span> What I have.. Forum URL? This won't show when using Preview, only once you save.
|
|
|
|
|
|
Recopy. Somehow while editing it converted & to & amp;, which breaks things.
|
|
|
|
|
Wouldn't recopying just break the & again though? I will do anyway but this time it's the entire Post List tab
Last Edit: Jan 15, 2013 12:35:34 GMT by Stinky666
|
|
|
|
Stinky: I meant recopy the replacement part from the first post...
|
|
|
|
|
Bahahahahahahahahahahaaaa that makes more sense  Ok done and the result is... *drum roll* it works  Cheers ears
|
|
|
|
Bahahahahahahahahahahaaaa that makes more sense  Ok done and the result is... *drum roll* it works  Cheers ears I guess it's worth clarifying a bit more with replacements vs installations.
|
|
|
|