inherit
tunesrcoolii@gmail.com
86185
0
Oct 3, 2013 8:48:20 GMT -8
tunescool
4,399
August 2006
tunescool
|
Post by tunescool on May 14, 2013 5:41:45 GMT -8
Themes - Layout Templates - Thread - Post List Tab
This will add the Number Of Thread Views next to the Timestamp in Threads
You can change the text to whatever you want
Find This
<div class="info"> $[post.thread] <span class="date">$[post.date]</span> {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if} $[post.likes] </div> Add the blue, adjust the purple to your forums style You will need to add the greenAdjust the padding-left:10px;, the space between the text Views and the TimestampDepending on the text size you have Views at you will have to adjust padding-bottom:1px; so both the text Views and the Timestamp are aligned Vertically <div class="info"> <span class="read" style="float: left; font-size: 14px; font-weight: bold; color: #808080;">Read$[post.thread.views] Times{if $[post.thread.views] != 1}s{/if}</span> <span class="date" style="padding-left:10px; padding-top:1px;">$[post.date]</span> <span class="date">$[post.date]</span> {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if} $[post.likes] </div>
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 27, 2024 17:32:11 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 20, 2015 18:45:42 GMT -8
i dont think this op is around anymore, theres a few faults in this code i think.
you've said the padding-bottom but in the code its the padding-top, and the $[post.thread] tag has disappeared from the code but you havent said to delete it, and in my posts it show 2 of the timestamps.
dont mean to sound complainy but it works, theres just a few errors, could someone help me fix this pls.
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 27, 2024 17:32:11 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 21, 2015 16:18:10 GMT -8
i dont think this op is around anymore, theres a few faults in this code i think. you've said the padding-bottom but in the code its the padding-top, and the $[post.thread] tag has disappeared from the code but you havent said to delete it, and in my posts it show 2 of the timestamps. dont mean to sound complainy but it works, theres just a few errors, could someone help me fix this pls. Hi,@joecool111 Try the code below it should only show one time stamp Thread - Post list Screenshot 1 thread views Screenshot 2 showing thread views & likes Go Thread > Post List Look for <div class="info"> $[post.thread] <span class="date">$[post.date]</span> {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if} $[post.likes] </div> And replace that with code below <div class="info"> <span class="read" style="float: left; font-size: 14px; font-weight: bold; color: #808080;">Read $[post.thread.views] Time{if $[post.thread.views] != 1}s{/if}</span> <b>Posted On</b> $[post.date] $[post.thread] {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if}<br>$[post.likes] </div> Steve
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 27, 2024 17:32:11 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 21, 2015 20:29:49 GMT -8
i dont think this op is around anymore, theres a few faults in this code i think. you've said the padding-bottom but in the code its the padding-top, and the $[post.thread] tag has disappeared from the code but you havent said to delete it, and in my posts it show 2 of the timestamps. dont mean to sound complainy but it works, theres just a few errors, could someone help me fix this pls. Hi,@joecool111 Try the code below it should only show one time stamp Thread - Post list Screenshot 1 thread views Screenshot 2 showing thread views & likes <div class="info"> <span class="read" style="float: left; font-size: 14px; font-weight: bold; color: #808080;">Read $[post.thread.views] Time{if $[post.thread.views] != 1}s{/if}</span> <b>Posted On</b> $[post.date] $[post.thread] {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if}<br>$[post.likes] </div> Steve thanks for the reply steve but im still not understanding how its put in sorry. Im not sure what to replace. edit: its worked but all the text has disappeared from the post.
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 27, 2024 17:32:11 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 22, 2015 1:03:40 GMT -8
Hi, @joecool111
I updated my post as to explain where to put the code What text you say has disappeared from the post?
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 27, 2024 17:32:11 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 22, 2015 8:29:35 GMT -8
thank u steve, you just made my day ps ... i've used about 1000 of your codes, bravo
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 27, 2024 17:32:11 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 22, 2015 8:40:01 GMT -8
thank u steve, you just made my day ps ... i've used about 1000 of your codes, bravo So you OK now?
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 27, 2024 17:32:11 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 22, 2015 8:44:01 GMT -8
yes thank u
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 26, 2016 23:18:50 GMT -8
i dont think this op is around anymore, theres a few faults in this code i think. you've said the padding-bottom but in the code its the padding-top, and the $[post.thread] tag has disappeared from the code but you havent said to delete it, and in my posts it show 2 of the timestamps. dont mean to sound complainy but it works, theres just a few errors, could someone help me fix this pls. Hi,@joecool111 Try the code below it should only show one time stamp Thread - Post list Screenshot 1 thread views Screenshot 2 showing thread views & likes Go Thread > Post List Look for <div class="info"> $[post.thread] <span class="date">$[post.date]</span> {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if} $[post.likes] </div> And replace that with code below <div class="info"> <span class="read" style="float: left; font-size: 14px; font-weight: bold; color: #808080;">Read $[post.thread.views] Time{if $[post.thread.views] != 1}s{/if}</span> <b>Posted On</b> $[post.date] $[post.thread] {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if}<br>$[post.likes] </div> Steve Thanks Steve. i tried to use these instructions to add Replies to my thread view which sort of worked with the exception that the pop up replies link is broken: Here is my take on what you provided for showing views: <class="info"> <span class="read" style="float: left; font-size: 12px; font-weight: bold; color: #808080;"> Replied $[post.thread.replies] Time{if $[post.thread.replies] != 1}s{/if}. </span> <b>Posted On</b> $[post.date] $[post.thread] {if $[post.how_posted]} <span class="post-method">via $[post.how_posted]</span> {/if}<br>$[post.likes] I get the number of replies to show but not the functional link (shown below). Any help is appreciated.
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 27, 2024 17:32:11 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 27, 2016 1:14:03 GMT -8
Hi jrj84105 That variable $[post.thread.replies] will not work on the POST LIST TAB or link work on the posting page it should just show a text number count on the post if you use the code I posted above On the POST LIST tab All should be OK Are you going Thread > Post ListJust tested on My Test Forum and all seems to be working OK Steve
|
|
inherit
239943
0
Apr 20, 2019 2:21:07 GMT -8
jrj84105
136
December 2016
jrj84105
|
Post by jrj84105 on Dec 27, 2016 12:07:09 GMT -8
Thanks Steve. I didn't realize that it was showing the replies on every post in the thread and not just the post that started the thread. I think I'm probably going to have to completely change my thread list layout (I want to display the actual post that started the thread while retaining the replies function and, "New" indicator) which is way beyond my ability. So that will be a long term learning project.
|
|