|
|
Joined: Jan 2003
Posts: 263
Member
|
Member
Joined: Jan 2003
Posts: 263 |
I would like to add some additional info below the user avatar. (in my case: what type of car they are driving). How can I accomplish this? like this: []Reged: 30/01/2003 Posts: 234 Loc: Amsterdam, The Netherlands Car: VW Polo  [/]
|
|
|
|
Joined: Mar 2000
Posts: 528
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 528 |
Are you using the EXTRA fields in user profiles? If not, you could use one of those fields to store the CAR information, then you would just call that U_Extra? in your showflat and showthreaded php files. After adding it there, edit your showflat and showthreaded templates, place it below the LOC reference, and there you go!
|
|
|
|
Joined: Jan 2003
Posts: 263
Member
|
Member
Joined: Jan 2003
Posts: 263 |
I knew it was something simple  Thanks Medar!
|
|
|
|
Joined: Mar 2000
Posts: 528
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 528 |
Any time. When you get into showflat.php, you will pretty quickly see the QUERY that is pulling all the information. Just make sure you add the proper U_Extra in the query, and then assign it a variable name (ie - $UExtra2 or whatever).
Then you can assign and pass that to your template, and pretty much place it anywhere on your template you want.
Showthreaded will be very much the same, the only big difference being that the template in places.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|