قرار دادن گوگل پلاس در پست ها

شروع موضوع توسط administrator ‏14 آوریل 2012 در انجمن آموزش ها

  1. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    با سلام

    کاربران زیادی برای قرار دادن گوگل پلاس برای هر موضوع از پلایگن استقاده میکردند و دارای مشکلاتی بود. حال در این بخش قصد آموزشی برای قرار دادن گوگل پلاس در موضوعات مای بی بی رو دارم. برای این کار به قسمت زیر برید :

    قالب ها و پوسته ها >> قالب ها>>> قالب مورد نظر >>>showthread

    کد زیر رو پیدا کنید :

    کد:
    {$headerinclude}
    و زیرش این رو قرار بدهید:

    کد:
    <script type="text/javascript" src="http://apis.google.com/js/plusone.js">
        {lang: 'en-US'} </script>
    سپس کد زیر رو پیدا کنید :

    کد:
    <div class="float_right">
    {$newreply}{$close_button}
    </div>
    و زیرش کد زیر رو قرار بدید

    کد:
    <div style='float:right'>
        <g:plusone size="standard" expr:href="data:post.url"/>
        </div>
    موفق باشید.
     
  2. arshamnhb

    arshamnhb کاربر جدید

    تاریخ عضویت:
    ‏8 فوریه 2012
    ارسال ها:
    8
    تشکر شده:
    0
    سلام
    من بعضی از این چیزارو ندارم
    این قالب من
    خودتون بذارین
    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=1600"></script>
    <script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
    <script type="text/javascript">
    <!--
        var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
        var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
        var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
        var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
        var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
        var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
        var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
        var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
        var fitonpage_location = "showthread";
    -->
    </script>
    </head>
    <body>
        {$header}
        {$stcp_thr}{$pollbox}<!-- TopicStats --><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>{$thread['subject']}</strong></span></span><div class="smalltext float_left">{$lang->welcome_current_time}</div></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/topicstats/printable.gif" class="topstateicon" border="0"> {$lang->view_printable}</a></div>
    <div><a href="sendthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/topicstats/fw_pm.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/topicstats/mini_last.gif" class="topstateicon" border="0"> نمایش آخرین ارسال این موضوع</a></div>
    <div><a href="./ratethread.php?tid={$thread['tid']}&rating=5&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/topicstats/mini_add.gif" class="topstateicon" border="0"> اهدای بیشترین امتیاز به این موضوع</a></div>
                        </td>
                        <td>
    <div><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}"><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&bm_url='+encodeURIComponent(location.href)+'&bm_notice=&bm_description='+encodeURIComponent(document.title)+'&bm_tags=');return false;" title="افزودن به: Mr. Wong"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&title='+encodeURIComponent(document.title)+'&desc=&tags=');return false;" title="افزودن به: Linkarena"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&url='+encodeURIComponent(location.href)+'&bodytext=&tags=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Digg"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&url='+encodeURIComponent(location.href)+'&notes=&tags=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Del.icio.us"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&t='+encodeURIComponent(document.title));return false;" title="افزودن به: Facebook"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&keywords=&t='+encodeURIComponent(document.title));return false;" title="افزودن به: Furl"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&d=&tag=&u='+encodeURIComponent(location.href));return false;" title="افزودن به: Yahoo"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&tags=&title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(document.location.href));return false;" title="افزودن به: Spurl"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&hl=fa&bkmk='+encodeURIComponent(location.href)+'&annotation=&labels=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Google"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&Description=&Tag=&Url='+encodeURIComponent(location.href)+'&Title='+encodeURIComponent(document.title));return false;" title="افزودن به: Blinklist"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&simple=1&url='+encodeURIComponent(location.href)+'&content=&public-tags=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Blogmarks"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/blogmarks.gif" alt="افزودن به: Blogmarks" name="Blogmarks" border="0" id="Blogmarks"> </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="{$mybb->settings['bburl']}/images/topicstats/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="56%" style="line-height:31px"><fieldset><legend>{$lang->users_browsing_thread}</legend> <span class="smalltext"> {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span>
    </fieldset> </td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->author}:</legend>  <a href="member.php?action=profile&uid={$thread['uid']}">{$thread['username']}</a></fieldset></td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->lastpost}:</legend>  <a href="member.php?action=profile&uid={$thread['lastposteruid']}">{$thread['lastposter']}</a></fieldset></td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->replies}</legend> {$postcount}</fieldset></td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->views}</legend> {$thread['views']}</fieldset></td>
    </tr>            </table>
            </td>
        </tr>
    </table>          

    <br />
    <!-- /TopicStats -->
        <div class="float_right">
            {$multipage}

        </div>
        <div class="float_left">
            {$newreply}
        </div>
        {$ratethread}
        <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
            <tr>
                <td class="thead" colspan="2">
                    <div style="float: left;">
                        <span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
                    </div>
                    <div>
                        <h1>{$thread['threadprefix']}{$thread['subject']}</h1>             </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>
                        <strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
                    </div>
                </td>
            </tr>
        </table>
        <div class="float_right">
            {$multipage}
        </div>
        <div style="padding-top: 4px;" class="float_left">
            {$newreply}
        </div>
        <br style="clear: both;" />
        {$quickreply}
        {$threadexbox}
        {$similarthreads}{$who_visit_thread}
        <br />
        <div class="float_right">
            <ul class="thread_tools">
                <li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
                <li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
                <li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
            </ul>
        </div>

        <div class="float_left" style="text-align: left;">
            {$moderationoptions}
            {$forumjump}
        </div>
        <br style="clear: both;" />
        {$usersbrowsing}
        {$footer}
    </body>
    </html>
     
  3. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    کد شما :

    کد:
    <html>
    <head>
    <title>{$thread['subject']}</title>
    {$headerinclude}
    <script type="text/javascript" src="http://apis.google.com/js/plusone.js">
        {lang: 'en-US'} </script>
    <script type="text/javascript">
    <!--
        var quickdelete_confirm = "{$lang->quickdelete_confirm}";
    // -->
    </script>
    <script type="text/javascript" src="jscripts/thread.js?ver=1600"></script>
    <script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
    <script type="text/javascript">
    <!--
        var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
        var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
        var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
        var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
        var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
        var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
        var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
        var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
        var fitonpage_location = "showthread";
    -->
    </script>
    </head>
    <body>
        {$header}
        {$stcp_thr}{$pollbox}<!-- TopicStats --><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>{$thread['subject']}</strong></span></span><div class="smalltext float_left">{$lang->welcome_current_time}</div></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/topicstats/printable.gif" class="topstateicon" border="0"> {$lang->view_printable}</a></div>
    <div><a href="sendthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/topicstats/fw_pm.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/topicstats/mini_last.gif" class="topstateicon" border="0"> نمايش آخرين ارسال اين موضوع</a></div>
    <div><a href="./ratethread.php?tid={$thread['tid']}&rating=5&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/topicstats/mini_add.gif" class="topstateicon" border="0"> اهداي بيشترين امتياز به اين موضوع</a></div>
                        </td>
                        <td>
    <div><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}"><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&bm_url='+encodeURIComponent(location.href)+'&bm_notice=&bm_description='+encodeURIComponent(document.title)+'&bm_tags=');return false;" title="افزودن به: Mr. Wong"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&title='+encodeURIComponent(document.title)+'&desc=&tags=');return false;" title="افزودن به: Linkarena"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&url='+encodeURIComponent(location.href)+'&bodytext=&tags=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Digg"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&url='+encodeURIComponent(location.href)+'&notes=&tags=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Del.icio.us"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&t='+encodeURIComponent(document.title));return false;" title="افزودن به: Facebook"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&keywords=&t='+encodeURIComponent(document.title));return false;" title="افزودن به: Furl"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&d=&tag=&u='+encodeURIComponent(location.href));return false;" title="افزودن به: Yahoo"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&tags=&title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(document.location.href));return false;" title="افزودن به: Spurl"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&hl=fa&bkmk='+encodeURIComponent(location.href)+'&annotation=&labels=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Google"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&Description=&Tag=&Url='+encodeURIComponent(location.href)+'&Title='+encodeURIComponent(document.title));return false;" title="افزودن به: Blinklist"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&simple=1&url='+encodeURIComponent(location.href)+'&content=&public-tags=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Blogmarks"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/blogmarks.gif" alt="افزودن به: Blogmarks" name="Blogmarks" border="0" id="Blogmarks"> </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="{$mybb->settings['bburl']}/images/topicstats/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="56%" style="line-height:31px"><fieldset><legend>{$lang->users_browsing_thread}</legend> <span class="smalltext"> {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span>
    </fieldset> </td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->author}:</legend>  <a href="member.php?action=profile&uid={$thread['uid']}">{$thread['username']}</a></fieldset></td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->lastpost}:</legend>  <a href="member.php?action=profile&uid={$thread['lastposteruid']}">{$thread['lastposter']}</a></fieldset></td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->replies}</legend> {$postcount}</fieldset></td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->views}</legend> {$thread['views']}</fieldset></td>
    </tr>            </table>
            </td>
        </tr>
    </table>          
    
    <br />
    <!-- /TopicStats -->
        <div class="float_right">
            {$multipage}
    
        </div>
        <div class="float_left">
            {$newreply}
        </div>
    	<div style='float:right'>
        <g:plusone size="standard" expr:href="data:post.url"/>
        </div>
        {$ratethread}
        <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
            <tr>
                <td class="thead" colspan="2">
                    <div style="float: left;">
                        <span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
                    </div>
                    <div>
                        <h1>{$thread['threadprefix']}{$thread['subject']}</h1>             </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>
                        <strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
                    </div>
                </td>
            </tr>
        </table>
        <div class="float_right">
            {$multipage}
        </div>
        <div style="padding-top: 4px;" class="float_left">
            {$newreply}
        </div>
        <br style="clear: both;" />
        {$quickreply}
        {$threadexbox}
        {$similarthreads}{$who_visit_thread}
        <br />
        <div class="float_right">
            <ul class="thread_tools">
                <li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
                <li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
                <li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
            </ul>
        </div>
    
        <div class="float_left" style="text-align: left;">
            {$moderationoptions}
            {$forumjump}
        </div>
        <br style="clear: both;" />
        {$usersbrowsing}
        {$footer}
    </body>
    </html> 
     
  4. arshamnhb

    arshamnhb کاربر جدید

    تاریخ عضویت:
    ‏8 فوریه 2012
    ارسال ها:
    8
    تشکر شده:
    0
    داداش ادیتور پاسخ سریع من از کار افتاد!
    و کد هم نیومد!
     
  5. administrator

    administrator مدیریت کل سایت

    تاریخ عضویت:
    ‏27 جولای 2011
    ارسال ها:
    2,989
    تشکر شده:
    1,027
    کد ها رو ابتدا در نت پد کپی کنید.

    کد:
    <html>
    <head>
    <title>{$thread['subject']}</title>
    {$headerinclude}
    <script type="text/javascript" src="http://apis.google.com/js/plusone.js">
        {lang: 'en-US'} </script>
    <script type="text/javascript">
    <!--
        var quickdelete_confirm = "{$lang->quickdelete_confirm}";
    // -->
    </script>
    <script type="text/javascript" src="jscripts/thread.js?ver=1600"></script>
    <script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
    <script type="text/javascript">
    <!--
        var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
        var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
        var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
        var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
        var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
        var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
        var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
        var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
        var fitonpage_location = "showthread";
    -->
    </script>
    </head>
    <body>
        {$header}
        {$stcp_thr}{$pollbox}<!-- TopicStats --><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>{$thread['subject']}</strong></span></span><div class="smalltext float_left">{$lang->welcome_current_time}</div></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/topicstats/printable.gif" class="topstateicon" border="0"> {$lang->view_printable}</a></div>
    <div><a href="sendthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/topicstats/fw_pm.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/topicstats/mini_last.gif" class="topstateicon" border="0"> نمايش آخرين ارسال اين موضوع</a></div>
    <div><a href="./ratethread.php?tid={$thread['tid']}&rating=5&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/topicstats/mini_add.gif" class="topstateicon" border="0"> اهداي بيشترين امتياز به اين موضوع</a></div>
                        </td>
                        <td>
    <div><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}"><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&bm_url='+encodeURIComponent(location.href)+'&bm_notice=&bm_description='+encodeURIComponent(document.title)+'&bm_tags=');return false;" title="افزودن به: Mr. Wong"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&title='+encodeURIComponent(document.title)+'&desc=&tags=');return false;" title="افزودن به: Linkarena"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&url='+encodeURIComponent(location.href)+'&bodytext=&tags=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Digg"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&url='+encodeURIComponent(location.href)+'&notes=&tags=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Del.icio.us"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&t='+encodeURIComponent(document.title));return false;" title="افزودن به: Facebook"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&keywords=&t='+encodeURIComponent(document.title));return false;" title="افزودن به: Furl"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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)+'&d=&tag=&u='+encodeURIComponent(location.href));return false;" title="افزودن به: Yahoo"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&tags=&title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(document.location.href));return false;" title="افزودن به: Spurl"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&hl=fa&bkmk='+encodeURIComponent(location.href)+'&annotation=&labels=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Google"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&Description=&Tag=&Url='+encodeURIComponent(location.href)+'&Title='+encodeURIComponent(document.title));return false;" title="افزودن به: Blinklist"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/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&simple=1&url='+encodeURIComponent(location.href)+'&content=&public-tags=&title='+encodeURIComponent(document.title));return false;" title="افزودن به: Blogmarks"> <img style="padding-bottom:1px;" src="{$mybb->settings['bburl']}/images/topicstats/blogmarks.gif" alt="افزودن به: Blogmarks" name="Blogmarks" border="0" id="Blogmarks"> </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="{$mybb->settings['bburl']}/images/topicstats/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="56%" style="line-height:31px"><fieldset><legend>{$lang->users_browsing_thread}</legend> <span class="smalltext"> {$onlinemembers}{$onlinesep}{$invisonline}{$onlinesep2}{$guestsonline}</span>
    </fieldset> </td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->author}:</legend>  <a href="member.php?action=profile&uid={$thread['uid']}">{$thread['username']}</a></fieldset></td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->lastpost}:</legend>  <a href="member.php?action=profile&uid={$thread['lastposteruid']}">{$thread['lastposter']}</a></fieldset></td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->replies}</legend> {$postcount}</fieldset></td>
    <td align="center" width="11%" style="line-height:31px"><fieldset><legend>{$lang->views}</legend> {$thread['views']}</fieldset></td>
    </tr>            </table>
            </td>
        </tr>
    </table>          
    
    <br />
    <!-- /TopicStats -->
        <div class="float_right">
            {$multipage}
    
        </div>
        <div class="float_left">
            {$newreply}
        </div>
        <div style='float:right'>
        </div>
        {$ratethread}
        <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
            <tr>
                <td class="thead" colspan="2">
                    <div style="float: left;">
    				    <g:plusone size="standard" expr:href="data:post.url"/>
                        <span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
                    </div>
                    <div>
                        <h1>{$thread['threadprefix']}{$thread['subject']}</h1>             </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>
                        <strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
                    </div>
                </td>
            </tr>
        </table>
        <div class="float_right">
            {$multipage}
        </div>
        <div style="padding-top: 4px;" class="float_left">
            {$newreply}
        </div>
        <br style="clear: both;" />
        {$quickreply}
        {$threadexbox}
        {$similarthreads}{$who_visit_thread}
        <br />
        <div class="float_right">
            <ul class="thread_tools">
                <li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
                <li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
                <li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
            </ul>
        </div>
    
        <div class="float_left" style="text-align: left;">
            {$moderationoptions}
            {$forumjump}
        </div>
        <br style="clear: both;" />
        {$usersbrowsing}
        {$footer}
    </body>
    </html>
     
  6. arshamnhb

    arshamnhb کاربر جدید

    تاریخ عضویت:
    ‏8 فوریه 2012
    ارسال ها:
    8
    تشکر شده:
    0
    همین کارو هم کردم
     
  7. moose

    moose کاربر جدید

    تاریخ عضویت:
    ‏29 دسامبر 2012
    ارسال ها:
    3
    تشکر شده:
    0
    آقا دکمش واسه من نمایش نمیده:019: