PDA

View Full Version : Need a little help on this...


Bally
06-12-2002, 02:17 PM
I´m not very good in PHP, so perhaps someone can help...

I want to add a field in my database for every user.
Default value for this field is "0".
Then i would like to use phpmyadmin to change this value to "1" for some of the users.
If a user with a "1" in this field posts something a small icon should be displayed next to his avatar.

How can i do this???

Thanks!

Bally
06-12-2002, 02:20 PM
forgot to tell you that i?m running a 2.2.5 VB

:D

Admin
06-12-2002, 02:41 PM
Create a new custom profile field, make it only editable by the admins and not visible.
Then, edit the "special" users and put the icon in that field (the <img /> tag), and finally add $post[fieldXX] to your postbit template, XX being the ID of this profile field.