Webboard

Pełna wersja: Nie dziala reputation system !
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Stron: 1 2

LikeLoveHate

Mógł mieć coś wspólnego ;)
Wgrałeś na nowo katalog /jscripts/ ?
okienko logowania dzialalo a wiedzialem to dlatego ze przed wgraniem ShoutBoxa(czyli przed dodaniem tego) tez nie dzialala reputka.
: nie.
Kod PHP:
<html>
<
head>
<
title>{$thread['subject']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
    var 
quickdelete_confirm "{$lang->quickdelete_confirm}";
    var 
quickrestore_confirm "{$lang->quickrestore_confirm}";
    var 
allowEditReason "{$mybb->settings['alloweditreason']}";
    
lang.save_changes "{$lang->save_changes}";
    
lang.cancel_edit "{$lang->cancel_edit}";
    
lang.quick_edit_update_error "{$lang->quick_edit_update_error}";
    
lang.quick_reply_post_error "{$lang->quick_reply_post_error}";
    
lang.quick_delete_error "{$lang->quick_delete_error}";
    
lang.quick_delete_success "{$lang->quick_delete_success}";
    
lang.quick_delete_thread_success "{$lang->quick_delete_thread_success}";
    
lang.quick_restore_error "{$lang->quick_restore_error}";
    
lang.quick_restore_success "{$lang->quick_restore_success}";
    
lang.editreason "{$lang->postbit_editreason}";
// -->
</script>
<!-- 
jeditable (jquery) -->
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1800"></script>
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1800"></script>
<
script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.js"></script>
<
script type="text/javascript">
<!--
    var 
tylEnabled "{$mybb->settings['g33k_thankyoulike_enabled']}";
    var 
tylCollapsible "{$mybb->settings['g33k_thankyoulike_collapsible']}";
    var 
tylUser "{$mybb->user['uid']}";
-->
</
script>
</
head>
<
body id="forums">
    {
$header}
    {
$threadnotesbox}
    {
$pollbox}
    <
div class="float_left">
        {
$multipage}
    </
div>
    <
div class="float_right">
        {
$newthread}{$newreply}
    </
div>
    {
$ratethread}<br /><br />
    <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder3 tfixed clear">
        <
tr>
            <
td class="thead">
                <
div class="float_right">
                    <
span class="smalltext"><strong><a href="javascript:;" id="thread_modes">{$lang->thread_modes}</a>{$threadnoteslink}</strong></span>
                </
div>
                <
div>
                    <
strong>{$thread['threadprefix']}{$thread['subject']}</strong>
                </
div>
            </
td>
        </
tr>
<
tr><td id="posts_container">
    <
div id="posts">
        {
$posts}
    </
div><br />
</
td></tr>
        <
tr>
            <
td class="tfoot">
              <
div style="margin-top: 4px; margin-left: 5px;" class="float_left">

<
a title="Digg" href="http://digg.com/submit?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}target="_blank">
  <
img src="images/MasterStyle/di.png" alt="Digg" /></a> &nbsp;

<
a title="Delicious" href="http://del.icio.us/post?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}&amp;title={$thread['subject']}target="_blank"><img src="images/MasterStyle/de.png" alt="Delicious" /></a> &nbsp;

<
a title="Reddit" href="http://reddit.com/submit?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}&amp;title={$thread['subject']}target="_blank"><img src="images/MasterStyle/re.png" alt="Reddit" /></a> &nbsp;

<
a title="Facebook" href="http://www.facebook.com/share.php?u={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}target="_blank"><img src="images/MasterStyle/fb.png" alt="Facebook" /></a> &nbsp;

<
a title="Twitter" href="http://twitter.com/home?status={$thread['subject']} - {$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}target="_blank"><img src="images/MasterStyle/tw.png" alt="Twitter" /></a> &nbsp;

<
a title="StumbleUpon" href="http://www.stumbleupon.com/submit?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}target="_blank"><img src="images/MasterStyle/su.png" alt="StumbleUpon" /></a> &nbsp;

</
div>
              <
div class="float_right">{$search_thread}</div>
              
              
              
              
            </
td>
        </
tr>
    </
table>
    <
div class="float_left">
        {
$multipage}
    </
div>
    <
div style="padding-top: 4px;" class="float_right">
        {
$newthread}{$newreply}
    </
div>
    <
br class="clear" />
    {
$quickreply}
    {
$threadexbox}
    {
$similarthreads}
    <
br />
    <
div class="float_right" style="text-align: right;">
    {
$moderationoptions}
        {
$forumjump}
    </
div>
    <
br class="clear" />
    {
$usersbrowsing}
    {
$footer}
    <
div id="thread_modes_popup" class="popup_menu" style="display: none;">
<
div class="popup_item_container"><a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}class="popup_item">{$lang->linear}</a></div>
      
<
div class="popup_item_container"><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}class="popup_item">{$lang->threaded}</a></div>
      <
div class="border2"></div>
<
div class="popup_item_container"><a href="/printthread.php?tid={$tid}class="popup_item">{$lang->view_printable}</a></div>
      
<
div class="popup_item_container"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}class="popup_item">{$add_remove_subscription_text}</a></div>
      
<
div class="popup_item_container"><a href="polls.php?action=newpoll&amp;tid={$tid}class="popup_item">{$lang->add_poll_to_thread}</a></div>
      
