Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 small mod: ranks below posts on pop_profile.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 March 2002 :  11:48:08  Show Profile
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
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07