View Full Version : request is sql to empty fields Profile
faris_0555
04-19-2012, 03:24 PM
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?
faris_0555
04-19-2012, 05:13 PM
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:
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.
faris_0555
04-19-2012, 06:13 PM
How do I do it!
UPDATE userfield SET field1='', field2='', ... fieldN=''
I enter the command full or what?
I have 9 fields!
Please, clarification
Here's what you'd do for 2 fields (including the original fields that come with vbulletin):
UPDATE userfield SET field1='', field2=''
and for 3 fields it would be this:
UPDATE userfield SET field1='', field2='', field3=''
so you should be able to extend it to 9 fields and/or include whichever fields you want.
faris_0555
04-19-2012, 08:13 PM
Thank you!
Was successful ..
I want to need
discharge Profile Photos
ahmed-samara
04-23-2012, 08:07 AM
Thank you!
Was successful ..
I want to need
discharge Profile Photos
discharge Profile avatar
TRUNCATE avatar;
If you mean photos Another does not advise you of this!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.