The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Replace text in all posts....like Replacing Phrases
I have just changed the name of my forum, and also the domain to it, I want to change all of the text in posts to the new name.
You may think its pointless, but people have got links all over the place that wont work anymore. Is there any way I can do this by replacing, like when you search for text in phrases and replace it? |
#2
|
||||
|
||||
to replace text in posts.
Code:
UPDATE post SET pagetext = REPLACE(pagetext,'www.olddomain.com','www.newdomain.com') Code:
UPDATE pmtext SET message = REPLACE(message,'www.olddomain.com','www.newdomain.com') Code:
UPDATE usertextfield SET signature = REPLACE(signature,'www.olddomain.com','www.newdomain.com') |
#3
|
|||
|
|||
Thanks...this is exactly what I was looking for.
I also ran this too: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|