![]() |
request is sql to empty fields Profile
Hello
I need the Implementation is the sql Discharge fields Profile to all Members! Is it possible to get this code! Wait |
Are you saying you want to erase all users profile fields?
|
Yes, I want to do a dump of all the fields!
|
OK, so you want to reset the values, not remove the fields themselves (you'd do that through the profile field manager in the admincp). Anyway, it would be something like:
Code:
UPDATE userfield SET field1='', field2='', ... fieldN='' where you'd list the fields you want to erase, of course. Use with caution! If there's any doubt, you should make a backup of your database first. |
How do I do it!
Code:
UPDATE userfield SET field1='', field2='', ... fieldN='' I have 9 fields! Please, clarification |
Here's what you'd do for 2 fields (including the original fields that come with vbulletin):
Code:
UPDATE userfield SET field1='', field2='' and for 3 fields it would be this: Code:
UPDATE userfield SET field1='', field2='', field3='' so you should be able to extend it to 9 fields and/or include whichever fields you want. |
Thank you!
Was successful .. I want to need discharge Profile Photos |
Quote:
Code:
TRUNCATE avatar; |
All times are GMT. The time now is 04:14 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:
|