هاست لینوکس

آخرین بسته‌ی MyBB: نسخه‌ی 1.8.27 MyBB منتشر شد


امتیاز موضوع:
  • 0 رأی - میانگین امتیازات: 0
  • 1
  • 2
  • 3
  • 4
  • 5
چرا پلاگین TopicStats کار نمی کنه!
#1
Rainbow 
سلام
من از قالب outline استفاده می کنم. پلاگین TopicStats شما رو هم استفاده کردم. پلاگین usersbrowsingthread رو هم نصب و فعال کردم ولی نمی دونم چرا نمایش نمی ده. اصلا انگاری متغیر
کد php:
{$usersbrowsing
کار نمی کنه. این قالب showtread منه:
کد php:
<html>
<
head>
<
title>{$thread['subject']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
    var 
quickdelete_confirm "{$lang->quickdelete_confirm}";
// -->
</script>
<
script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
</
head>
<
body>
    {
$header}
    {
$usersbrowsing}
    <
br>
<
center><h1>{$thread['subject']}</h1></center><br>

<
br />

<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="clear: both; border-top-width:1;">
    <
tr>
        <
td class="trow1" width="100%"><span class="smalltext"><strong>{$forum['name']}</strong> &nbsp; {$forum['description']}</span></td>
    </
tr>
    <
tr>
        <
td class="trow2">
            <
table border="0" width="100%">
                <
tr class="smalltext topstats">
                    <
td>
<
div><a href="printthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/printable.gif" class="topstateicon" border="0"> {$lang->view_printable}</a></div>
<
div><a href="sendthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/send.gif" class="topstateicon" border="0"> {$lang->send_thread}</a></div>
                    </
td>
                    <
td>
<
div><a href="showthread.php?tid={$tid}&page=last"><img src="{$mybb->settings['bburl']}/images/mini_last.gif" class="topstateicon" border="0"مشاهده آخرین ارسال این تاپیک</a></div>
<
div><a href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}onClick 'var parameterString = this.href.replace(/.*\?(.*)/, "$1");return Rating.add_rating(parameterString);return false;'><img src="{$mybb->settings['bburl']}/images/mini_add.gif" class="topstateicon" border="0"اعطای حداکثر رتبه به این موضوع</a></div>
                    </
td>
                    <
td>
<
div><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}"><img src="{$mybb->settings['bburl']}/images/{$add_remove_subscription}subscription.gif" class="topstateicon" border="0"> {$add_remove_subscription_text}</a></div>
<
div>
<
div style="padding-top:3px; border-bottom: 1px #2A4956 solid; float: right;">
<
a rel="nofollow" style="text-decoration:none;" href="http://www.mister-wong.com/" onclick="window.open('http://www.mister-wong.com/index.php?action=addurl&amp;bm_url='+encodeURIComponent(location.href)+'&amp;bm_notice=&amp;bm_description='+encodeURIComponent(document.title)+'&amp;bm_tags=');return false;" title="افزودن به: Mr. Wong"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/wong.gif" alt="افزودن به: Mr. Wong" name="wong" border="0" id="wong"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.linkarena.com/" onclick="window.open('http://linkarena.com/bookmarks/addlink/?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;desc=&amp;tags=');return false;" title="افزودن به: Linkarena"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/linkarena.gif" alt="افزودن به: Linkarena" name="Linkarena" border="0" id="Linkarena"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://digg.com/" onclick="window.open('http://digg.com/submit?phase=2&amp;url='+encodeURIComponent(location.href)+'&amp;bodytext=&amp;tags=&amp;title='+encodeURIComponent(document.title));return false;" title="افزودن به: Digg"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/digg.gif" alt="افزودن به: Digg" name="Digg" border="0" id="Digg"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://del.icio.us/" onclick="window.open('http://del.icio.us/post?v=2&amp;url='+encodeURIComponent(location.href)+'&amp;notes=&amp;tags=&amp;title='+encodeURIComponent(document.title));return false;" title="افزودن به: Del.icio.us"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/del.gif" alt="افزودن به: Del.icio.us" name="Delicious" border="0" id="Delicious"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.facebook.com/" onclick="window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(location.href)+'&amp;t='+encodeURIComponent(document.title));return false;" title="افزودن به: Facebook"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/facebook.gif" alt="افزودن به: Facebook" name="Facebook" border="0" id="Facebook"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.furl.net/" onclick="window.open('http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(location.href)+'&amp;keywords=&amp;t='+encodeURIComponent(document.title));return false;" title="افزودن به: Furl"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/furl.gif" alt="افزودن به: Furl" name="Furl" border="0" id="Furl"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.yahoo.com/" onclick="window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+encodeURIComponent(location.href));return false;" title="افزودن به: Yahoo"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/yahoo.gif" alt="افزودن به: Yahoo" name="Yahoo" border="0" id="Yahoo"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.spurl.net/" onclick="window.open('http://www.spurl.net/spurl.php?v=3&amp;tags=&amp;title='+encodeURIComponent(document.title)+'&amp;url='+encodeURIComponent(document.location.href));return false;" title="افزودن به: Spurl"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/spurl.gif" alt="افزودن به: Spurl" name="Spurl" border="0" id="Spurl"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.google.com/" onclick="window.open('http://www.google.com/bookmarks/mark?op=add&amp;hl=fa&amp;bkmk='+encodeURIComponent(location.href)+'&amp;annotation=&amp;labels=&amp;title='+encodeURIComponent(document.title));return false;" title="افزودن به: Google"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/google.gif" alt="افزودن به: Google" name="Google" border="0" id="Google"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.blinklist.com/" onclick="window.open('http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Tag=&amp;Url='+encodeURIComponent(location.href)+'&amp;Title='+encodeURIComponent(document.title));return false;" title="افزودن به: Blinklist"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/blinklist.gif" alt="افزودن به: Blinklist" name="Blinklist" border="0" id="Blinklist"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://blogmarks.net/" onclick="window.open('http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url='+encodeURIComponent(location.href)+'&amp;content=&amp;public-tags=&amp;title='+encodeURIComponent(document.title));return false;" title="افزودن به: Blogmarks"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/blogmarks.gif" alt="افزودن به: Blogmarks" name="Blogmarks" border="0" id="Blogmarks"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.diigo.com/" onclick="window.open('http://www.diigo.com/post?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;tag=&amp;comments='); return false;" title="افزودن به: Diigo"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/diigo.gif" alt="افزودن به: Diigo" name="Diigo" border="0" id="Diigo"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.social-bookmark-script.com/social.bookmarking.htm" target="_Blank" title="Information"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/what.gif" alt="Information" name="Information" border="0" id="Information"> </a>
</
div>
</
div>
                    </
