ygor.almeida Posted October 9, 2013 Share Posted October 9, 2013 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.