The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
adding a column to the user table
straightforward in mysql or do I have to somehow register the new field within vb too?
|
#2
|
||||
|
||||
You will only need to add the field as vBulletin will grab the whole row (SELECT *).
|
#3
|
|||
|
|||
Wouldn't it be easier just to add a custom userfield (private if need be)? or is there some advantage of adding it on the user table?
|
#4
|
||||
|
||||
It depends on the purpose of what you are trying to achieve.
|
#5
|
|||
|
|||
Quote:
Basically I want to use the field to store which banner was last viewed so I don't repeat them. I can store banners and any additional info elsewhere if I need to (not that bothered tbh.) I'm not sure about custom userfields to be perfectly honest but I'll have a look around. Cheers |
#6
|
||||
|
||||
Custom userfields are only really needed when you want Admins/Users to edit a database field, in which this case there isn't a need.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|