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)
 Different coloured stars for the forum admin?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 16 November 2003 :  19:00:59  Show Profile  Visit MarkJH's Homepage
Is there any way to give the forum administrator different coloured stars to the other administrators?

Seeing as there is no global moderator facility in Snitz, I'm giving trusted moderators admin status, so that they can mod all of the forums but I'd like for members to be able to differentiate those from me, the forum admin.

Possible?

[moved to the correct forum]

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 17 November 2003 :  14:46:01  Show Profile  Visit MarkJH's Homepage
Nobody? Even if the only way to do it is via hard-coding I don't mind.

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 18 November 2003 :  20:25:32  Show Profile  Visit MarkJH's Homepage
One last attempt...

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 18 November 2003 :  20:46:07  Show Profile  Visit masterao's Homepage
The easiest way would be to use GauravBhabu's More Stars mod and change it so that instead of adding an extra star to the superadmin, it changes the color of the stars instead.

(The link with the instructions for adding that mod can be found on page 2 of that topic.)

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 November 2003 :  20:55:05  Show Profile
one way of doing it would be to modify the getStar_Level function and have it accept the MEMBER_ID along with the M_LEVEL and M_POSTS:

for example, change this:

function getStar_Level(fM_LEVEL, fM_POSTS)
to this:
function getStar_Level(fM_LEVEL, fM_POSTS, fM_ID)


then, in the getStar_Level function, on the line immediately after:

		case "3"
insert the following:
			if fM_ID = intAdminMemberID then tmpRankColorAdmin = "new_color" else tmpRankColorAdmin = strRankColorAdmin


just change the new_color to the color you want the stars to be, it has to be one of the colors in the getStarColor function though.

current choices are: gold, silver, bronze, orange, red, purple, blue, cyan, green

and then change all instances of strRankColorAdmin to tmpRankColorAdmin in the remainder of the case "3" section.

Then you just have to modify all instances where the getStar_Level function is called (i.e. topic.asp, members.asp, etc...)

here is an example from topic.asp, you would change this:
getStar_Level(Reply_MemberLevel, Reply_MemberPosts)
to this:
getStar_Level(Reply_MemberLevel, Reply_MemberPosts, Reply_MemberID)
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 19 November 2003 :  13:58:42  Show Profile  Visit MarkJH's Homepage
Richard, thank you very much!

That worked a treat.

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

revenger
Junior Member

United Kingdom
132 Posts

Posted - 20 November 2003 :  13:15:09  Show Profile  Visit revenger's Homepage  Send revenger an ICQ Message
I don't understand it Richard, it keeps saying invalid line in inc_function_members.asp

How can I get it to work properly??
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 20 November 2003 :  13:34:12  Show Profile  Visit MarkJH's Homepage
Have you changed the call to getStar_Level in members.asp from

getStar_Level(Members_MemberLevel, Members_MemberPosts)

to

getStar_Level(Members_MemberLevel, Members_MemberPosts, Members_MemberID)

?

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

revenger
Junior Member

United Kingdom
132 Posts

Posted - 20 November 2003 :  14:37:02  Show Profile  Visit revenger's Homepage  Send revenger an ICQ Message
No I put in function getStar_Level(fM_LEVEL, fM_POSTS, fM-ID), like Richard said, and I pasted if fM_ID = intAdminMemberID then tmpRankColorAdmin = "new_color" else tmpRankColorAdmin = strRankColorAdmin, directly under the case "3". But to no effect
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 20 November 2003 :  15:58:15  Show Profile  Visit MarkJH's Homepage
You haven't modified the call to getStar_Level in members.asp, topic.asp... etc. like Richard said in the last paragraph of his post.

quote:
Then you just have to modify all instances where the getStar_Level function is called (i.e. topic.asp, members.asp, etc...)

here is an example from topic.asp, you would change this:
getStar_Level(Reply_MemberLevel, Reply_MemberPosts)
to this:
getStar_Level(Reply_MemberLevel, Reply_MemberPosts, Reply_MemberID)

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07