wersja skryptu MyBB:-
adres forum:-
na czym polega problem (screen, opis, komunikaty):
Chodzi mi o to: https://webboard.pl/thread-36416.html nie mam pojęcia o co kaman tzn robię tak:
Dobrze ? bo jeśli dobrze to shoubox i tak mi nie chodzi. Proszę o odpowiedź i sorry jeśli zły dział ale nie wiedziałem gdzie to dodać.
adres forum:-
na czym polega problem (screen, opis, komunikaty):
Chodzi mi o to: https://webboard.pl/thread-36416.html nie mam pojęcia o co kaman tzn robię tak:
<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.10.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>
<script type="text/javascript" src="jscripts/myshoutbox.js?ver=1400"></script>
<style type="text/css">
.shoutbox {
margin: 0;
padding: 0;
left: 0;
}
li.shoutbox_normal {
list-style: none;
margin: 0;
position: relative;
cursor: pointer;
color: transparent;
display: inline ;
border: 1px;
border-color: #FFFFFF;
}
li.shoutbox_color {
list-style: none;
position: relative;
cursor: pointer;
color: transparent;
display: inline ;
border: 0px;
float: left;
margin: 1px;
}
.shoutbox_button_color a {
width: 9px;
height: 9px;
display: block;
border: 1px solid #FFF;
}
</style>
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" id="shoutbox_img" class="expander" alt="[-]" /></div>
<div><strong>{$lang->mysb_shoutbox}</strong> (<a href="index.php?action=full_shoutbox">{$lang->mysb_fullsbox}</a> - <a href="pspshoutbox.php">{$lang->mysb_portable}</a>)<br /></div>
</td>
</tr>
</thead>
<tbody id="shoutbox_e">
<tr>
<td class="trow2" width="66%" align="center"><form onsubmit="ShoutBox.postShout(); $('shout_data').value = ''; return false;">{$lang->mysb_shout} <input type="text" id="shout_data" size="50" /> - <input type="submit" value="{$lang->mysb_shoutnow}" id="shouting-status" /></form></td>
<td class="trow2" width="12%" align="center">{$lang->mysb_options}</td>
</tr>
<tr>
<td class="trow1" width="76%"><div id="shoutbox_data" style="height: {$mybb->settings['mysb_height']}px; overflow: auto;">{$lang->mysb_loading}</div></td>
<td class="trow1" width="12%" align="center">
<a style="cursor: pointer;" id="smilies" onclick="window.open('misc.php?action=smilies&popup=true&editor=clickableEditor','{$lang->mysb_smilies}','scrollbars=yes, menubar=no,width=460,height=360,toolbar=no');">{$lang->mysb_smilies}</a>
<br />
<a style="cursor: pointer;" onclick="window.open('shoutbox.php','{$lang->mysb_shoutbox}','scrollbars=yes, menubar=no,width=825,height=449,toolbar=no');">{$lang->mysb_popup_shoutbox}</a>
</td>
</tr>
</tbody>
</table>
<script type="text/javascript">
ShoutBox.refreshInterval = {$mybb->settings['mysb_refresh_interval']};
ShoutBox.MaxEntries = {$mybb->settings['mysb_shouts_main']};
ShoutBox.lang = ['{$lang->mysb_posting}', '{$lang->mysb_shoutnow}', '{$lang->mysb_loading}', '{$lang->mysb_flood_check}', '{$lang->mysb_no_perform}', '{$lang->mysb_already_sent}', '{$lang->mysb_deleted}', '{$lang->mysb_invalid}', '{$lang->mysb_self}', '{$lang->mysb_report_invalid_sid}', '{$lang->mysb_shout_reported}', '{$lang->mysb_shout_already_reported}'];
{$extra_js}
Event.observe(window, 'load', ShoutBox.showShouts);
</script>
<br/>
{$newpmmsg}