![]() |
User Fields
How do I add a field to the user table? Ex: Posts, Avatar, ID, name, newone.
|
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> |
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. |
Can you explain exactly what you're trying to do here. Your description leaves a lot to the imagination ;) Thanks
|
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. |
But why can't you do this with a profile field?
|
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? |
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).
|
All times are GMT. The time now is 06:58 AM. |
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:
|