inherit
234251
0
Aug 6, 2016 3:33:27 GMT -8
forevermariah
3
July 2016
forevermariah
|
Post by forevermariah on Jul 9, 2016 11:47:02 GMT -8
hello i'm sorry this has been posted couple of times I tried Bennett's code support.proboards.com/post/5372126/threadbut i found myself re-writing it and failing, me being one that knows nearly nothing about writing acs and Brian Ordonez support.proboards.com/post/6236614/threadbut i got this instead: i.imgur.com/sUuUCkn.pngin which boards names and icons are crushed, and there's no space in between board columns, last post looks crowdy so its better to be off or re-adjusted to have more space i will simply demonstrate what i need using Paint current: forever-mariah.boards.net/demonstation: i.imgur.com/GkJj28P.pngsince the category cant be side by side and wouldnt look good with a board-columns-space in between, i narrowed it down to fit the text to look neat (actually my friend did while helping but we been playing with the codes for hours and didnt come up with results) Plugins used: . Different On/Off Icons for Different Boards . Thread Icons . Extended Thread Titles thank you
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jul 9, 2016 20:53:04 GMT -8
hello i'm sorry this has been posted couple of times I tried Bennett's code support.proboards.com/post/5372126/threadbut i found myself re-writing it and failing, me being one that knows nearly nothing about writing acs and Brian Ordonez support.proboards.com/post/6236614/threadbut i got this instead: i.imgur.com/sUuUCkn.pngin which boards names and icons are crushed, and there's no space in between board columns, last post looks crowdy so its better to be off or re-adjusted to have more space i will simply demonstrate what i need using Paint current: forever-mariah.boards.net/demonstation: i.imgur.com/GkJj28P.pngsince the category cant be side by side and wouldnt look good with a board-columns-space in between, i narrowed it down to fit the text to look neat (actually my friend did while helping but we been playing with the codes for hours and didnt come up with results) Plugins used: . Different On/Off Icons for Different Boards . Thread Icons . Extended Thread Titles thank you I started fiddling with this ( Test site ) and barely got started (lots to be fixed/changed/added back ...like headings) but in case I have time to fiddle some more in the next few days (if no one else jumps in) the dates (2010, 2011) I see on your examples, are they the board names (I'm pretty sure they are but wanted to double check)? Will descriptions be in any of the boards? Ignore the misc. other stuff I have going on there.
|
|
inherit
234251
0
Aug 6, 2016 3:33:27 GMT -8
forevermariah
3
July 2016
forevermariah
|
Post by forevermariah on Jul 10, 2016 3:18:08 GMT -8
I started fiddling with this ( Test site ) and barely got started (lots to be fixed/changed/added back ...like headings) but in case I have time to fiddle some more in the next few days (if no one else jumps in) the dates (2010, 2011) I see on your examples, are they the board names (I'm pretty sure they are but wanted to double check)? Will descriptions be in any of the boards? Ignore the misc. other stuff I have going on there. there will be no description in any boards other than the discussion ones on top my friend insisted to help and kept playing with the code. for a quick fix, he used brian's code then he umm.. somehow put a cell in between the boards and changed it's color to same as background (which works for now but any theme change will require a new cell color, which would've been better if could be made transparent or something but its just temporarily so) and also he added this line to fit the icons so they dont go over on boards' names we also removed boards last posts columns cuz looks crowded with everything else in that setting the code now looks like this {foreach $[board]} <table class="list{if $[board.odd]} odd{/if}{if $[board.even]} even{/if}{if $[board.index] == 0} first{/if}{if $[board.index] == $[board.lastIndex]} last{/if}" role="grid"> <tbody> {if !$[board.is_redirect]} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable"> <span class="link">$[board]</span>{if $[board.num_viewing]}<span class="viewing"> - $[board.num_viewing] Viewing</span>{/if}<br /> <p class="description">$[board.description]</p> {if $[board.num_mods]} <p class="moderators"> Moderator{if $[board.num_mods] != 1}s{/if}: {foreach $[board.moderator_group]}$[board.moderator_group.comma_before] $[board.moderator_group]{/foreach}{if $[board.moderator]}{if $[board.moderator_group]}, {/if}{/if} {foreach $[board.moderator]}$[board.moderator]$[board.moderator.comma] {/foreach} </p> {/if} {if $[board.sub_board]} <p class="sub-boards"> Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}<a href="$[board.sub_board.href]">$[board.sub_board.name]</a>$[board.sub_board.comma] {/foreach} </p> {/if} </td> <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> {if $[board.odd] == 1}{if $[board.lastIndex] != $[board.index]}<td width="4%" style="background-color: #1B211D; border: solid 1px #1b211D;"> </td>{/if}{/if} {if $[board.even] == 1}</tr>{/if} {else} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable redirect last" colspan="3"> <span class="link">$[board]</span><br /> <p class="description">$[board.description]</p> </td> </tr> {/if} {if !$[board]} <tr class="last"><td class="last center" colspan="4">No boards were found.</td></tr> {/if} </tbody> </table> {/foreach} and .boards table.list { float: left; width: 50%; table-layout: fixed; } .boards table.list .board > td { height: 100px; } .boards table.list .main { width: auto; } .boards table.list.first.last { width: 100%; } .boards table.list .icon { width: 100px; } and professional fix would be appreciated like how separately adjust category (table?) width to fit it's titles' texts and a transparent cell (or none) that wont get in the way in case of changing theme thanks for ur reply
|
|
inherit
234251
0
Aug 6, 2016 3:33:27 GMT -8
forevermariah
3
July 2016
forevermariah
|
Post by forevermariah on Jul 10, 2016 9:17:34 GMT -8
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Jul 10, 2016 23:06:03 GMT -8
forevermariah , It looks fine for me in FF, Chrome and IE. I'm not sure when I can look through that coding for you to find any of the other things you mentioned that needs fixing. Before you posted saying you went back to Brian's code, I was in the process of trying to fix mine for mobile devices but I guess I can stop messing with it since you are going another route. But just in case here is where I left off. abetteramerica.freeforums.net/Hopefully, someone else will come along to help you but I will check back when I have some free time to mess with your coding. By the way, a great free place to test your site for mobile devices (my test site is messed up for mobile) and other screen resolutions is here. And sorry, I can't help at the mo.
|
|
inherit
190874
0
Nov 4, 2023 5:43:57 GMT -8
daylilydude
305
March 2013
daylilydude
|
Post by daylilydude on Aug 8, 2016 0:34:30 GMT -8
Tumbleweed, I have this thread bookmarked as this is something I would love to see for my forum. I have seen your test site and love the way it looks... I'm hoping you will have time to finish this??
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Aug 8, 2016 9:39:50 GMT -8
Tumbleweed , I have this thread bookmarked as this is something I would love to see for my forum. I have seen your test site and love the way it looks... I'm hoping you will have time to finish this?? Actually, I haven't set foot on that test site since my last post. It definitely needs a lot of work to get it looking nice on smaller tablets and mobile devices as it looks terrible right now. But since you are interested and like how it looks (thanks ), I'll see what I can do with it when I have some spare time that amounts to more than a few minutes. Edit: Just wanted to add, if there is something you want different than what Forevermariah wanted you may want to start a new thread and refer to this thread in your post and actually, that would be better regardless, in case the OP comes back and wants me to finish up what she was requesting.
|
|
inherit
190874
0
Nov 4, 2023 5:43:57 GMT -8
daylilydude
305
March 2013
daylilydude
|
Post by daylilydude on Aug 9, 2016 10:33:54 GMT -8
|
|
SafeInSanity
Junior Member
Falling in love with Proboards again!
Posts: 424
inherit
23917
0
Feb 27, 2020 11:29:13 GMT -8
SafeInSanity
Falling in love with Proboards again!
424
May 2004
wiki
|
Post by SafeInSanity on Jul 15, 2018 7:58:23 GMT -8
Where does this code go?
{foreach $[board]} <table class="list{if $[board.odd]} odd{/if}{if $[board.even]} even{/if}{if $[board.index] == 0} first{/if}{if $[board.index] == $[board.lastIndex]} last{/if}" role="grid"> <tbody> {if !$[board.is_redirect]} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable"> <span class="link">$[board]</span>{if $[board.num_viewing]}<span class="viewing"> - $[board.num_viewing] Viewing</span>{/if}<br /> <p class="description">$[board.description]</p> {if $[board.num_mods]} <p class="moderators"> Moderator{if $[board.num_mods] != 1}s{/if}: {foreach $[board.moderator_group]}$[board.moderator_group.comma_before] $[board.moderator_group]{/foreach}{if $[board.moderator]}{if $[board.moderator_group]}, {/if}{/if} {foreach $[board.moderator]}$[board.moderator]$[board.moderator.comma] {/foreach} </p> {/if} {if $[board.sub_board]} <p class="sub-boards"> Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}<a href="$[board.sub_board.href]">$[board.sub_board.name]</a>$[board.sub_board.comma] {/foreach} </p> {/if} </td> <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> {if $[board.odd] == 1}{if $[board.lastIndex] != $[board.index]}<td width="4%" style="background-color: #1B211D; border: solid 1px #1b211D;"> </td>{/if}{/if} {if $[board.even] == 1}</tr>{/if} {else} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable redirect last" colspan="3"> <span class="link">$[board]</span><br /> <p class="description">$[board.description]</p> </td> </tr> {/if} {if !$[board]} <tr class="last"><td class="last center" colspan="4">No boards were found.</td></tr> {/if} </tbody> </table> {/foreach}
and
.boards table.list { float: left; width: 50%; table-layout: fixed; } .boards table.list .board > td { height: 100px; } .boards table.list .main { width: auto; } .boards table.list.first.last { width: 100%; } .boards table.list .icon { width: 100px; }
|
|