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)
 Help Wanted: Stars & Mod/Admin Name Colors...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Spizak
Starting Member

5 Posts

Posted - 24 October 2002 :  17:22:39  Show Profile
Curious if anyone wrote something so that users can pick their own star colors, and mods/admins can change the colors of their names.

Thanks!

mortioli
Average Member

United Kingdom
898 Posts

Posted - 28 October 2002 :  17:10:39  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
This may work (or may not), but try and put the code or html into the boxes for members/admins/moderators titles.

For example...

[ b]Forum Admin[ /b]

or...

< b>Forum Admin< /b>


(without the spaces of course )
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 28 October 2002 :  17:13:48  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
Oops, just tried, and doesn't work

Would be good to be able to get this working

Can anyone help in allowing code in the Ranking Config boxes?
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 28 October 2002 :  19:14:35  Show Profile
=====================================
Curious if anyone wrote something so that users can pick their own star colors,
=====================================

it's mean you need a extra Member data field to store this color value, i think it's not so easy to do this.
and i'm a little wonder why you'll need this strange feature ??

=====================================
and mods/admins can change the colors of their names.
=====================================

and this one look like more easy to implement...
make a copy of function profileLink(fName, fID) in inc_func_common.asp
(you can just put it below the profileLink function...)
name/change it to function profileLink2(fName, fID, fLevel)
and just change this one line
profileLink = strReturn & fName & "</a>"
to
select case fLevel
case 3 'special style for Admin
fLevelName = "<font color=""red"">" & fName & "</font>"
case 2 'special style for Moderator
fLevelName = "<font color=""green"">" & fName & "</font>"
case else
fLevelName = fName
end select
profileLink2 = strReturn & fLevelName & "</a>"


then at the place where you want to modify...
for example, in topic.asp change this
profileLink(ChkString(Reply_MemberName,"display"),Reply_Author)
to
profileLink2(ChkString(Reply_MemberName,"display"),Reply_Author,Reply_MemberLevel)

this example just change the font color, if you want it have different link/hover color, maybe you'll need to define some new link style first.(in inc_header.asp)

(P.S. also we'll need to know the Member Level information first! so we can judge the name is Admin/Moder/or Normal Member...)

hope this one a little helpful.


and mortioli,
i think usually we can just change the ChkString type to make it allowed Forum Code.
for example, in topic.asp change "display" to "message"
ChkString(getMember_Level(Reply_MemberTitle, Reply_MemberLevel, Reply_MemberPosts),"message")

~......~.~~
Go to Top of Page

Spizak
Starting Member

5 Posts

Posted - 29 October 2002 :  18:14:43  Show Profile
Hmm....

I'll give it a shot. I don't mind figuring out how to put in two more columns into the DB for it.

Reason I wanted it is some of my users gripe about their star colors, so I figured after they hit rank 5 I'd let them change their stars around to a color they like. Then to make it a little easier to pick out who the moderators are make their names different colors from regular users.
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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07