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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Why won't my stars and ranks show up?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

moshercutie
Starting Member

15 Posts

Posted - 16 September 2002 :  14:50:39  Show Profile
basically, set the forum up, got it working, but my stars and ranks that i edited dont show up. any ideas?

Sarah

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 16 September 2002 :  14:59:15  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
Did you turn the feature on? It's amazing how easy that one is too miss...

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 16 September 2002 :  15:01:39  Show Profile
Stars won't show until you've made enough posts to earn your first star.
Your ranks should show right away although for this too you must have made enough posts to get a higher rank.
Go to Top of Page

moshercutie
Starting Member

15 Posts

Posted - 16 September 2002 :  15:09:23  Show Profile
yes i did turn it on

i didnt know more posts = more stars for Admin and Mod.

I assumed Mod and Admin status would have a full row of stars automatically. Is there any way to do this?

sarah
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 16 September 2002 :  15:21:42  Show Profile
You can edit inc_func_member.asp like this:
lines 92 to 123:
function getStar_Level(fM_LEVEL, fM_POSTS)
	dim Star_Level

	select case fM_LEVEL
		case "1"
			if (fM_POSTS < cLng(intRankLevel1)) then Star_Level = ""
			if (fM_POSTS >= cLng(intRankLevel1)) and (fM_POSTS < cLng(intRankLevel2)) then Star_Level = getCurrentIcon("icon_star_" & strRankColor1 & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel2)) and (fM_POSTS < cLng(intRankLevel3)) then Star_Level = getCurrentIcon("icon_star_" & strRankColor2 & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColor2 & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel3)) and (fM_POSTS < cLng(intRankLevel4)) then Star_Level = getCurrentIcon("icon_star_" & strRankColor3 & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColor3 & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColor3 & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel4)) and (fM_POSTS < cLng(intRankLevel5)) then Star_Level = getCurrentIcon("icon_star_" & strRankColor4 & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColor4 & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColor4 & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColor4 & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel5)) then Star_Level = getCurrentIcon("icon_star_" & strRankColor5 & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColor5 & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColor5 & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColor5 & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColor5 & ".gif|13|12","","")
		case "2" 
			if fM_POSTS < cLng(intRankLevel1) then Star_Level = ""
			if (fM_POSTS >= cLng(intRankLevel1)) and (fM_POSTS < cLng(intRankLevel2)) then Star_Level = getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel2)) and (fM_POSTS < cLng(intRankLevel3)) then Star_Level = getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel3)) and (fM_POSTS < cLng(intRankLevel4)) then Star_Level = getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel4)) and (fM_POSTS < cLng(intRankLevel5)) then Star_Level = getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel5)) then Star_Level = getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorMod & ".gif|13|12","","")
		case "3" 
			if (fM_POSTS < cLng(intRankLevel1)) then Star_Level = ""
			if (fM_POSTS >= cLng(intRankLevel1)) and (fM_POSTS < cLng(intRankLevel2)) then Star_Level = getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel2)) and (fM_POSTS < cLng(intRankLevel3)) then Star_Level = getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel3)) and (fM_POSTS < cLng(intRankLevel4)) then Star_Level = getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel4)) and (fM_POSTS < cLng(intRankLevel5)) then Star_Level = getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","")
			if (fM_POSTS >= cLng(intRankLevel5)) then Star_Level = getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","")

		case else  
			Star_Level = "Error"
	end select

	getStar_Level = Star_Level
end function


Change the red part to this:
			Star_Level = getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","") & getCurrentIcon("icon_star_" & strRankColorAdmin & ".gif|13|12","","")


Now the admin will have 5 stars at all times.
Just add a copy of the green part to add an extra star (make admin more special by giving him/her 6 stars at all times )
Go to Top of Page

moshercutie
Starting Member

15 Posts

Posted - 16 September 2002 :  15:24:35  Show Profile
erm thanks for help but im not confident with editing script at all!!!!

if anyone wants to do it for me feel free lmao
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 16 September 2002 :  15:28:54  Show Profile
To give admins and moderators five stars always, look here
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=34171
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 16 September 2002 :  15:29:58  Show Profile
It's not difficult. Just open inc_func_member.asp in a text editor (Notepad or [url="http://www.sourceedit.com']SourceEdit[/url] which is free and highlights ASP codes) and replace the red lines with the other one I posted.

All you should do is make a copy of the file before you edit it so you can go back to the current situation by replacing the new file.
Go to Top of Page

moshercutie
Starting Member

15 Posts

Posted - 17 September 2002 :  05:23:55  Show Profile
so all the multiple red lines get replaced with the one blue and green line?!
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.47 seconds. Powered By: Snitz Forums 2000 Version 3.4.07