<
div class="popup_item_container"><a href="sendthread.php?tid={$tid}class="popup_item">Send thread to a friend</a></div>
  </
div>
    <
script type="text/javascript">
    
// <!--
        
if(use_xmlhttprequest == "1")
        {
            $(
"#thread_modes").popupMenu();
        }
    
// -->
    
</script>
</
body>
</
html
Proo napisał(a):okienko logowania dzialalo a wiedzialem to dlatego ze przed wgraniem ShoutBoxa(czyli przed dodaniem tego) tez nie dzialala reputka.

okienko do logowania z dodatkowa biblioteka jq nie mialo prawa działać

zobacz tak

Kod:
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    var quickdelete_confirm = "{$lang->quickdelete_confirm}";
    var quickrestore_confirm = "{$lang->quickrestore_confirm}";
    var allowEditReason = "{$mybb->settings['alloweditreason']}";
    lang.save_changes = "{$lang->save_changes}";
    lang.cancel_edit = "{$lang->cancel_edit}";
    lang.quick_edit_update_error = "{$lang->quick_edit_update_error}";
    lang.quick_reply_post_error = "{$lang->quick_reply_post_error}";
    lang.quick_delete_error = "{$lang->quick_delete_error}";
    lang.quick_delete_success = "{$lang->quick_delete_success}";
    lang.quick_delete_thread_success = "{$lang->quick_delete_thread_success}";
    lang.quick_restore_error = "{$lang->quick_restore_error}";
    lang.quick_restore_success = "{$lang->quick_restore_success}";
    lang.editreason = "{$lang->postbit_editreason}";
// -->
</script>
<!-- jeditable (jquery) -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1800"></script>
</head>
<body id="forums">
    {$header}
    {$threadnotesbox}
    {$pollbox}
    <div class="float_left">
        {$multipage}
    </div>
    <div class="float_right">
        {$newthread}{$newreply}
    </div>
    {$ratethread}<br /><br />
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder3 tfixed clear">
        <tr>
            <td class="thead">
                <div class="float_right">
                    <span class="smalltext"><strong><a href="javascript:;" id="thread_modes">{$lang->thread_modes}</a>{$threadnoteslink}</strong></span>
                </div>
                <div>
                    <strong>{$thread['threadprefix']}{$thread['subject']}</strong>
                </div>
            </td>
        </tr>
<tr><td id="posts_container">
    <div id="posts">
        {$posts}
    </div><br />
</td></tr>
        <tr>
            <td class="tfoot">
              <div style="margin-top: 4px; margin-left: 5px;" class="float_left">

<a title="Digg" href="http://digg.com/submit?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}" target="_blank">
  <img src="images/MasterStyle/di.png" alt="Digg" /></a> &nbsp;

<a title="Delicious" href="http://del.icio.us/post?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}&amp;title={$thread['subject']}" target="_blank"><img src="images/MasterStyle/de.png" alt="Delicious" /></a> &nbsp;

<a title="Reddit" href="http://reddit.com/submit?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}&amp;title={$thread['subject']}" target="_blank"><img src="images/MasterStyle/re.png" alt="Reddit" /></a> &nbsp;

<a title="Facebook" href="http://www.facebook.com/share.php?u={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}" target="_blank"><img src="images/MasterStyle/fb.png" alt="Facebook" /></a> &nbsp;

<a title="Twitter" href="http://twitter.com/home?status={$thread['subject']} - {$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}" target="_blank"><img src="images/MasterStyle/tw.png" alt="Twitter" /></a> &nbsp;

<a title="StumbleUpon" href="http://www.stumbleupon.com/submit?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}" target="_blank"><img src="images/MasterStyle/su.png" alt="StumbleUpon" /></a> &nbsp;

</div>
              <div class="float_right">{$search_thread}</div>
              
              
              
              
            </td>
        </tr>
    </table>
    <div class="float_left">
        {$multipage}
    </div>
    <div style="padding-top: 4px;" class="float_right">
        {$newthread}{$newreply}
    </div>
    <br class="clear" />
    {$quickreply}
    {$threadexbox}
    {$similarthreads}
    <br />
    <div class="float_right" style="text-align: right;">
    {$moderationoptions}
        {$forumjump}
    </div>
    <br class="clear" />
    {$usersbrowsing}
    {$footer}
    <div id="thread_modes_popup" class="popup_menu" style="display: none;">
<div class="popup_item_container"><a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}" class="popup_item">{$lang->linear}</a></div>
      
<div class="popup_item_container"><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}" class="popup_item">{$lang->threaded}</a></div>
      <div class="border2"></div>
<div class="popup_item_container"><a href="/printthread.php?tid={$tid}" class="popup_item">{$lang->view_printable}</a></div>
      
<div class="popup_item_container"><a href="usercp2.php?action={$add_remove_subscription}subsc​ription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}" class="popup_item">{$add_remove_subscription_text}</a></div>
      
<div class="popup_item_container"><a href="polls.php?action=newpoll&amp;tid={$tid}" class="popup_item">{$lang->add_poll_to_thread}</a></div>
      
<div class="popup_item_container"><a href="sendthread.php?tid={$tid}" class="popup_item">Send thread to a friend</a></div>
  </div>
    <script type="text/javascript">
    // <!--
        if(use_xmlhttprequest == "1")
        {
            $("#thread_modes").popupMenu();
        }
    // -->
    </script>
</body>
</html>
Nic...
Stron: 1 2