The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
How do I add a field to the user table? Ex: Posts, Avatar, ID, name, newone.
|
#2
|
||||
|
||||
![]()
Find : Template: postbit_legacy
USER NUMBeR : <div>User Number : $post[userid] </div> OTHER USER OPTIONS <if condition="$post['field6']"><div>XXXXXX: $post[field6]</div></if> |
#3
|
||||
|
||||
![]()
I could be mistaken, but I think I got the wrong idea across.
I mean like you can go $userinfo[id] or however it is, how would you add another thing you can edit, like a league rating or something. Making it in the database would be much easier than manually editing tons of files. |
#4
|
||||
|
||||
![]()
Can you explain exactly what you're trying to do here. Your description leaves a lot to the imagination
![]() |
#5
|
||||
|
||||
![]()
I want to have another variable I can call up to see/set/change a users league rating (or any numerical value). So something like this: $bbuserinfo[leaguerating].
So I'm assuming I have to add it to the database, and set up the variable. |
#6
|
||||
|
||||
![]()
But why can't you do this with a profile field?
|
#7
|
|||
|
|||
![]()
I'm interested in this same thing, i think i need a field because i need a specific search, that searches that field ONLY. LIke if you have the fields:
|Forum |Last Post|Threads|Posts| =================================== i need _______________________________________ |Forum | City |Zip Code|Last Post|Threads|Posts| Where i can search city and/or zip code from an html page outside of my forums. (i guess it could be in the /forums directory on my bored How hard is that to do? |
#8
|
||||
|
||||
![]()
I added it to the database, then it is easily called with (in my case) $bbuserinfo[fieldname]. $foruminfo[newfield] perhaps. You'd probably have to add the extra fields to the newthread template, along with some more php coding in that file (to add it automatically each time).
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|