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/O Code)
 Star for the Member level 0
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Tmpj
Junior Member

Denmark
467 Posts

Posted - 18 May 2002 :  01:48:23  Show Profile
How can I add a star to the member level 0, that we call starting member ?

And one only for moderators and one only for admins!


------------------------------
Magic is an Orange
http://www.magicorange.tk

Edited by - Tmpj on 18 May 2002 02:14:24

Tmpj
Junior Member

Denmark
467 Posts

Posted - 19 May 2002 :  05:03:07  Show Profile
Could any help me?

I want this:



for a whole new user


------------------------------
Magic is an Orange
http://www.magicorange.tk
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 May 2002 :  05:12:18  Show Profile
Have you looked at the get_StarLevel function in the inc_functions.asp file?

What you are wanting to do is pretty easy...

just change this:

if (fM_POSTS < cLng(intRankLevel1)) then Star_Level = ""



to this:

if (fM_POSTS < cLng(intRankLevel1)) then Star_Level = "<img src=""gamecube_ranks_0.gif"" width=""100"" height=""22"" border=""0"">"
Go to Top of Page

Tmpj
Junior Member

Denmark
467 Posts

Posted - 19 May 2002 :  06:59:22  Show Profile
Thanks Richard, you are cool, but I ask here because I'm the master to the inc_functions.asp, but how could moderators and admins get special ranks?


------------------------------
Magic is an Orange
http://www.magicorange.tk
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 May 2002 :  07:13:57  Show Profile
like what?

did you just want all Admins to have a certain rank icon and all Moderators to have a certain rank icon? And not have them be dependent on post counts?
Go to Top of Page

Tmpj
Junior Member

Denmark
467 Posts

Posted - 19 May 2002 :  08:44:18  Show Profile
quote:

like what?

did you just want all Admins to have a certain rank icon and all Moderators to have a certain rank icon? And not have them be dependent on post counts?


Yes, because I have some good admin/moderator icons


------------------------------
Magic is an Orange
http://www.magicorange.tk
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 19 May 2002 :  09:59:08  Show Profile
to have all Admins have the same Rank Image, and all Moderators to have the same Rank Image:

change this:

		case "2" 
if fM_POSTS < CInt(intRankLevel1) then Star_Level = ""
if (fM_POSTS >= CInt(intRankLevel1)) and (fM_POSTS < CInt(intRankLevel2)) ...
if (fM_POSTS >= CInt(intRankLevel2)) and (fM_POSTS < CInt(intRankLevel3)) ...
if (fM_POSTS >= CInt(intRankLevel3)) and (fM_POSTS < CInt(intRankLevel4)) ...
if (fM_POSTS >= CInt(intRankLevel4)) and (fM_POSTS < CInt(intRankLevel5)) ...
if (fM_POSTS >= CInt(intRankLevel5)) then Star_Level = "<img src=icon_star_" ...
case "3"
if (fM_POSTS < CInt(intRankLevel1)) then Star_Level = ""
if (fM_POSTS >= CInt(intRankLevel1)) and (fM_POSTS < CInt(intRankLevel2)) ...
if (fM_POSTS >= CInt(intRankLevel2)) and (fM_POSTS < CInt(intRankLevel3)) ...
if (fM_POSTS >= CInt(intRankLevel3)) and (fM_POSTS < CInt(intRankLevel4)) ...
if (fM_POSTS >= CInt(intRankLevel4)) and (fM_POSTS < CInt(intRankLevel5)) ...
if (fM_POSTS >= CInt(intRankLevel5)) then Star_Level = "<img src=icon_star_" ...



to this:

		case "2" 
Star_Level = "<img src=""gamecube_ranks_0.gif"" width=""100"" height=""22"" border=""0"">"
case "3"
Star_Level = "<img src=""gamecube_ranks_0.gif"" width=""100"" height=""22"" border=""0"">"



Then just change the Rank Image file name and the width and height of each of them in the code you added.

case "2" is for Moderators

case "3" is for Admins
Go to Top of Page

Tmpj
Junior Member

Denmark
467 Posts

Posted - 20 May 2002 :  09:08:41  Show Profile
Many Thanks Richard!

You should have a Award for this


------------------------------
Magic is an Orange
http://www.magicorange.tk
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.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07