inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna ๐ฅ๐ค
3,564
November 2008
alannab
|
Post by Alanna ๐ฅ๐ค on May 23, 2017 18:59:50 GMT -8
I have modified the shoutbox on this theme: revolutiontheme.boards.net/Posts are not appearing however. I would assume it thinks the form and messages are not within the shoutbox area since I separated them, however, I kept them both between the $[shoutbox_form.header] and $[shoutbox_form.footer] so I'm not sure what is wrong.
|
|
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 May 24, 2017 1:40:17 GMT -8
I have modified the shoutbox on this theme: revolutiontheme.boards.net/Posts are not appearing however. I would assume it thinks the form and messages are not within the shoutbox area since I separated them, however, I kept them both between the $[shoutbox_form.header] and $[shoutbox_form.footer] so I'm not sure what is wrong. We can't see your shoutbox to see what you did but I fiddled with the shoutbox template separating the form area with a div with a random class in it and it didn't work for me. I got an error and of course nothing would show in the post area. But what did work was ending the two starting div's... (<div class="$[shoutbox_class] container full"> <div class="content"> after the message and then re-pasting that above the forms part. Obviously, I'm just blowing in the wind since I have no clue what all you did and exactly how you separated them and I'm pretty clueless on the shoutbox template anyway as I never tried to modify it.
|
|
inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna ๐ฅ๐ค
3,564
November 2008
alannab
|
Post by Alanna ๐ฅ๐ค on May 24, 2017 1:50:07 GMT -8
Tumbleweed, the shoutbox should be visible. Click on the "Chatbox" link in the navigation menu. Here is the layout template however: <!-- CHATBOX.WS SHOUTBOX REMODEL BY TRINITY BLAIR, DO NOT STEAL! -->
$[shoutbox_form.header] <td vAlign="top"> <div class="shouts-container"> <div class="shoutbox_container orientation-$[reply_box_position] {if !$[can.post]}no-post{/if}"> <div class="$[shoutbox_posts_class]" style="height:223px!important;" aria-live="polite"> {if $[shoutbox_posts]} $[shoutbox_posts] {else} <b>There are no posts here.{if $[can.post]} Start the conversation {if $[reply_box_position] == 'bottom'}below{else}above{/if}.{/if}</b> {/if} </div> </div> </div> </td> <td vAlign="top" width="25%"> <div class="chatbox-rules" style="height:126px!important"></div> {if $[can.post]} <div class="shoutbox_form_container {if $[reply_box_position] == "top"}reply-box-top{else}reply-box-bottom{/if}"> <div class="shoutbox_form content-box"> <table width="100%" style="margin-bottom:1px"> <tr> <td>$[message_character_count]</td> <td style="text-align:right!important">$[refresh_button]</td> </tr> </table> <table width="100%"> <tr> <td class="shout-input"> {if $[shoutbox_form.guest_name.input]} $[shoutbox_form.guest_name.input] {else} $[current_user] {/if} </td> </tr> <tr><td height="2px"></td></tr> <tr> <td> <table width="100%"> <tr> <td class="shout-textarea">$[shoutbox_form.message.input]</td> {if $[post_button]}<td width="2px"></td><td class="shout-button">$[post_button]</td>{/if} </tr> </table> </td> </tr> </table> <div class="shout-buttons"> <a>$[reply_box_buttons.bold]</a> ยท <a>$[reply_box_buttons.italic]</a> ยท <a>$[reply_box_buttons.strikethrough]</a> ยท <a>$[reply_box_buttons.underline]</a> ยท <a>$[reply_box_buttons.link]</a> ยท <a>$[reply_box_buttons.smile]</a> </div> </div> </div> {/if} </td> $[shoutbox_form.footer]
<!-- END CHATBOX.WS SHOUTBOX REMODEL BY TRINITY BLAIR, DO NOT STEAL! -->
|
|
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 May 24, 2017 1:58:42 GMT -8
Tumbleweed , the shoutbox should be visible. Click on the "Chatbox" link in the navigation menu. Here is the layout template however: <!-- CHATBOX.WS SHOUTBOX REMODEL BY TRINITY BLAIR, DO NOT STEAL! -->
$[shoutbox_form.header] <td vAlign="top"> <div class="shouts-container"> <div class="shoutbox_container orientation-$[reply_box_position] {if !$[can.post]}no-post{/if}"> <div class="$[shoutbox_posts_class]" style="height:223px!important;" aria-live="polite"> {if $[shoutbox_posts]} $[shoutbox_posts] {else} <b>There are no posts here.{if $[can.post]} Start the conversation {if $[reply_box_position] == 'bottom'}below{else}above{/if}.{/if}</b> {/if} </div> </div> </div> </td> <td vAlign="top" width="25%"> <div class="chatbox-rules" style="height:126px!important"></div> {if $[can.post]} <div class="shoutbox_form_container {if $[reply_box_position] == "top"}reply-box-top{else}reply-box-bottom{/if}"> <div class="shoutbox_form content-box"> <table width="100%" style="margin-bottom:1px"> <tr> <td>$[message_character_count]</td> <td style="text-align:right!important">$[refresh_button]</td> </tr> </table> <table width="100%"> <tr> <td class="shout-input"> {if $[shoutbox_form.guest_name.input]} $[shoutbox_form.guest_name.input] {else} $[current_user] {/if} </td> </tr> <tr><td height="2px"></td></tr> <tr> <td> <table width="100%"> <tr> <td class="shout-textarea">$[shoutbox_form.message.input]</td> {if $[post_button]}<td width="2px"></td><td class="shout-button">$[post_button]</td>{/if} </tr> </table> </td> </tr> </table> <div class="shout-buttons"> <a>$[reply_box_buttons.bold]</a> ยท <a>$[reply_box_buttons.italic]</a> ยท <a>$[reply_box_buttons.strikethrough]</a> ยท <a>$[reply_box_buttons.underline]</a> ยท <a>$[reply_box_buttons.link]</a> ยท <a>$[reply_box_buttons.smile]</a> </div> </div> </div> {/if} </td> $[shoutbox_form.footer]
<!-- END CHATBOX.WS SHOUTBOX REMODEL BY TRINITY BLAIR, DO NOT STEAL! -->
I should have known the shoutbox wouldn't be out in the open, considering your unique templates. Yes it shows and I see now what you did but I have no time to mess with anything tonight (it's 5:00AM and I go to work in a few hours ..stupid me for staying up this late). I'm not sure if I can help anyway but if no one else jumps in I'll take a look. Thanks for the coding.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 24, 2017 10:23:00 GMT -8
I would recommend moving $[shoutbox_form.header] so that it comes immediately after {if $[can.post]} as well as moving $[shoutbox_form.footer] before the closing {/if} of that statement. Those variables generate opening and closing <form> tags which are closing early since they've been placed in the middle of a table.
The only other thing left to do is add the shoutbox class to whichever element surrounds the shoutbox table. Adding the class to <div id="chatbox"> should work.
|
|
inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna ๐ฅ๐ค
3,564
November 2008
alannab
|
Post by Alanna ๐ฅ๐ค on May 24, 2017 18:56:34 GMT -8
Thank you! <3
|
|