![]() |
The change in [CODE] to [code] in the entire database
Just like in the topic, what do I need to send a query to the database to change already existing posts in [CODE] (capitalized) in the tags [code] (written with a little)? Since the modification of the downloaded code markup to cover up for not logged users, while the code is not visible to everyone.
|
I think something like:
Code:
UPDATE post I tried this on my test site, but I'm not an expert in SQL or anything really so I would highly recommend backing up your database first. |
It's not working... :(
|
Did you remove the underscores and add your table prefix?
If you did then I don't know, I tried it and it worked for me. I did have an issue where it didn't show up right away, I think because of post caching. Also, you would have to run a second query to change the [/code] tags but technically you didn't ask about that. :) |
Oh, yes, thanks that's working!
And one more question: Where can I change option: if I click sharp/mark it will display [*code] not [*CODE] as it is by design? Thank you! |
All times are GMT. The time now is 02:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|