to display avatars on viewonline.php, go to acp/P.C.P./PCP Wizard/Alter Page Display/
in "Select a Page:" choose "phpbb >> Who Is Online"
choose "Select"
choose "Add / Remove Page Fields
Under "Available Fields" choose "user_avatar"
Under "Action" choose "->"
Under "Selected Fields" choose "user_avatar" choose "Move Up" till it is at the top.
Choose "Submit"
on the next page you should see "user_avatar" at the top. In the "Options" section, select "Img"
In the "HTML Style" section, add this
In the "extra" section select "Display Always"
Choose "Submit" Open your template/viewonline_body.tpl Overwrite it with this
<table><tr> <td>{L_WHO_IS_ONLINE}</td></tr><tr><td><a>{L_INDEX}</a>{NAV_SEPARATOR}{L_WHO_IS_ONLINE}</td></tr></table><table><tr><td>{TOTAL_REGISTERED_USERS_ONLINE}</td></tr><tr><th>{L_AVATAR}</th> <th>{L_USERNAME}</th><th>{L_LAST_UPDATE}</th><th>{L_FORUM_LOCATION}</th><th>{L_CONTACT}</th></tr><BEGIN><tr> {reg_user_row.PANEL} <td>{reg_user_row.CONTACT}</td></tr><END><tr><td><img></td></tr><tr><td>{TOTAL_GUEST_USERS_ONLINE}</td></tr><tr><th>{L_USERNAME}</th><th>{L_LAST_UPDATE}</th><th>{L_FORUM_LOCATION}</th><th> </th></tr> <BEGIN><tr> {guest_user_row.PANEL} <td> </td></tr><END><tr><td><span>{L_ONLINE_EXPLAIN}</span></td></tr></table><table><tr><td><a>{L_INDEX}</a>{NAV_SEPARATOR}{L_WHO_IS_ONLINE}</td></tr></table>
Now go to the index of your forum. Scroll down to the "Who Is Online" box and click the "Who Is Online" title.