![]() |
Query to remove signatures that have links in them for vb4
I just used this to batch remove signatures that have links in them. 95% of them were spam accounts anyway:
Code:
UPDATE usertextfield SET signature=NULL WHERE signature LIKE '%url%'; This will probably work for vb3 as well, but I haven't tested it. |
And a slightly more complex query if you want to remove signatures from a specific user group:
Code:
UPDATE usertextfield AS ut |
How do I just remove ALL signatures from the Registered usergroup?
|
Quote:
Code:
UPDATE usertextfield AS ut I haven't tested this, I would run it as a SELECT statement first to make sure that you are getting the right data, like this: Code:
SELECT * FROM usertextfield AS ut |
Quote:
PHP Code:
But that should work fine if you're using phpmyadmin |
Confirm vBNinja query works tested on navicat
|
Quote:
|
Quote:
|
All times are GMT. The time now is 01:57 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:
|