Jump to content
HWBOT Community Forums

ygor.almeida

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by ygor.almeida

  1. Hi Guys,

     

    Since the last update form vBulletin 4.2.1, 4.2.2 and 5.x - I'm not able any more to add the BBCode replacement on my forums.

     

    While trying to create the new code, i got the error above.

     

    The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
    
       <script type="text/javascript"> var _hwbtarget = 'hwb_' + Math.round((Math.random() * 100000)); document.write("<div id='"+ _hwbtarget +"'><img src='http://HWBOT.org/img/loader.gif' alt='loading'/> Loading…</div>"); // uncomment for custom css // var _hwbcss = "http://HWBOT.org/css/style.external.custom.ocforums.css"; var _hwb = _hwb || []; _hwb.push(['type={param}']); _hwb.push(['params={option}']); _hwb.push([_hwbtarget]); (function() { var hwbex = document.createElement('script'); hwbex.type = 'text/javascript'; hwbex.async = true; hwbex.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'HWBOT.org/js/exf2.js'; var s = document.getElementById(_hwbtarget); s.parentNode.insertBefore(hwbex, s); })(); </script>
    

     

    The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

     

    It claims that

    _hwb.push(['type={param}']); 
    _hwb.push(['params={option}']);
    

     

    Needs to be double Quoted

    I've tried several combinations - that allows the code to be parsed and inserted without error - but the code does not work.

     

    Can anyone help to proper integrate it over the forum Again.

    I'm in charge of Administration for http://www.criminalcafe.com - that represents the CriminalCafe Team - and PcCI2iminal‎ as the Admin of the Team and a well known overclocker from Japan.

     

    Thanks and BR for all guys

  2. Hi

    I'm trying to get it installed on vBulletin 4.2.1 and it seems i cannot make it working.

    Looks

     

    The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.
    
       <script type="text/javascript"> var _hwbtarget = 'hwb_' + Math.round((Math.random() * 100000)); document.write("<div id='"+ _hwbtarget +"'><img src='http://HWBOT.org/img/loader.gif' alt='loading'/> Loading…</div>"); // uncomment for custom css // var _hwbcss = "http://HWBOT.org/css/style.external.custom.ocforums.css"; var _hwb = _hwb || []; _hwb.push(['type={param}']); _hwb.push(['params={option}']); _hwb.push([_hwbtarget]); (function() { var hwbex = document.createElement('script'); hwbex.type = 'text/javascript'; hwbex.async = true; hwbex.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'HWBOT.org/js/exf2.js'; var s = document.getElementById(_hwbtarget); s.parentNode.insertBefore(hwbex, s); })(); </script>
    

     

    I've tried to fix it but even if i put double quotes in param and option - nothing happens and a i cannot post or see any results in forum.

    What its wrong !?

×
×
  • Create New...