Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Different style ranking system for board

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
IWishToLearn Posted - 26 March 2008 : 16:26:51
I run a martial arts themed board for my private school website. Instead of having stars of different colors show up as certain post amounts are reached, I was wondering if there is a way I can have a graphic of a belt show up for each level.
Example:
50 posts would display a yellow belt graphic and the words "Yellow Belt" with it instead of multiple colored stars.
100 would be orange belt graphic & words
150 purple, etc.

Any way I can do this?<
8   L A T E S T    R E P L I E S    (Newest First)
IWishToLearn Posted - 27 March 2008 : 13:09:13
Wait, nm I found it :) Experimented with the Inc_iconfiles and the member rank configs and it worked :)<
IWishToLearn Posted - 27 March 2008 : 12:51:21
I have 10 ranks and 7 images so I have 3 of the ranks using the same image. How can I add more images into the icons list so I can have 10 images?<
Jezmeister Posted - 27 March 2008 : 07:17:25
as all mad2kool did was what I suggested the rest of what I said works too
quote:
and then replace the star images with your belts


Just select different colours for each rank in the admin options and replace each of those star images with your own. I don't see why you'd need a different rank mod for that at least.<
Shaggy Posted - 27 March 2008 : 04:27:35
No need to make any changes to the getMember_Level function, by the way, you can just change the titles for the ranks in your admin options.

<
IWishToLearn Posted - 26 March 2008 : 19:15:11
That worked for what I needed! Now I have one of the extra rank mods installed but I have 3 ranks using the same icon image - can I add more icons so I can have each rank having a separate image?<
MaD2ko0l Posted - 26 March 2008 : 19:11:09
i havnt tested this, but this is what i came up with

just replace the getStar_Level function with this 1

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(getStarColor(strRankColor1),"","")
			if (fM_POSTS >= cLng(intRankLevel2)) and (fM_POSTS < cLng(intRankLevel3)) then Star_Level = getCurrentIcon(getStarColor(strRankColor2),"","")
			if (fM_POSTS >= cLng(intRankLevel3)) and (fM_POSTS < cLng(intRankLevel4)) then Star_Level = getCurrentIcon(getStarColor(strRankColor3),"","")
			if (fM_POSTS >= cLng(intRankLevel4)) and (fM_POSTS < cLng(intRankLevel5)) then Star_Level = getCurrentIcon(getStarColor(strRankColor4),"","")
			if (fM_POSTS >= cLng(intRankLevel5)) then Star_Level = getCurrentIcon(getStarColor(strRankColor5),"","")
		case "2" 
			if fM_POSTS < cLng(intRankLevel1) then Star_Level = ""
			if (fM_POSTS >= cLng(intRankLevel1)) and (fM_POSTS < cLng(intRankLevel2)) then Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","")
			if (fM_POSTS >= cLng(intRankLevel2)) and (fM_POSTS < cLng(intRankLevel3)) then Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","")
			if (fM_POSTS >= cLng(intRankLevel3)) and (fM_POSTS < cLng(intRankLevel4)) then Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","")
			if (fM_POSTS >= cLng(intRankLevel4)) and (fM_POSTS < cLng(intRankLevel5)) then Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","")
			if (fM_POSTS >= cLng(intRankLevel5)) then Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","")
		case "3" 
			if (fM_POSTS < cLng(intRankLevel1)) then Star_Level = ""
			if (fM_POSTS >= cLng(intRankLevel1)) and (fM_POSTS < cLng(intRankLevel2)) then Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","")
			if (fM_POSTS >= cLng(intRankLevel2)) and (fM_POSTS < cLng(intRankLevel3)) then Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","")
			if (fM_POSTS >= cLng(intRankLevel3)) and (fM_POSTS < cLng(intRankLevel4)) then Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","")
			if (fM_POSTS >= cLng(intRankLevel4)) and (fM_POSTS < cLng(intRankLevel5)) then Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","")
			if (fM_POSTS >= cLng(intRankLevel5)) then Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","")

		case else  
			Star_Level = "Error"
	end select

	getStar_Level = Star_Level
end function


you will need to edit the image sizes in inc_iconfiles.asp and then that should do it, unless i messed somthign up<
IWishToLearn Posted - 26 March 2008 : 18:23:49
Jezmeister Posted - 26 March 2008 : 17:28:57
The code you need is in inc_func_member.asp, I guess the easiest option would be to remove the multiple occurences of the calling of the star image so you only have one on each line (lines 93-98, 94-97 would be the same length as 94 already is, only with the relevant colour numbers) and then replace the star images with your belts.

as for the words you can easily do that by editing the titles of members in the admin settings, they follow the stars by default.<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000 Version 3.4.07