The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I was wondering if there was a way to inject a specific value into every user's profile via SQL?
I'm using vB3 and have created a new user profile field, with a default value, only problem is only new users have this default value. If someone is able to help me out I'd be more than appreciative. Cheers. |
#2
|
||||
|
||||
![]() Code:
UPDATE userfield SET fieldx = 'value' Change value to whatever value. Or change only those values from users registered before a certain date: Code:
UPDATE userfield SET fieldx = 'value' WHERE user.registered < UNIX_TIMESTAMP(yyyymmdd) LEFT JOIN user USING (userid) |
#3
|
||||
|
||||
![]()
Nevermind, everything I was trying to achieve has been done through a single conditional. For anyone wondering I'm basically just allowing my users to specify what they 'collect', rather than having 'Posts'. So a word my users assign is used in the postbit to precede their postcount.
![]() Thanks for the help Velocd. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|