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 author name on forum.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 March 2002 :  09:11:30  Show Profile
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

crash
Advanced Member

Netherlands
2064 Posts

Posted - 04 March 2002 :  10:19:46  Show Profile  Visit crash's Homepage
nice add-on FrutZle!!

-----------------------------
Crash's Site | Email me
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 04 March 2002 :  11:32:39  Show Profile
You can do a similar addition in pop_profile.asp when viewing member profile.

www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 March 2002 :  11:35:14  Show Profile
quote:

You can do a similar addition in pop_profile.asp when viewing member profile.

www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.



Oh yeah, thanks for reminding me. I was planning on doing that. I'll get right to it and post the code as soon as I have it ready.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Raichelle
Junior Member

370 Posts

Posted - 04 March 2002 :  12:06:53  Show Profile
Nice add on
Your site look really nice. I really love the layout and the colors.
keep up the good work

oh also if you don't mind can I use your powered by snitz logo? If not then its ok.

Rai



Edited by - raichelle on 04 March 2002 12:10:43
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 04 March 2002 :  13:36:35  Show Profile
quote:

Nice add on



Thanks. Thank you too Crash (no I won't forget about you ).

quote:

Your site look really nice. I really love the layout and the colors.
keep up the good work



Thanks, I'll try

quote:

oh also if you don't mind can I use your powered by snitz logo? If not then its ok.



You can use it if you want but I think it has the blue background my site uses. <edit> I'll fix it up with a transparent background and put it up on my site on this page in about half an hour to an hour from now. I can't make it transparent due to the small white text. E-mail me the background color your forums have and I'll fix it up like that. </edit>



http://www.frutzle.com

Snitz Exchange | Do's and Dont's

Edited by - FrutZle on 04 March 2002 15:00:38
Go to Top of Page
  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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07