i'm form vietnam, i'm not a fluent english speaker but i'm hope every one can do it with short directions.
1-in forum_post.aspa/ create 1 variable to contain authorid
b/ find sql select command line to edit and add unndeline element
'SQL SELECT strSQL = strSQL & strDbTable & "Thread.Thread_ID, " & strDbTable & "Thread.Message, " & strDbTable & "Thread.Message_date, " & strDbTable & "Thread.Show_signature, " & strDbTable & "Thread.IP_addr, " & strDbTable & "Thread.Hide, " & strDbTable & "Author.Author_ID, " & strDbTable & "Author.Username, " & strDbTable & "Author.Homepage, " & strDbTable & "Author.Location, " & strDbTable & "Author.No_of_posts, " & strDbTable & "Author.Join_date, " & strDbTable & "Author.Signature, " & strDbTable & "Author.Active, " & strDbTable & "Author.Avatar, " & strDbTable & "Author.Avatar_title, " & strDbTable & "Group.Name AS GroupName, " & strDbTable & "Group.Stars, " & strDbTable & "Group.Custom_stars, " & strDbTable & "GuestName.Name AS GuestName, "& strDbTable & "Author.Group_ID "
|
c/ Find command line
strAuthorSignature = sarryPosts(12,intCurrentRecord)add following code after that
'authorID for poster strAuthorID= sarryPosts(20,intCurrentRecord) |
d/ find the command line
'If the user has an avatar then display it |
and replace all if after that by following code
If blnAvatar = True AND strAuthorAvatar <> "" and strAuthorID="1" Then Response.Write("<img src=""" & strAuthorAvatar & """ alt=""" & strTxtAvatar & """ class=""avatar"" onerror=""this.src='avatars/blank_avatar.jpg';"" id=""adavatar""") else Response.Write("<img src=""" & strAuthorAvatar & """ alt=""" & strTxtAvatar & """ class=""avatar"" onerror=""this.src='avatars/blank_avatar.jpg';"" id=""avatar""") end if If |
2/ in css_styles folder open all default.css at all skin and add following code
.avatar,#adavatar { width: 140px; height: 140px; border: 1px solid #000000; margin: 2px; }
|
i'm hope it is useful for you

Edited by hohuybinh - 25 July 2010 at 1:20am