MyBB Community Forums

Full Version: changing code tag to quote tag
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, on my forum I'm using [quote] tag for posting urls so then links can be click-able. but the prob is before I used to work with [code] tag and now I want to change all my older posts [code] tag to [quote] tag. is there any way of doing it through the setting?

mybb version is 1.6.0
You mean change any previous posts that contain [code] to change to [quote]?
[quote='david42' pid='687131' dateline='1305106128']
You mean change any previous posts that contain [code] to change to
Quote:?
yes! and for the future 1s too! (coz some uploaders are using mutli poster and they use code tag for sending links) then they also should change automatically to [quote] tag or
make code links to be active!
If you never use code tags on your forum and don't mind that ALL your code tags get replaced with quote tags, you can run this query in phpMyAdmin:
UPDATE mybb_posts SET message = REPLACE(message, "[code]", "[quote]"), message = REPLACE(message, "[/code]", "[/quote]")
Depends on how badly you need the
 tag now, but i know one fix!

Go to admin cp >> Configuration >> Word Filters

And just add [code] to be replaced with [quote] and add another entry as 
to be replaced with [/quote]
Ive suggested exactly the same thing as Ares, just in a different way.
(2011-05-11, 09:45 AM)david42 Wrote: [ -> ]Depends on how badly you need the
 tag now, but i know one fix!

Go to admin cp >> Configuration >> Word Filters

And just add [code] to be replaced with [quote] and add another entry as 
to be replaced with

Ive suggested exactly the same thing as Ares, just in a different way.
[/quote]
thats a charm! he hee!

Anyway of doing "code" to be active links?
(2011-05-11, 09:54 AM)visionx Wrote: [ -> ]Anyway of doing "code" to be active links?

What do you mean exactly?
Aries-Belgium
I mean like this
www.google.com 

Quote:www.google.com
click able links in code tag

'david42'
tryed ur way but some posts still wont change
check this out
http://www.1linkz.info/forum/showthread.php?tid=3906