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)

smirkley 10-10-2015 04:54 PM

Thank you Bop

friendlymela 10-12-2015 10:12 AM

This is nice one.. thanks

lapiervb 10-12-2015 01:41 PM

Can you pick which forums to show this in? Also can you select which usergroups see it?

smirkley 10-12-2015 03:52 PM

Liking this mod.

Anyone have any luck getting this injected into the navbar instead?

friendlymela 10-14-2015 03:46 AM

any latest button for share on social media

smirkley 10-17-2015 06:04 PM

This mod is working good for me.

Anybody figure out how to manually inject this into the navbar beside tabs and in between tabs and search bar?

smirkley 11-14-2015 03:50 PM

I have injected the manual string to put the addthis bar in the main navbar, and adjusted the padding to locate it just before the searchbox.

I cant figure out how to adjust the code or padding to get the addthis bar vertically centered in the main navbar. I need to raise it 10 or so pixels up so it aligns well with the tabs.

Any ideas?

to see what I mean, http://www.ignorancedenied.com

Thanks

smirkley 11-14-2015 04:26 PM

OK, figured it out. Had to edit the more_share_tng template and remove the initial linebreak.

Thanks BOP! Love the addon.

djbaxter 01-24-2017 06:35 PM

Actually using the Gold version but the forum at QAPLA is prettymuch closed.

Recently converted a 4.2.3 forum to SSL/TSL and Chrome now objects to two insecure scripts from this mod:

Code:

  <!-- Twitter -->
 
      <div style="float: left; width: 95px;">
        <a href="https://twitter.com/share" class="twitter-share-button" data-url="https://www.localsearchforum.com/showthread.php?t=43388" data-count="horizontal"    lang="en">Tweet</a>
      </div>
     
        <script id="bop5twt" type="text/javascript">
        (function() {
                var twitterScriptTag = document.createElement('script');
                twitterScriptTag.type = 'text/javascript';
                twitterScriptTag.async = true;
                twitterScriptTag.src = 'http://platform.twitter.com/widgets.js';
                var s = document.getElementsByTagName('script')[0];
                s.parentNode.insertBefore(twitterScriptTag, s);
        })();
        </script>
     
   
  <!-- /Twitter -->

and

Code:

  <!-- Linked In -->
 
    <div style="float: left; margin-left: 15px;"><script type="in/share" data-url="https://www.localsearchforum.com/forum-tech-support/43388-upgrading-forum-ssl-please-let-us-know-if-any-problems.html" data-counter="right"></script></div>
    <script type="text/javascript">
    (function() {
        var sli = document.createElement('script');
        sli.type = 'text/javascript';
        sli.async = true;
        sli.src = 'http://platform.linkedin.com/in.js';
        var lix = document.getElementsByTagName('script')[0];
        lix.parentNode.insertBefore(sli, lix);
    })();
    </script>
 
  <!-- /Linked In -->

Any idea what to edit to convert these to https:// ???

pokesph 01-24-2017 07:32 PM

Easy fix..
Change
Code:

twitterScriptTag.src = 'http://platform.twitter.com/widgets.js';
and
Code:

sli.src = 'http://platform.linkedin.com/in.js';
to reflect https URLs


All times are GMT. The time now is 08:12 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.01634 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)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