![]() |
Search and Replace in post and user table
This hack do a simple search and replace over your post table (pagetext column) and user table (signature column).
I needed to run a search and replace on an old URL we were using and find the replace query for it and put a little frontend around it. Please feel free to add your comments on this. Its tested on a vB 2.2.5 with about ~2000 user and ~410000 posts. If you like to add it to your admin CP open index.php and find: PHP Code:
PHP Code:
THIS HACKS DOES A SEARCH AND REPLACE OVER YOUR POST AND USER TABLE!!! DON'T USE THIS HACK IF YOU DON'T HAVE A BACKUP OF YOUR DATABASE! I'M NOT RESPONSIBLE FOR ANY DAMAGE YOU PUT TO YOUR DATABASE BY USING THIS HACK!!! |
Sreenshot
|
not bad sisko, i'm sure many users can use this
|
I know I certainly want this. Thank you! Will use it later tonight..
|
im a bit confused as to what this does...?
|
This is cool for updating redundant smilie code. :D
|
Quote:
I love it. |
I searched so long for this hack! We've imported Posts from a DCForum, so we have a many bad urls........
thx thx thx! Great Hack!! |
Cool:)
Satan |
the_Sisko
I have always wanted this .. i need to do mass Find/Replace for tags that i used once but not any more .. a BIG Thank You .. * installs * |
All times are GMT. The time now is 12:15 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:
|