inherit
190874
0
Nov 4, 2023 5:43:57 GMT -8
daylilydude
305
March 2013
daylilydude
|
Post by daylilydude on Jan 16, 2014 12:00:57 GMT -8
can it, or has it been done and I just haven't found it?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 16, 2014 13:57:13 GMT -8
bottom of what? Your request is kinda vague...
|
|
inherit
190874
0
Nov 4, 2023 5:43:57 GMT -8
daylilydude
305
March 2013
daylilydude
|
Post by daylilydude on Jan 16, 2014 14:59:28 GMT -8
bottom of what? Your request is kinda vague... Sorry bout that wormo, I was headed out the door when I posted, I should have waited... Any way to get a plug-in done to move sub-boards below the threads? I know there is a code to put in headers to do this but I like the plug-ins MUCH better... it's easier...
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 16, 2014 16:31:39 GMT -8
I want to say the template editor can serve this purpose nicely. I would say check that first because it should just let you swap the blocks around
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 23, 2024 11:17:20 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 16, 2014 21:49:54 GMT -8
I was going to comment saying that but he wanted a plugin for ease. But yes, a template edit should be a quick and easy fix. If you go to Admin > Themes > Layout Templates > Board > Board and cut the following code from the top: {if $[board.sub_board_list]} <div class="container boards"> <div class="title-bar"><h2>Sub-Boards</h2></div> <div class="content cap-bottom"> $[board.sub_board_list] </div> </div> {/if} and put it at below this: {if $[thread_count] > 0} {if $[legend]} <div class="container legend"> <div class="title-bar"><h2>Legend</h2></div> <div class="content"> <table> <tr> {foreach $[legend]} <td>$[legend.icon] <span>$[legend.name]</span></td> {/foreach} </tr> </table> </div> </div> {/if} {/if} So the entire code, if default and you haven't altered it previously, would look like this (you can just erase the entire layout template and replace it with this if you have a default template) {if $[display_thread_list]} <div{if $[viewing_bookmarks]} id="bookmarks"{/if} class="container threads"> <div class="title-bar"> {if $[create_thread_button]} <ul class="controls"><li>$[create_thread_button]</li></ul> {/if} <h1>$[board.display_name]</h1> </div> <div class="control-bar ui-helper-clearfix $[scroll_class]"> $[search] <div class="controls"> $[selection_menu] $[action_menu] </div> $[pagination] </div> <div class="content cap-bottom"> <table class="list"> <thead> <tr class="head"> <th class="icon"><span class="aria-hidden">Status</span> </th> <th class="checkbox"> </th> <th class="main">Subject</th> <th class="created-by">Created By</th> <th class="replies">Replies</th> <th class="views">Views</th> <th class="latest last">Last Post</th> </tr> </thead> <tbody class="$[list_class]"> $[thread_list] </tbody> </table> </div> </div> {/if}
{if $[thread_count] > 0} {if $[legend]} <div class="container legend"> <div class="title-bar"><h2>Legend</h2></div> <div class="content"> <table> <tr> {foreach $[legend]} <td>$[legend.icon] <span>$[legend.name]</span></td> {/foreach} </tr> </table> </div> </div> {/if} {/if}
{if $[board.sub_board_list]} <div class="container boards"> <div class="title-bar"><h2>Sub-Boards</h2></div> <div class="content cap-bottom"> $[board.sub_board_list] </div> </div> {/if}
{if $[board.id]}{if $[show_stats]} <div class="container stats"> <div class="title-bar"><h2>Board Information & Statistics</h2></div> <div class="content"> <table> <tbody> {if $[board.description]} <tr> <td colspan="2"> <table> <tr> <td class="icon">$[image.description]</td> <td class="info last"> <div class="board-name">$[board.name]</div> <div class="board-description">$[board.description]</div> </td> </tr> </table> </td> </tr> {/if} <tr{if !$[show_users_viewing]} class="last"{/if}> <td> <table> <tr> <td class="icon">$[image.stats]</td> <td class="info"> <table> <tbody> <tr><th colspan="2">Threads and Posts</th></tr> <tr><td>Total Threads:</td><td>{if $[total_threads] == -1}N/A{else}$[total_threads]{/if}</td></tr> <tr><td>Total Posts:</td><td>{if $[total_posts] == -1}N/A{else}$[total_posts]{/if}</td></tr> {if $[board.moderators_link]}<tr><td colspan="2">This board has $[board.moderators_link]</td></tr>{/if} </tbody> </table> </td> </tr> </table> </td> <td> <table> <tr> <td class="icon">$[image.members]</td> <td class="info last"> <table> <tbody> <tr><th colspan="1">On This Board</th></tr> <tr><td>You <strong>can{if !$[can.create_threads]}not{/if}</strong> create threads.</td></tr> <tr><td>You <strong>can{if !$[can.reply_to_threads]}not{/if}</strong> reply to threads.</td></tr> <tr><td>You <strong>can{if !$[can.create_polls]}not{/if}</strong> create polls.</td></tr> </tbody> </table> </td> </tr> </table> </td> </tr> {if $[show_users_viewing]} <tr class="last"> <td colspan="2"> <table> <tr> <td class="icon">$[image.online]</td> <td class="info last"> <table> <tbody> <tr><th>Users Viewing</th></tr> <tr><td>$[total_board_staff] Staff, $[total_board_members] Member{if $[total_board_members] != 1}s{/if}, {if $[view_guests_online_link]}<a href="#" class="$[view_guests_online_link.class]">{/if}$[total_board_guests] Guest{if $[total_board_guests] != 1}s{/if}{if $[view_guests_online_link]}</a>{/if}.</td></tr> <tr><td><tr><td> {foreach $[board_user]} $[board_user]{if $[board_user.invisible]} <span class="small">(invisible)</span>{/if}$[board_user.comma] {/foreach} {if $[total_online_not_shown] > 0} , and <a href="$[view_active_members_link.href]" class="$[view_active_members_link.class]">$[total_online_not_shown] more...</a> {/if} </td></tr> </tbody> </table> </td> </tr> </table> </td> </tr> {/if} </tbody> </table> </div> </div> {/if}{/if} And it will look like this: alcryst.boards.net/board/1/general-board If that's not where you want it, just tell me where and I'll move it there.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jan 16, 2014 23:50:38 GMT -8
templates run faster then plugins AND work on mobile app.
|
|
inherit
190874
0
Nov 4, 2023 5:43:57 GMT -8
daylilydude
305
March 2013
daylilydude
|
Post by daylilydude on Jan 17, 2014 0:30:11 GMT -8
Hmmmm... I'm gonna get this right if it kills me... lol! Ok, I use the drop down plug-in for my sub-boards and love love love the way it has cleaned up our forum, it's just when you click on a board with the drop down in it the sub-boards show up above the threads and I was wondering if that could be switched?
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 23, 2024 11:17:20 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 17, 2014 0:52:07 GMT -8
Read my post, it explains how to do that =)
|
|
inherit
117063
0
Jun 19, 2015 17:30:41 GMT -8
Shandragontear
Smile!
94
January 2008
shandragontear
|
Post by Shandragontear on Jun 13, 2014 9:37:23 GMT -8
Is there a way to do this if you only want the threads above subboards on certain boards rather then all of them?
|
|
Joachim
Full Member
Shhh, can't see me.
Posts: 905
inherit
23771
0
Nov 18, 2012 17:23:23 GMT -8
Joachim
Shhh, can't see me.
905
April 2004
izaeah
|
Post by Joachim on Jun 13, 2014 19:23:46 GMT -8
|
|
inherit
117063
0
Jun 19, 2015 17:30:41 GMT -8
Shandragontear
Smile!
94
January 2008
shandragontear
|
Post by Shandragontear on Jun 13, 2014 21:42:11 GMT -8
Thank you!
|
|