td>
                </
tr>
            </
table>
<
table width="100%" style="line-height:20px">
<
tr class="smalltext">

<
td  width="100%"><fieldset><legend>کاربران حاضر</legend>{$usersbrowsing}</fieldset> </td>
<
td align="center" width="100%" style="line-height:31px"><fieldset><legend>آغاز کننده</legend>  <a href="member.php?action=profile&uid={$thread['uid']}">{$thread['username']}</a></fieldset></td>
<
td align="center" width="100%" style="line-height:31px"><fieldset><legend>ارسال ها</legend> {$postcount}</fieldset></td>
<
td align="center" width="100%" style="line-height:31px"><fieldset><legend>بازديد ها</legend> {$thread['views']}</fieldset></td>
</
tr>            </table>
        </
td>
    </
tr>
</
table>          
<
div style=\"text-align: left; font-size: 10px;\"> TopicStats by <a href=\"http://www.MyBBIran.com\" target=\"_blank\">MyBBIran.com</a></div>

<br />
    
{$pollbox}

    <div class="
float_left">
        
{$multipage}
    </div>
    <div class="
float_right">
        
{$newthread} {$newreply}
    </div>
    
{$ratethread}
    <table border="
0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clearbothborder-bottom-width0;">
        <tr>
            <td class="
thead" colspan="2">
                <div style="
floatleft;">
                    <span class="
smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
                
</div>
                <
div>
                    <
strong>{$thread['subject']}</strong>
                </
div>
            </
td>
        </
tr>
        {
$classic_header}
    </
table>
    <
div id="posts">
        {
$posts}
    </
div>
    <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="border-top-width: 0;">
        <
tr>
            <
td colspan="2" class="tfoot">
                {
$search_thread}
                <
div class="float_left">
                    <
strong>&laquo; <a href="{$next_newest_link}">{$lang->next_newest}</a> | <a href="{$next_oldest_link}">{$lang->next_oldest}</a> &raquo;</strong>
                </
div>
            </
td>
        </
tr>
    </
table>
    <
div class="float_left">
        {
$multipage}
    </
div>
    <
div style="padding-top: 4px;" class="float_right">
        {
$newthread}{$newreply}
    </
div>
    <
br style="clear: both;" />
    {
$quickreply}

<
br /><table class="tborder" cellpadding="5" cellspacing="1" border="0" width="100%" align="center">
<
tr><td class="thead" align="right"><b>ابزار موضوع</a></b></td></tr>
<
tr><td class="trow2" align="left">
<
center><table cellpadding="0" cellspacing="0">  
    <
tr>  
        <
td><b>لینک موضوع:</b></td>  
        <
td><textarea name="link" cols="80" wrap="virtual" READONLY onfocus="javascript: this.select()" rows="1">{$mybb->settings['bburl']}/showthread.php?tid={$tid}</textarea></td>  
    </
tr>  
    <
tr>  
        <
td><b>بی بی کد:</b></td>  
        <
td><textarea name="bbkodu" cols="80" wrap="virtual" READONLY onfocus="javascript: this.select()" rows="1">[url={$mybb->settings['bburl']}/showthread.php?tid={$tid}]{$thread['subject']}[/url]</textarea></td>  
    </
tr>  
    <
tr>  
        <
td><b>کد اچ تی ام ال:</b></td>  
        <
td>  
        <
