Dragonfly CMS v9 ⇒ CPG-BB (forum) :: Archives ⇒ How can I get this to show... :: Archived ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index Modules & Blocks CPG-BB (forum) ⇒ Archives

Archived ⇒ How can I get this to show...


Hello,

I have HTML turned on in my forums, but I need to know how to get the following to display correctly. At the moment it just comes out as you see it here...


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="198" height="260" id="Nike+ Runs" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="wmode" value="transparent" /><param name="movie" value="http://nikeplus.nike.com/nikeplus/v1/swf/scrapablewidget/challenge.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="FlashVars" value="type=scrapeChallenge&userDefaultUnit=km&screenName=Banksy&dateFormat=DD/MM/YY&versionNum=2.0&id=1022625825&region=emea&language=en&locale=en_gb"/><embed src="http://nikeplus.nike.com/nikeplus/v1/swf/scrapablewidget/challenge.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="198" height="260" name="Nike+ Runs" align="middle" allowScriptAccess="sameDomain" FlashVars="type=scrapeChallenge&userDefaultUnit=km&screenName=Banksy&dateFormat=DD/MM/YY&versionNum=2.0&id=1022625825&region=emea&language=en&locale=en_gb" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>


Thanks,

Michael

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / MySQL 5.0.51-log / PHP 4.4.7 / DF 9.1.2.1


Use bbcode to display flash - you are opening your site up to hackers if you start allowing that degree of html in your forums.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
linux / apache 2.2.22 / mysqli 5.6.34 / 7.1.22 / 10.0.48.9418+


Phoenix wrote
Use bbcode to display flash - you are opening your site up to hackers if you start allowing that degree of html in your forums.


OK, thanks for the tip. How do I do that??

Michael

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / MySQL 5.0.51-log / PHP 4.4.7 / DF 9.1.2.1


OK, so I have managed to get this to work using HTML, but I have had to disable BBCode for it to work. When I enabble BBCode, it stops working. Is there a way round this, as I would still like to use BBCode in the forums.

Thanks,

Michael

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / MySQL 5.0.51-log / PHP 4.4.7 / DF 9.1.2.1


You can't have it both ways - I hope the hackers don't find you.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
linux / apache 2.2.22 / mysqli 5.6.34 / 7.1.22 / 10.0.48.9418+


Phoenix wrote
You can't have it both ways - I hope the hackers don't find you.


Can I just ask why it is such a security risk???

Michael

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / MySQL 5.0.51-log / PHP 4.4.7 / DF 9.1.2.1


Suffice to say, unless you know all about exploits (and I don't), you should not be enabling various html tags on your site - choice is always yours.

bbcode provides a mechanism for safely displaying flash, as far as we know at this point in time.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
linux / apache 2.2.22 / mysqli 5.6.34 / 7.1.22 / 10.0.48.9418+


OK, bit how do I display the above code using BBCode?? It has lots of perameters I need to display it correctly, and as far as I am aware this cannot be achieved with BBCode. Please correct me if I am wrong???

Michael

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux / MySQL 5.0.51-log / PHP 4.4.7 / DF 9.1.2.1

All times are UTC