Announcement

Collapse
No announcement yet.

Is it possible to implement outbrain CMS widget for Vbulletin CMS?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] Is it possible to implement outbrain CMS widget for Vbulletin CMS?

    Is it possible to implement outbrain widget for Vbulletin CMS - http://www.outbrain.com/getwidget?ut...ampaign=widget
    If yes please tell me where I need to put the code in vbulletin?
    PolicyWala.com | Insurance Discussion Forum | Indian Insurance

  • #2
    This vbulletin website already implmented outbrain - http://www.1weddingsource.com/conten...g-caterer-793/
    PolicyWala.com | Insurance Discussion Forum | Indian Insurance

    Comment


    • #3
      outbrain > configure widget options > select javascript > get code

      make some changes in it as outbrain suggests.


      Go to admincp > widgets > add new widget > select HTML
      copy paste the outbrain widget code. add your widget to your layout.

      Comment


      • #4
        Thanks CpV!
        But is it possible to add the above code in the cms article templete.
        PolicyWala.com | Insurance Discussion Forum | Indian Insurance

        Comment


        • #5
          admincp > vbcms > permissions > enable HTML

          then when posting article, enable HTML form right panel, and just copy paste the code.


          Warning: Enabling HTML for not 100% trusted users is an extremely bad idea and can cost you dearly.

          Comment


          • #6
            How to add below outbrain script after every article. I have given user HTML permission in CMS. And while saving with 'HTML On - Don't Convert Linebreaks' option. It's giving me error (nothing is coming up after saving it, whole article body is gone).
            HTML Code:
            <script language='JavaScript'>var OB_langJS = 'http://widgets.outbrain.com/lang_en.js'; var OBITm = '1319637824257';var OB_raterMode = 'none';var OB_recMode = 'strip'; var OutbrainPermaLink='http://www.policywala.com/article';  if ( typeof(OB_Script)!='undefined' )OutbrainStart(); else { var OB_Script = true; var str = unescape(""); document.write(str); } </script>
            my website - http://www.policywala.com/
            Please guide how to solve above issue. Nobody is answering on vbulletin.org (http://www.vbulletin.org/forum/showthread.php?t=273896)
            PolicyWala.com | Insurance Discussion Forum | Indian Insurance

            Comment


            • #7
              try pasting that code in non-wysiwyg editor mode.

              Comment


              • #8
                Originally posted by CvP View Post
                try pasting that code in non-wysiwyg editor mode.
                Still same issue. Non-WYSIWYG editor mode (a/A button at top left). Also, on the right side, selected HTML - don't convert line breaks.Code used -
                HTML Code:
                <script language='JavaScript'>var OB_langJS = 'http://widgets.outbrain.com/lang_en.js'; var OBITm = '1319637824257';var OB_raterMode = 'none';var OB_recMode = 'strip'; var OutbrainPermaLink='http://www.policywala.com/content.php/356-HDFC-Life-launches-online-term-plan-Click-2-Protect';  if ( typeof(OB_Script)!='undefined' )OutbrainStart(); else { var OB_Script = true; var str = unescape(""); document.write(str); } </script>
                PolicyWala.com | Insurance Discussion Forum | Indian Insurance

                Comment


                • #9
                  If you want to add it to every article, why not just place that code into the article template?

                  Comment


                  • #10
                    Originally posted by bszopi View Post
                    If you want to add it to every article, why not just place that code into the article template?
                    Bszopi - Please guide me how to add in the article template?
                    PolicyWala.com | Insurance Discussion Forum | Indian Insurance

                    Comment


                    • #11
                      admincp > style > edit template > vbcms_content_article_page

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...
                      X