inherit
64071
0
Aug 8, 2020 18:39:36 GMT -8
Kitezer
161
November 2005
kitezer
|
Post by Kitezer on Jun 1, 2013 23:14:56 GMT -8
I saw that code that removes "Boards" title underneath the Category titles but I also want to be able to move "Posts" and "Threads" underneath the number count for the amount of each of the Threads/Posts on the Main page. Can anyone help me with that please? Thank you in advance
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Jun 2, 2013 1:41:06 GMT -8
I saw that code that removes "Boards" title underneath the Category titles but I also want to be able to move "Posts" and "Threads" underneath the number count for the amount of each of the Threads/Posts on the Main page. Can anyone help me with that please? Thank you in advance So you want it to go from "500" to "500 Posts" and 10 to "10 Threads" ?
|
|
inherit
64071
0
Aug 8, 2020 18:39:36 GMT -8
Kitezer
161
November 2005
kitezer
|
Post by Kitezer on Jun 2, 2013 7:10:41 GMT -8
Yeah that sounds accurate. So it removes that top bar right under the category title where it says "Boards" "threads" "posts" etc. But I don't want it to show just the number count for Threads and Posts. So yes, instead of just the number it would show "# Threads" "# Posts" and the words "Threads" and "Posts" would be underneath each of the number counts on the Main Page. I know it used to be done in the older versions.
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Jun 2, 2013 7:58:50 GMT -8
Yeah that sounds accurate. So it removes that top bar right under the category title where it says "Boards" "threads" "posts" etc. But I don't want it to show just the number count for Threads and Posts. So yes, instead of just the number it would show "# Threads" "# Posts" and the words "Threads" and "Posts" would be underneath each of the number counts on the Main Page. I know it used to be done in the older versions. This is easy enough and I will happily do it after I have had sleep, unless someone beats me to it
|
|
inherit
64071
0
Aug 8, 2020 18:39:36 GMT -8
Kitezer
161
November 2005
kitezer
|
Post by Kitezer on Jun 2, 2013 16:04:14 GMT -8
Thank you very much I really appreciate it. I look forward to it's completion.
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Jun 3, 2013 0:16:09 GMT -8
Thank you very much I really appreciate it. I look forward to it's completion. Apologies for taking a long time getting to this. I keep feeling dizzy. But anyway.. Admin > Themes > Layout Templates > Board > Board ListOn lines 33 and 34 you should see: <td class="threads">{if $[board.threads] == -1}N/A{else}$[board.threads]{/if}</td> <td class="posts">{if $[board.posts] == -1}N/A{else}$[board.posts]{/if}</td> Turn those into the below (so you're adding the blue parts): <td class="threads">{if $[board.threads] == -1}N/A{else}$[board.threads]{/if} Thread{if $[board.threads] != 1}s{/if}</td> <td class="posts">{if $[board.posts] == -1}N/A{else}$[board.posts]{/if} Post{if $[board.posts] != 1}s{/if}</td> You say you want them on a different line, in order to do that if it doesn't automatically (it all depends on your current widths), you will need to add a line break (as shown in red): <td class="threads">{if $[board.threads] == -1}N/A{else}$[board.threads]{/if} <br />Thread{if $[board.threads] != 1}s{/if}</td> <td class="posts">{if $[board.posts] == -1}N/A{else}$[board.posts]{/if} <br />Post{if $[board.posts] != 1}s{/if}</td>
|
|
inherit
64071
0
Aug 8, 2020 18:39:36 GMT -8
Kitezer
161
November 2005
kitezer
|
Post by Kitezer on Jun 3, 2013 8:42:30 GMT -8
Thank you so much Stinky666 I managed to make it look the way I wanted with the information you provided me. May I ask one last favor? I was wondering if you can make it say "Last Post in 'Thread Name' by 'username'"? Currently it just says "'Thread name' by 'username'" Aside from that final request? My request has been fulfilled
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Jun 3, 2013 8:44:40 GMT -8
Thank you so much Stinky666 I managed to make it look the way I wanted with the information you provided me. May I ask one last favor? I was wondering if you can make it say "Last Post in 'Thread Name' by 'username'"? Currently it just says "'Thread name' by 'username'" Aside from that final request? My request has been fulfilled Would you like "Last Post in" on a separate line, above "Thread Name" or on the same line? Edit: Admin > Themes > Layout Template > Board > Board List Lines 37 to 41 you should see: {if $[board.last_thread]} $[board.last_thread.recent_link]<br /> by $[board.last_thread.last_post.created_by_user]<br /> <span class="date">$[board.last_thread.last_post.date]</span> {/if} Add the blue part to it and again, add the red if you want it on the line above. {if $[board.last_thread]} Last post in<br /> $[board.last_thread.recent_link]<br /> by $[board.last_thread.last_post.created_by_user]<br /> <span class="date">$[board.last_thread.last_post.date]</span> {/if}
|
|
inherit
64071
0
Aug 8, 2020 18:39:36 GMT -8
Kitezer
161
November 2005
kitezer
|
Post by Kitezer on Jun 3, 2013 9:02:39 GMT -8
That is perfect thank you Stinky666 you are insanely fast o.o Does it sound okay to you? "Last Post in 'Thread Name' by 'username'"? Or does Last Post by 'username' in 'Thread Name'" sound better? Because my request is complete but I am just feeling uncertain about the way it is worded. Either way, thank you EDIT: Figured out how to re-word it myself so this thread/topic is closed. Thanks again
|
|