LexaFranks
inherit
-5148950
0
Nov 24, 2024 10:05:03 GMT -8
LexaFranks
0
January 1970
GUEST
|
Post by LexaFranks on Feb 3, 2013 11:47:06 GMT -8
I was wondering if there is a substitute code to remove the Topic, Post columns. I tried putting the code I'm using on my V4 board but it didn't work.
This is the code I was using
<script> //Remove "Topics and Posts" column from main page //wooper var TD = document.getElementsByTagName("TD") for(i=0;i<TD.length;i++){ if(TD[i].width == "1%" && TD[i+1].width == "1%") { TD[i].style.display ="none"; TD[i+1].style.display ="none"; TD[i-1].colSpan = '1'; } } </script>
|
|
Former Member
inherit
guest@proboards.com
15823
0
Nov 24, 2024 10:05:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Feb 5, 2013 9:05:38 GMT -8
Bump
|
|
Former Member
inherit
guest@proboards.com
87020
0
Nov 24, 2024 10:05:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 6, 2013 16:13:50 GMT -8
I'd like to know the answer to this question also. I'd especially like to remove the last post column.
|
|
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 Aug 7, 2013 8:31:03 GMT -8
I'd like to know the answer to this question also. I'd especially like to remove the last post column. Hiya, is your forum Version 4, or Version 5? If version 5, I can help
|
|
Former Member
inherit
guest@proboards.com
87020
0
Nov 24, 2024 10:05:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 7, 2013 13:32:16 GMT -8
V5 Stinky666.
|
|
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 Aug 7, 2013 14:35:50 GMT -8
Are you wanting to remove the last post column from the main page, or thread list? Or both?
|
|
Former Member
inherit
guest@proboards.com
87020
0
Nov 24, 2024 10:05:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 7, 2013 14:55:15 GMT -8
Both would be good Stinky666.
|
|
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 Aug 7, 2013 15:18:19 GMT -8
Both would be good Stinky666. Alright. It's all in the same section, so I will do it all as "1 step". Admin > Themes > Layout Templates > BoardOn line 35 you should see: <th class="latest last">Last Post</th> Add the bits I have below: <!--<th class="latest last">Last Post</th> -->Now click the " Board List" tab, and on line 8 you should see: <th class="latest last">Last Post</th> Do the same as above, and add <!-- to the start and --> to the end, like so: <!--<th class="latest last">Last Post</th> -->Now go down to lines 35 - 45, and you will see: <td class="latest last"> {if $[board.posts] > 0} {if $[board.last_thread]} $[board.last_thread.recent_link]<br /> by $[board.last_thread.last_post.created_by]<br /> <span class="date">$[board.last_thread.last_post.created_on]</span> {/if} {else} No posts have been made on this board. {/if} </td> Add <!-- to the start of that, and --> to the end: <!--<td class="latest last"> {if $[board.posts] > 0} {if $[board.last_thread]} $[board.last_thread.recent_link]<br /> by $[board.last_thread.last_post.created_by]<br /> <span class="date">$[board.last_thread.last_post.created_on]</span> {/if} {else} No posts have been made on this board. {/if} </td> -->And finally, click the " Thread List" tab, and go to line 20: <td class="latest last">by $[thread.last_post.created_by]<br />$[thread.last_post.created_on]</td> Once again, add <!-- to the start and --> to the end, like so: <!--<td class="latest last">by $[thread.last_post.created_by]<br />$[thread.last_post.created_on]</td> -->Click save, and voila
|
|
Former Member
inherit
guest@proboards.com
87020
0
Nov 24, 2024 10:05:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 7, 2013 17:45:42 GMT -8
Thank you Stinky666. I really appreciate the above instructions on how to get rid of all the last post columns.
|
|
Former Member
inherit
guest@proboards.com
87020
0
Nov 24, 2024 10:05:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 7, 2013 19:11:29 GMT -8
I just followed your instructions & it worked perfectly.
I want to thank you again for the time you took to post how to hide all the last post columns. I appreciate it.
|
|
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 Aug 7, 2013 19:13:56 GMT -8
I just followed your instructions & it worked perfectly. I want to thank you again for the time you took to post how to hide all the last post columns. I appreciate it. No worries. You're very welcome. It's always nice when people post a thank you
|
|
Former Member
inherit
guest@proboards.com
87020
0
Nov 24, 2024 10:05:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 7, 2013 19:24:19 GMT -8
You deserve a lot of praise & thank you's for being so helpful Stinky666.
I removed views also now by adding <!-- and --> at the beginning & end of line 34 on Board & by adding <!-- and --> at the beginning & end of line 19 on Thread List.
|
|
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 Aug 7, 2013 19:26:38 GMT -8
You deserve a lot of praise & thank you's for being so helpful Stinky666. I removed views also now by adding <!-- and --> at the beginning & end of line 34 on Board & by adding <!-- and --> at the beginning & end of line 19 on Thread List. Brilliant, glad you're learning That by the way, just comments the code out. Much better than deleting it, so then if you ever want it back, simply remove those characters, and voila. You can do it with basically anything in the Layout Templates. Seriously though, I am glad you've learned from just that little bit of instructions. It will definitely help you in the future knowing that
|
|
Former Member
inherit
guest@proboards.com
87020
0
Nov 24, 2024 10:05:03 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 7, 2013 19:37:53 GMT -8
I know, hiding is much better, just in case I change my mind. I enjoy the challenge of trying to understand the codes.
I also get a kick out of looking at your changing avatars. You're a very pretty wo"man"! lol
|
|
The Helpee
New Member
The one in need of constant help
Posts: 46
inherit
142891
0
Aug 14, 2013 17:56:47 GMT -8
The Helpee
The one in need of constant help
46
July 2009
cindershock
|
Post by The Helpee on Aug 14, 2013 15:06:41 GMT -8
Okay, so perhaps I'm a failure... Which I probably am. But I added all of those <!-- and --> where you said, and nothing seems to have happened. I'm trying to remove the whole ROW that is above the board name.
So if my board name was City or something, above it says board, and then further down it has threads, then numbers under that, and posts, and numbers under that. I want to get rid of the threads, with numbers, posts with numbers and the whole row of board, threads and posts.
|
|