Author |
Topic |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 16 November 2003 : 19:00:59
|
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 |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 18 November 2003 : 20:46:07
|
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 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 18 November 2003 : 20:55:05
|
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) |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
revenger
Junior Member
United Kingdom
132 Posts |
Posted - 20 November 2003 : 13:15:09
|
I don't understand it Richard, it keeps saying invalid line in inc_function_members.asp
How can I get it to work properly?? |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 20 November 2003 : 13:34:12
|
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/ |
|
|
revenger
Junior Member
United Kingdom
132 Posts |
Posted - 20 November 2003 : 14:37:02
|
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 |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 20 November 2003 : 15:58:15
|
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/ |
|
|
|
Topic |
|