ColdFusion BBCode routines

2014-08-10 Thread UXB
I was wondering if anyone has some battle tested BBCode routines to convert BBcode to html and one to covert the HTML created back to BBcode? I have inherited a forum that has rolled its own BBcode <> Html routines and the kiddies are finding ways to imbed scripts into the various BBCode routines

Re: CF9 to CF11 cfscript

2014-08-10 Thread Adam Cameron
You know CFML has had the sleep() function (which does what your code does) built-in since CF8, right? Your issue is probaby that "thread" is a keyword in CF9+. Replace your code with: sleep(4000); Wanting the page to pause whilst data is entered into the DB is an odd thing... given DB operati

CF9 to CF11 cfscript

2014-08-10 Thread Rob Voyle
Hi folks Migrating from cf9 to cf11 thread = CreateObject("java", "java.lang.Thread"); thread.sleep(4000); is now giving an error message "invalid token" What should the syntax be. I simply want the page to pause while data is entered into a database. Thanks Rob ~