Thread: Show Thread Enhancements - Twitter - Tweet Button in SHOWTHREAD
View Single Post
  #53  
Old 08-24-2010, 10:16 AM
Alucard^'s Avatar
Alucard^ Alucard^ is offline
 
Join Date: Feb 2008
Location: Argentina
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If i am not wrong this is the code that you want:

PHP Code:
{vb:stylevar htmldoctype}
<
html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<
head>
    {
vb:raw headinclude}
    <
vb:if condition="$threadinfo['keywords']"><meta name="keywords" content="{vb:raw threadinfo.keywords}" /></vb:if>
    <
meta name="description" content="{vb:raw thread.meta_description}" />

    <
title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title}</title>
    <
link rel="canonical" href="{vb:raw thread_url}" />
    <
vb:if condition="$show['reputation']">
    <
script type="text/javascript" src="clientscript/vbulletin-ajax-reputation.js?v={vb:raw vboptions.simpleversion}"></script>
    </
vb:if>
    <
script type="text/javascript" src="clientscript/vbulletin_textedit.js?v={vb:raw vboptions.simpleversion}"></script>
    <
script type="text/javascript" src="clientscript/vbulletin_post_loader.js?v={vb:raw vboptions.simpleversion}"></script>
    <
vb:if condition="$show['threadrating']">
    <
script type="text/javascript" src="clientscript/vbulletin_ajax_threadrate.js?v={vb:raw vboptions.simpleversion}"></script>
    </
vb:if>
    <
vb:if condition="$show['multiquote_global']">
    <
script type="text/javascript" src="clientscript/vbulletin_multi_quote.js?v={vb:raw vboptions.simpleversion}"></script>
    </
vb:if>
    <
vb:if condition="$show['quickedit']">
    <
script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script>
    <
script type="text/javascript" src="clientscript/vbulletin_quick_edit.js?v={vb:raw vboptions.simpleversion}"></script>
    </
vb:if>
    <
vb:if condition="$show['quickreply']">
    <
script type="text/javascript" src="clientscript/vbulletin_quick_reply.js?v={vb:raw vboptions.simpleversion}"></script>
    </
vb:if>
    <
vb:if condition="$show['manage_tag']">
    <
script type="text/javascript" src="clientscript/vbulletin_ajax_taglist.js?v={vb:raw vboptions.simpleversion}"></script>
    <
script type="text/javascript" src="clientscript/vbulletin_ajax_suggest.js?v={vb:raw vboptions.simpleversion}"></script>
    </
vb:if>
    <
vb:if condition="$show['lightbox']">
        <
script type="text/javascript" src="clientscript/vbulletin_lightbox.js?v={vb:raw vboptions.simpleversion}"></script>
    </
vb:if>

    <
vb:if condition="$vboptions['storecssasfile']">
        {
vb:cssfile showthread-rollup.css}
    <
vb:else />
        {
vb:cssfile postlist.css,showthread.css,postbit.css,attachment.css,poll.css,lightbox.css}
    </
vb:if>

{
vb:raw headinclude_bottom}
</
head>

<
body<vb:if condition="$onload"onload="{vb:raw onload}"</vb:if>>

{
vb:raw header}
{
vb:raw navbar}
{
vb:raw template_hook.showthread_above_posts}
{
vb:raw poll}

    <
div id="above_postlist" class="above_postlist">
        <
vb:if condition="$show['largereplybutton']">
            <
a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1" 
class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
            <
img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif"  alt="" />
        </
vb:if>

        <
div id="pagination_top" class="pagination_top">

<
vb:if condition="!in_array($GLOBALS[forumid], array(191, 192, 217, 114, 216))">
<
div align="right" style="height:27px;">
<
a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Compartir</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript">
</
script>
<
a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="nvnetgroup">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</
div>
</
vb:if>


        <
vb:if condition="$pagenav">
            {
vb:raw pagenav}
        </
vb:if>
            <
div id="postpagestats_above" class="postpagestats">
                {
vb:rawphrase showing_results_x_to_y_of_z, {vb:raw pagenumbers.first}, {vb:raw pagenumbers.last}, {vb:raw totalposts}}
            </
div>
        </
div>
    </
div>
<
div id="pagetitle" class="pagetitle">
    <
h1>
        {
vb:rawphrase thread}: <span class="threadtitle"><a href="{vb:raw thread_url}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span>
        <
vb:if condition="$show['fb_likebutton']">
            {
vb:raw fblikebutton}
        </
vb:if>
    </
h1>
</
div>
    <
div id="thread_controls" class="thread_controls">
        <
div>

        <
ul id="postlist_popups" class="postlist_popups popupgroup">

            <
vb:if condition="$show['firstunreadlink']">
            <
li class="popupmenu"><h6><class="firstunread" href="{vb:raw firstunread}">{vb:rawphrase view_first_unread} </a></h6></li>
            </
vb:if>
            <
li class="popupmenu" id="threadtools">
                <
h6><class="popupctrl" href="javascript://">{vb:rawphrase thread_tools}</a></h6>
                <
ul class="popupbody popuphover">
                    <
li><a href="printthread.php?{vb:raw session.sessionurl}t={vb:raw threadid}<vb:if condition="$perpage">&amp;pp={vb:raw perpage}</vb:if><vb:if condition="$pagenumber">&amp;page={vb:raw pagenumber}</vb:if>" accesskey="3" 
                        
rel="nofollow">{vb:rawphrase show_printable_version}</a></li>
                    <
li><a href="sendmessage.php?{vb:raw session.sessionurl}do=sendtofriend&amp;t={vb:raw threadid}"
                        
rel="nofollow">{vb:rawphrase email_this_page}&hellip;</a></li>
                    <
li>
                        <
vb:if condition="$show['subscribed']">
                            <
a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;t={vb:raw threadid}" 
                                
rel="nofollow">{vb:rawphrase unsubscribe_from_this_thread}</a>
                        <
vb:else />
                            <
a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;t={vb:raw threadid}" 
                                
rel="nofollow">{vb:rawphrase subscribe_to_this_thread}&hellip;</a>
                        </
vb:if>                    
                    </
li>
                    <
vb:if condition="$show['addpoll']"
Thanks.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01668 seconds
  • Memory Usage 1,908KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete