vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons (https://vborg.vbsupport.ru/showthread.php?t=266159)

odln018 07-20-2011 04:57 PM

I'm using 4.1.4 PL 2.

I'm not even able to get the Facebook connect button to show up, either in my custom style or the default.

odln018 07-20-2011 05:28 PM

OK, disregard, I did two things. I double checked my facebook app settings, INCLUDING click on the "Web" item on the left, and filling that information out.

onegawd 07-20-2011 05:54 PM

Quote:

Originally Posted by odln018 (Post 2222960)
OK, disregard, I did two things. I double checked my facebook app settings, INCLUDING click on the "Web" item on the left, and filling that information out.

Ah, different problem then me then.

The "web" section on the facebook app wasnt filled out, but I just did that and still no go with the mod showing up.

Although my scenario is different cause my facebook stuff does show up.

BirdOPrey5 07-20-2011 11:16 PM

I'm trying to figure out what could case nothing at all to show without any kind of error... very weird indeed.

Can you guys confirm the existence of the more_share_options template in your styles and that is isn't empty?

onegawd 07-21-2011 12:23 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2223050)
I'm trying to figure out what could case nothing at all to show without any kind of error... very weird indeed.

Can you guys confirm the existence of the more_share_options template in your styles and that is isn't empty?

Yup, It's there and not empty.

HTML 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=


odln018 07-21-2011 12:24 AM

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 -->


onegawd 07-21-2011 12:26 AM

hey, you got way more in your template then mine, lol.

hilaryl 07-21-2011 02:18 AM

Can this mod be set to just display in blog posts and not in forum threads (even if they are publically viewable sections) or member profiles?

onegawd 07-21-2011 08:44 AM

I uninstalled and reinstalled, my template file still looks incomplete like how i posted above.

BirdOPrey5 07-21-2011 11:28 AM

Quote:

Originally Posted by onegawd (Post 2223065)
hey, you got way more in your template then mine, lol.

Quote:

Originally Posted by onegawd (Post 2223133)
I uninstalled and reinstalled, my template file still looks incomplete like how i posted above.

You might have a corrupted install file... Download a new copy, preferably using a different browser and try to install that way.

if the template still isn't full just copy and paste the full template odln018 posted in and see if it works- but you probably have bigger problems then just the template.

Quote:

Originally Posted by hilaryl (Post 2223083)
Can this mod be set to just display in blog posts and not in forum threads (even if they are publically viewable sections) or member profiles?

Yes, you can individually enable or disable more share options in each location (except albums and pictures are both or neither.)


All times are GMT. The time now is 08:11 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05332 seconds
  • Memory Usage 1,816KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete