UBB.Dev
Posted By: biketrip How to change thread to allow html - 09/07/2004 12:43 AM
I have a thread created that I cant remove because of some custom code. The thread was created to only allow UBB code. How do I modify an existing thread to allow both UBB and html?
Posted By: Twisty Re: How to change thread to allow html - 09/07/2004 1:29 AM
As far as I know, no threads version has that feature built in, whereby you can edit the markup/HTML selection.

So you'll need to run an SQL query from your admin panel.
Here it is...

UPDATE w3t_Posts
SET B_Convert = "both"
WHERE B_MAIN = ID# OF FIRST POST IN THREAD <--- fill in this number, that's it

For example...

UPDATE w3t_Posts
SET B_Convert = "both"
WHERE B_MAIN = 2902

If any HTML code is already posted in the thread, it won't automatically convert it after doing this btw, unless the person goes back and edits new HTML into their post.

Well that's the theory
Posted By: biketrip Re: How to change thread to allow html - 09/07/2004 1:40 AM
Awesome Twisty, thanks. I'll give er a go
Posted By: biketrip Re: How to change thread to allow html - 09/07/2004 1:44 AM
Yeah, that worked great! Thanks, I'm turning threads into Portals and need to embed some html. The threads are attached to some custom records (Organization records) and that would be harder to debug.
Posted By: Twisty Re: How to change thread to allow html - 09/07/2004 1:48 AM
You're lucky that worked because I don't know what the hell I'm doing!

Just kidding
© UBB.Developers