View Single Post
  #157  
Old 07-21-2011, 12:24 AM
odln018's Avatar
odln018 odln018 is offline
 
Join Date: Mar 2006
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I was able to get my facebook thing to show up, but it's only showing the "like" button. I tried to enable Google +1, but there is nothing showing up.

Here are the contents of my more_share_options template.

If you'd like access to my forum for troubleshooting, let me know.

Code:
<!-- More Share Options by BOP5 Start -->

<!-- Alignment and Setup. Do not edit this. -->

<div class="bop5share" style="<vb:if condition="($bopright == 2 AND THIS_SCRIPT=='showthread') OR (THIS_SCRIPT=='album' AND $boppics == 2) OR (THIS_SCRIPT=='member' AND $bopprofiles == 2) OR (THIS_SCRIPT=='index' AND ($vboptions['bop5more_home'] == 2 OR $vboptions['bop5more_home'] == 4))">float:right;<vb:else /><vb:if condition="THIS_SCRIPT=='album'">float:left;</vb:if></vb:if><vb:if condition="THIS_SCRIPT=='member' AND $bopprofiles == 2"> margin-bottom:5px;</vb:if><vb:if condition="THIS_SCRIPT=='index' AND $vboptions['bop5more_home'] == 1"> margin-top:10px;</vb:if><vb:if condition="THIS_SCRIPT=='index' AND ($vboptions['bop5more_home'] == 3 OR $vboptions['bop5more_home'] == 4)"> margin-top:20px;</vb:if>">

<table border="0" style="padding:1px;"><tr>

<vb:if condition="THIS_SCRIPT=='member'"><td width="20">&nbsp;</td></vb:if>

<!-- End Alignment and Setup. -->

<!-- Facebook Like/Recommend START -->

<vb:if condition="$vboptions['bop5more_fbtype'] == 1">
<td>
<fb:like href="{vb:raw bophref}" font="tahoma" layout="standard" send="false" show_faces="false" width="260" action="like" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 2">
<td>
<fb:like href="{vb:raw bophref}" font="tahoma" layout="button_count" send="false" show_faces="false" action="like" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 5">
<td>
<fb:like href="{vb:raw bophref}" font="tahoma" layout="standard" send="false" show_faces="false" width="350" action="recommend" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 6">
<td width="125">
<fb:like href="{vb:raw bophref}" font="tahoma" layout="button_count" send="false" show_faces="false" action="recommend" colorscheme="{vb:raw boplord}"></fb:like>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 99">
<td>
<div align="center" width="280" style="float:left;">
<iframe id="fb_likeframe" src="http://www.facebook.com/plugins/like.php?href={vb:raw bophrefen}&amp;layout=standard&amp;show_faces=false&amp;width=260&amp;action=like&amp;font=tahoma&amp;colorscheme={vb:raw boplord}&amp;height=27" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
</td>
</vb:if>

