Description: Add the ranking stars below the name of the original author of a topic on forum.asp
Demo: http://www.frutzle.com/forum/
Support: none whatsoever
Difficulty: dunno... it was easy enough for me
Line numbers are based on the "clean" forum.asp from version 3.3.03!
line 170:
strSql = strSql & strMemberTablePrefix & "MEMBERS.M_NAME, "
Add this right above it:
strSql = strSql & strMemberTablePrefix & "MEMBERS.M_LEVEL, "
strSql = strSql & strMemberTablePrefix & "MEMBERS.M_POSTS, "
line 372:
<td bgcolor="<% =strForumCellColor %>" valign="center" align="center"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strForumFontColor %>"><% =ChkString(rs("M_NAME"),"display") %></font></td>
Add this right below it:
<% if strShowRank = 2 or strShowRank = 3 then %>
<br><% = getStar_Level(rs("M_LEVEL"), rs("M_POSTS")) %>
<% end if %></td>
Good luck and have fun.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's