View Full Version : User Fields
Adrian Schneider
01-04-2005, 06:13 AM
How do I add a field to the user table? Ex: Posts, Avatar, ID, name, newone.
Reminder
01-04-2005, 06:18 AM
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>
Adrian Schneider
01-05-2005, 12:44 AM
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.
Dean C
01-05-2005, 01:22 PM
Can you explain exactly what you're trying to do here. Your description leaves a lot to the imagination ;) Thanks
Adrian Schneider
01-06-2005, 05:04 AM
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.
Dean C
01-06-2005, 10:21 AM
But why can't you do this with a profile field?
uReside.com
01-21-2005, 06:27 AM
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?
Adrian Schneider
01-22-2005, 01:39 AM
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).
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.