The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'd like to NULL user signatures which contain [img] tags for "regular users". I have a query:
Code:
SELECT u.userid, u.username, t. * FROM usertextfield t LEFT JOIN user u ON u.userid = t.userid WHERE t.signature LIKE '%[img]%' AND u.usergroupid=2 Is there a way to combine an UPDATE with the results on this query without writing a script? UPDATE Well, after playing around I finally got this to work: Code:
update user,usertextfield set usertextfield.signature=NULL where user.userid=usertextfield.userid AND usertextfield.signature LIKE '%[img]%' AND user.usergroupid=2; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|