Facebook and Twitter buttons on AdSenseExperts?

(written by engineer)

Hi,

i like the way you put the facebook and twiter buttons and i want to know how and where to put the codes please on showthread ?

Best regards

This entry was posted in Chat Corner and tagged , , , . Bookmark the permalink.

12 Responses to Facebook and Twitter buttons on AdSenseExperts?

  1. admin says:
    In SHOWTHREAD find
    <ul id="postlist_popups" class="postlist_popups popupgroup">
    add below:
    <li class="popupmenu">
    <a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="AdSenseExperts">Tweet</a><script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script></li>
    <li class="popupmenu"><script src="https://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="" layout="button_count" show_faces="false" width="90" font="arial"></fb:like></li>
    
    • engineer says:
      Thank you admin i will test it !
  2. admin says:
    Changed it so that the buttons are loaded last and moved the position.

    What do you think?
  3. engineer says:
    Hello !

    i like the new position of the social buttons (beside) ! i think we can get more shares and likes on the social netwoks did you use a special pluging for that ?
  4. admin says:
    No, wrote it myself. It isn't that complicated ;)
    • engineer says:
      No, wrote it myself. It isn't that complicated ;)

      for me yes :p its very usefull, you added the code to the thread display template file ?
  5. admin says:
    So far, no :) But can't hurt much either though :p

    If you want the code for my implementation for vBulletin 4.x

    in additional.css add:
    /* Social Bookmarks */
    .socialbookies { 
      background:#FEFFF7; 
      border:1px solid #d7dee3; 
      padding-top: 3px; 
      padding:5px 14px; 
      -webkit-border-radius: 8px; 
      -moz-border-radius: 8px; 
      border-radius: 8px; 
      position:fixed; 
      left:20px; 
      bottom:70px; 
      z-index:1000; 
    }
    in templates forumhome, forumdisplay and showthread find:
    {vb:raw footer}
    and add above:
    <div class="socialbookies">
    <g:plusone size="tall"></g:plusone><br /><br />
    <a href="https://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="YOURNAME">Tweet</a><script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script><br /><br />
    <div id="fb-root"></div><script src="https://connect.facebook.net/en_US/all.js#appId=YOUR-FACEBOOK-APP-ID&amp;xfbml=1"></script><fb:like href="" send="false" layout="box_count" width="50" show_faces="false" font="verdana"></fb:like><br /><br />
    <a href="https://twitter.com/YOURTWITTERACCOUNT" target="new" title="Follow YOURNAME on Twitter"><img src="./images/twitter_follow_vs.png" width="50px" height="38px" alt="Follow YOURNAME on Twitter" /></a>
    </div>
    for the Google +1 also in template headinclude_bottom find:
    {vb:raw template_hook.headinclude_bottom_css}
    and add below:
    <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
    Of course you need to change the codes of the buttons to fit your page ;)
  6. engineer says:
    All that code !:p thank you man ;) i am wondering if that can be added to a full widh style ! that will hide some of the thread content i think dont you ?
  7. admin says:
    on a full width style I would not use it this way.

    I don't run full width forums because Ad performance is lower than on fixed width so I can't help you with that, sorry ;)
  8. engineer says:
    you think that fixed width are more performant ? i am using a full widh one and my adsense earnings are not soo bad :) i will try a fixed version on my next IPBoard forum ! thank you again admin :)
  9. admin says:
    Yes I do/know and you are welcome ;)
  10. engineer says:
    Hello,

    i'd add that on my IPB forum and its work perfectly,
    why you did not use it on topics pages ? is more usefull to share threads

Leave a Reply

Your email address will not be published. Required fields are marked *

*