As suggested by GauravBhabu in this topic: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=23911
Description: Add the ranking stars below the number of posts on pop_profile.asp when viewing
Demo: http://www.frutzle.com/forum/
Support: none whatsoever
Difficulty: very easy
Line numbers are based on the "clean" pop_profile.asp from version 3.3.03!
line 84:
strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_COUNTRY"
Add this right below it:
strSql = strSql & ", " & strMemberTablePrefix & "MEMBERS.M_LEVEL"
Line 424 to 428:
<tr>
<td bgColor="<% =strPopUpTableColor %>" align=right nowrap valign=top><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">Total Posts: </font></b></td>
<td bgColor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% = ChkString(rs("M_POSTS"), "display") %></font></td>
</tr>
<% if not(strUseExtendedProfile) then%>
Add the code in red:
<tr>
<td bgColor="<% =strPopUpTableColor %>" align=right nowrap valign=top><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">Total Posts: </font></b></td>
<td bgColor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% = ChkString(rs("M_POSTS"), "display") %></font></td>
</tr>
<% if strShowRank = 2 or strShowRank = 3 then %>
<tr>
<td bgColor="<% =strPopUpTableColor %>" align=right nowrap valign=top><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">Rank: </font></b></td>
<td bgColor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% = getStar_Level(rs("M_LEVEL"), rs("M_POSTS")) %></font></td>
</tr>
<% end if
if not(strUseExtendedProfile) then%>
That's it.
Good luck & have fun.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's