Webboard

Pełna wersja: DVZ Shoutbox Odświeżanie = Brak wiadomości
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Chat: DVZ Shoutbox

Witajcie Plugin działa dobrze. Gdy napiszę wiadomość wyswietla sie ona bez problemów. Jednak gdy odświeżę strone wiadomości znikają. Dopiero napisanie innej wiadomości pozwala mi pokazać na stronie głównej wiadomosci.

Napisałem wiadomość:
[Obrazek: sK3BmFZ.jpg?1]

Odświeżam stronę, wiadomości znikają i pokazuje się pusta luka. Chciałbym żeby wiadomosci były widoczne.
[Obrazek: QgPufAc.jpg?1]

kod dvx shoutbox

Kod:
}
.tablehead {
    background: #830000 url(images/theadchat.png) repeat-x;
    color: #FFF;
    padding: 5px 10px;
    border: solid 1px #ce8911;
    border-radius: 5px 5px 0 0;
    font: 16px Arial, sans-serif;
}

.tablehead .right {

    float: right;
    margin: 0; padding-top: 1px;
    font-size:  13px;
}

.tablehead a {

    color: #FFF !important;
    text-decoration: none;
}

#shoutbox_data {

    font: 13px Arial, sans-serif;
}

#shoutbox {
    margin-bottom: 5px;
}

#shoutbox .panel {
    padding: 2px;
}

#shoutbox .panel-blocked {
    margin: 1px 0;
    padding: 5px;
    background: #FCEFEF;
    font-size: 11px;
    color: #543A3A;
}

#shoutbox .panel-away {
    margin: 1px 0;
    padding: 5px;
    background: #EDEDED;
    font-size: 11px;
    color: #7A7A7A;
}

#shoutbox .panel-away button {
    margin-right: 5px;
    padding: 5px;
    font-family: Tahoma, sans-serif;
    color: #FFF;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 -1px 0 #297318;
    border-radius: 5px; background: #962725;
    border: none;
    border-radius: 3px;
}

#shoutbox .trow1 {
    background-color: #ffff;
}

#shoutbox .panel-minposts {
    margin: 1px 0;
    padding: 5px;
    background: #FFFED8;
    font-size: 11px;
    color: #727250;
}

img#dvz_sb_loading {
    position: relative;
    top: 3px;
    left: 5px;
}

input#shout_text {
    background: #3f3f3f;
    width: 90%;
    color: #bfbfbf;
    margin-right: 2px;
    padding: 5px 6px 6px 6px;
    border: 1px solid #4D4D4D;
    border-radius: 2px;
    
    font-family: Tahoma, sans-serif;
    font-size: 12px;
}

input#shout_button {
padding: 5px; font-family: Tahoma, sans-serif;
    color: #FFF;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 -1px 0 #297318;
    border-radius: 5px;
    background: #499338;
    border: solid 1px #499338;
    border-radius: 3px;
}

#shoutbox .trow1 {
    background-color: #3f3f3f;
}

#shoutbox .trow2 {

    background-color: #333333;
}

.sbentry {

    padding: 0;
}

#shoutbox .userdata {
    margin: 0;
    padding: 6px;
    float: left;
    text-align: right;
}

#shoutbox .text {
    color: #c9c9c9;
    margin: 0;
    padding: 6px;
}

#shoutbox .insUser {
    cursor: pointer;
    color: #AAAAAA;
}

#shoutbox .info {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
    font-size: 11px;
    color: #888888;
}

#shoutbox .info .date {
    margin-right: 5px;
}

#shoutbox .info .ip {
    margin-right: 5px;
    color: #CECECE;
}

#shoutbox .mod {
    padding: 2px 5px;
    background: #333333;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-decoration: none;
}

#shoutbox .dvz_sb_del {
    background-color: #6B0100;
}

#shoutbox img.avatar {
    float: left;
    display: inline-block;
    margin-top: -1px;
    margin-right: 5px;
    max-height: 16px;
    max-width: 16px;
    border: solid 1px #d4d4d4;
    box-shadow: 0 0 2px #c3c3c3;
}

headerinclude:
Cytat:<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
{$stylesheets}
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}
<link rel="icon" type="image/png" href="favicon.png" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
Zamień headerinclude:
Kod:
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">jQuery.noConflict();</script>
{$stylesheets}
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}
<link rel="icon" type="image/png" href="favicon.png" />
już działa, ślicznie dziękuje :)