Quote:
Originally Posted by Ntfu2
No worky
Invalid SQL:
SELECT field21 as avatar FROM vb3_userfield WHERE userid=12 LIMIT 1;
MySQL Error : Unknown column 'field21' in 'field list'
Error Number : 1054
|
STEP 5
5) Getting fancy with Avatars:
To get the avatar of the pager receiver you need to do the following:
5.1 - Add a custom user text field on admin CP. (See blue screen cap)Write the number of your new field down.
5.2 - Edit the first line of the pagelog plugin (on the parse_templates section). Change $field="21" ; to $field="x" ; where x is your custom user text field number (9 or whatever)
5.3 - Edit the new pager_newpager template and replace it with your field name (field9 or whatever)
**Note: Step 5 now allows receivers to have their custom avatar. Soon it will allow senders to use custom avatars (version 1.1)
See the blue screen shot to ee how to fill up the user profile field screen