<vb:if condition="$vboptions['bop5more_fbtype'] == 90">
<td>
<script>function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}</script><style> html .fb_share_button { display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://static.ak.facebook.com/images/share/facebook_share_icon.gif?6:26981) no-repeat top right; } html .fb_share_button:hover { color:#fff; border-color:#295582; background:#3b5998 url(http://static.ak.facebook.com/images/share/facebook_share_icon.gif?6:26981) no-repeat top right; text-decoration:none; } </style> <a rel="nofollow" href="http://www.facebook.com/share.php?u={vb:raw bophrefen}" class="fb_share_button" onclick="return fbs_click()" target="_blank" style="text-decoration:none;">Share</a>
</td>
<td width="10">&nbsp;</td>
</vb:if>

<!-- Facebook Like/Recommend END -->
<!-- Facebook Send START -->

<vb:if condition="$bopfbsend == 'true'">
<td>
<fb:send <vb:if condition="$bophref">href=”{vb:raw bophref}”</vb:if> font=”tahoma" colorscheme="{vb:raw boplord}"></fb:send>
</td>
<td>&nbsp;&nbsp;&nbsp;</td>
</vb:if>

<!-- Facebook Send END -->
<!-- Twitter Tweet START -->

<vb:if condition="$boptwit">
<td>
<a href="http://twitter.com/share" class="twitter-share-button" data-count="<vb:if condition="$boptwit == 2">none<vb:else />horizontal</vb:if>" data-via="{vb:raw boptwitname}" data-related="{vb:raw boptwitname2}" data-url="{vb:raw bophref}" lang="en">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</td>
<vb:if condition="($boptwit == 2 AND !$bopdigg AND !$bopgoog AND !$bopsutype AND !$boplinkedin AND $bopaddthis == 2) OR ($boptwit == 2 AND !$bopdigg AND !$bopgoog AND $bopsutype) OR ($boptwit == 2 AND !$bopdigg AND !$bopgoog AND !$bopsutype AND $boplinkedin) OR ($boptwit == 2 AND (THIS_SCRIPT != 'index' OR $vboptions['bop5more_home'] != 5))"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</vb:if>

<!-- Twitter Tweet END -->
<!-- Digg START -->

<vb:if condition="$bopdigg">
<td>
<div style="position:relative; top:0px; left:0px;">
<script type="text/javascript">
(function() {
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://widgets.digg.com/buttons.js';
s1.parentNode.insertBefore(s, s1);
})();</script>
<a class="DiggThisButton Digg<vb:if condition="$bopdigg == 1">Compact<vb:else />Icon</vb:if>" href="http://digg.com/submit?url={vb:raw bophrefen}"></a>
</div>
</td>
<vb:if condition="(($bopsutype AND !$bopgoog) OR (!$bopsutype AND $boplinkedin AND !$bopgoog) OR (!$bopsutype AND !$boplinkedin AND $bopaddthis == 2 AND !$bopgoog) OR ($bopdigg AND (THIS_SCRIPT != 'index' OR $vboptions['bop5more_home'] != 5)))"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</vb:if>

<!-- Digg END -->
<!-- Google+1 START -->

<vb:if condition="$bopgoog">
<td>
<div>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone size="medium" style="width:70px;" count="<vb:if condition="$bopgoog == 2">false<vb:else />true</vb:if>" href="{vb:raw bophref}"></g:plusone>
</div>
</td>
<vb:if condition="$bopgoog == 2"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</vb:if>

<!-- Google+1 END -->
<!-- StumbleUpon START -->

<vb:if condition="$bopsutype">
<td>
<script src="http://www.stumbleupon.com/hostedbadge.php?s={vb:raw bopsutype}&r={vb:raw bophrefen}"></script>
<vb:if condition="$boplinkedin OR $bopaddthis == 2"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</td>
<vb:if condition="(!$boplinkedin == 2 AND (THIS_SCRIPT != 'index' OR $vboptions['bop5more_home'] != 5))"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</vb:if>

<!-- StumbleUpon END -->
<!-- Linked In START -->

<vb:if condition="$boplinkedin">
<td>
<script type="text/javascript" src="http://platform.linkedin.com/in.js"></script><script type="in/share" data-url="{vb:raw bophref}" <vb:if condition="$boplinkedin == 1">data-counter="right"</vb:if>></script>
<vb:if condition="$bopaddthis == 2  OR ($bopaddthis AND (THIS_SCRIPT != 'index' OR $vboptions['bop5more_home'] != 5))"><td>&nbsp;&nbsp;&nbsp;</td></vb:if>
</td>
</vb:if>

<!-- Linked In END -->
<!-- AddThis START -->

<vb:if condition="$bopaddthis">
<vb:if condition="$bopaddthis == 1">
<td>
<div class="addthis_toolbox addthis_default_style " addthis:url="{vb:raw bophref}">
<a class="addthis_counter addthis_pill_style"></a></div></div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid={vb:raw bopaddthisid}"></script>
<script type="text/javascript">
window.onerror = null;
var addthis_config = {
     services_exclude: 'print<vb:if condition="$vboptions['bop5more_fbtype']">, facebook</vb:if><vb:if condition="$boptwit">, twitter</vb:if><vb:if condition="$bopdigg">, digg</vb:if><vb:if condition="$bopsutype">, stumbleupon</vb:if>'
}
</script>
</td>
<vb:else />
<td>
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pubid={vb:raw bopaddthisid}"><img src="{vb:raw vboptions.bburl}/images/misc/addthis_button.png" alt="Bookmark and Share" style="border:0; position:relative; top:-1px;"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid={vb:raw bopaddthisid}"></script>
<script type="text/javascript">
window.onerror = null;
var addthis_config = {
     services_exclude: 'print,<vb:if condition="$vboptions['bop5more_fbtype']">, facebook</vb:if><vb:if condition="$boptwit">, twitter</vb:if><vb:if condition="$bopdigg">, digg</vb:if><vb:if condition="$bopsutype">, stumbleupon</vb:if>'
}
</script>
</td>
</vb:if>
</vb:if>

<!-- AddThis END -->
<!-- DO NOT EDIT BELOW THIS LINE -->

</tr></table>

<vb:if condition="$bopfbold">
<span id="fb-root"></span><script src="http://connect.facebook.net/en_US/all.js#appId={vb:raw vboptions.facebookappid}&amp;xfbml=1"></script>
</vb:if>
</div>

<vb:if condition="THIS_SCRIPT=='album' AND $boppics">
<br />&nbsp;
</vb:if>

<!-- More Share Options by BOP5 End -->
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01136 seconds
  • Memory Usage 1,828KB
  • 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_code
  • (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