Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


Pasting Code into tag of site

edited April 2012 in Questions

I'm trying to paste code into my forum and was told I needed to place it:

before the tag of your site's HTML file

Does anyone know where that would be in Vanilla Forums?

Really appreciate any help.

Cheers Michael

Tagged:

Best Answers

  • x00x00 MVP
    edited April 2012 Answer ✓

    Get the pockets plugin and enable it. Then go to plugin/pockets/add

    1. Name

    2. enter in Body:

    <script type="text/javascript" charset="utf-8">
       var _btq = _btq || [];
       var _punchtab_settings_badges = {
         key: "15b7d6babf70b0b7eb6f1ebf3564d914",
         position: {x: "right", y: "top"}
       };
     
       (function() {
         var pt = document.createElement('script'); pt.type = 'text/javascript'; pt.async = true;
         pt.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.punchtab.com/js/pb.js';
         var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pt, s);
       })();
    </script>
    
    1. Select Head

    2. Select Before

    3. Save

    grep is your friend.

    mikeymccoy
  • x00x00 MVP
    Answer ✓

    that is just showing you where you can insert the pockets, you need to hide them

    plugin/pockets/hidelocations

    grep is your friend.

    mikeymccoy

Answers

Sign In or Register to comment.