textarea name="htmlkodu" cols="80" wrap="virtual" READONLY onfocus="javascript: this.select()" rows="1"><a href="{$mybb->settings['bburl']}/showthread.php?tid={$tid}">{$thread['subject']}</a></textarea></td>  
    </
tr>  
</
table></center>
<
center><table cellpadding="5" cellspacing="2">
    <
tr>
    <
ul class="thread_tools">
        <
td><img src="images/printable.gif"> <a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></td>
        <
td><img src="images/send.gif"> <a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></td>
        <
td><img src="images/subscribe.gif"> <a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}">{$add_remove_subscription_text}</a></td>
    </
ul>
    </
tr>
</
table></td></tr></table></center>
</
table>
<
td align="center">
<
div id="ietiketbg">
<
div align="center">
<
div id="diz">
<
a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk={$mybb->settings['bburl']}/showthread.php?tid={$tid}"><img alt="Submit Google" src="images/google.png" class="inlineimg" title="Submit Google" border="0"></a>
<
a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=%url%={$mybb->settings['bburl']}/showthread.php?tid={$tid}"><img alt="Submit Face book" src="images/facebook.gif" class="inlineimg" title="Submit Face book" border="0"></a>
<
a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url={$mybb->settings['bburl']}/showthread.php?tid={$tid}"><img alt="Submit to Digg" src="images/digg.png" class="inlineimg" title="Submit to Digg" border="0"></a>
<
a rel="nofollow" target="_blank" href="http://reddit.com/submit?url={$mybb->settings['bburl']}/showthread.php?tid={$tid}"><img alt="Submit to Reddit" src="images/reddit.gif" class="inlineimg" title="Submit to Reddit" border="0"></a>
<
a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u={$mybb->settings['bburl']}/showthread.php?tid={$tid}"><img alt="Submit to Furl" src="images/furl.gif" class="inlineimg" title="Submit to Furl" border="0"></a>
<
a rel="nofollow" target="_blank" href="http://del.icio.us/post?url={$mybb->settings['bburl']}/showthread.php?tid={$tid}"><img alt="Submit to Del.icio.us" src="images/delicious.png" class="inlineimg" title="Submit to Del.icio.us" border="0"></a>
<
a rel="nofollow" target="_blank" href="http://jeqq.com/submit.php?phase=2&amp;url={$mybb->settings['bburl']}/showthread.php?tid={$tid}"><img alt="Submit to Jeqq" src="images/jeqq.gif" class="inlineimg" title="Submit to Jeqq" border="0"></a></div>
</
div></div></td

    {
$threadexbox}
    <
br />
    <
div class="float_left">

    </
div>

    <
div class="float_right" style="text-align: right;">
        {
$moderationoptions}
        {
$forumjump}
    </
div>
    <
br style="clear: both;" />
    {
$footer}
</
body>
</
html
همونطور که می‌بینید، دو جا از این متغیر استفاده کردم، یکی بالا و بصورت تنهایی و دیگه توی جدولی که مربوط به پلاگین TopicStats‌هست. حتی اونها رو بعد و قبل از متغیر pollbox و البته بعد از متغیر header گذاشتم و آزمایش کردم. پلاگین ها رو چندین بار غیرفعال و فعال کردم حتی اونها رو از روی هاست حذف کردم و دوباره گذاشتم ولی تحت هیچ شرایطی کار نمی‌کنه. Huh
می‌شه یه راهنمایی کنید کجای کار من اشتباهه؟
سپاس‌گزارم


پیام‌های داخل این موضوع
چرا پلاگین TopicStats کار نمی کنه! - توسط Daryush - ۱۳۸۸/۱۱/۱۶، ۰۳:۲۴:۰۱ صبح
RE: چرا پلاگین TopicStats کار نمی کنه! - توسط Pars - ۱۳۸۸/۱۱/۱۶، ۰۳:۳۴:۳۹ صبح
RE: چرا پلاگین TopicStats کار نمی کنه! - توسط Daryush - ۱۳۸۸/۱۱/۱۶، ۰۳:۴۵:۱۰ صبح
RE: چرا پلاگین TopicStats کار نمی کنه! - توسط Pars - ۱۳۸۸/۱۱/۱۶، ۰۳:۵۰:۴۳ صبح
RE: چرا پلاگین TopicStats کار نمی کنه! - توسط Daryush - ۱۳۸۸/۱۱/۱۶، ۰۳:۵۳:۱۸ صبح
RE: چرا پلاگین TopicStats کار نمی کنه! - توسط ZEUS - ۱۳۸۸/۱۱/۱۶، ۱۲:۱۲:۱۳ عصر
RE: چرا پلاگین TopicStats کار نمی کنه! - توسط Daryush - ۱۳۸۸/۱۱/۱۶، ۱۵:۳۰:۰۱ عصر
RE: چرا پلاگین TopicStats کار نمی کنه! - توسط Pars - ۱۳۸۸/۱۱/۱۶، ۲۲:۰۲:۴۱ عصر

پرش به انجمن:


کاربرانِ درحال بازدید از این موضوع: 1 مهمان