Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Active users fontcolor
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Rykker
Starting Member

17 Posts

Posted - 02 August 2003 :  09:55:46  Show Profile
hi,

how can i change the font color for active user statistics?
i've found two threads about it that i must change all
strFontColor from DefaultFontColor in the inc_activeusers.asp into ForumFontColor for
example but it only works with the names from the active users
and not with the rest of text :(

Edited by - Rykker on 02 August 2003 09:56:41

masterao
Senior Member

Sweden
1678 Posts

Posted - 02 August 2003 :  20:25:36  Show Profile  Visit masterao's Homepage
Exactly what is it that you want to change? Is it the title Board Statistics or something else? The font colors used by AU on default.asp are all defined in inc_activeusers.

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

Rykker
Starting Member

17 Posts

Posted - 03 August 2003 :  18:34:25  Show Profile
i want to change the text "Active Members: x | Guests: x || Total: x
Active Users Record: x | Record Set On: 02 Aug 2003 at 14:53:58
Members Online:"


my ForumFontColor is black and my DefaultFontColor is a brighter one.
but when i change all DefaultFontColor into ForumFontColor in the
inc_activeusers.asp (3x) only the names of the active users are black
and the rest of the text stays in the brighter one.

Edited by - Rykker on 03 August 2003 18:36:16
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 04 August 2003 :  07:03:36  Show Profile
Each member is a link to their profile (I think) you have to change the link colors in admin options to change the colors. Or you can change them with css.

strActiveMemberList = strActiveMemberList & "<font color=""" & strForumFontColor & """ class=""your class"">"
      if rsAM("M_LEVEL") = 2 then
        strActiveMemberList = strActiveMemberList & "<font color=""" & strAUModColor & """>"
      elseif rsAM("M_LEVEL") = 3 then
        strActiveMemberList = strActiveMemberList & "<font color=""" & strAUAdminColor & """>"


and in inc_header

".your class a:link {color:your color;}" & vbNewLine & _
".your class a:visited {color:your color;}" & vbNewLine & _
".your class a:hover   {color:your color;}" & vbNewLine & _
".your class a:active  {color:your color;}" & vbNewLine & _

edit-- I miss read
It seems there is no color defined

find these lines in inc_activeusers and add the part in red


if strAUPCollapse="0" or request.cookies(strUniqueID & "HideActiveUsers") = "N" or request.cookies(strUniqueID & "HideActiveUsers") = "" then
    response.write "      <tr>" & VBNewLine & _
                   "        <td bgcolor=""" & strForumCellColor & """ rowspan=""2"" width=""10px"">" & VBNewLine & _
                   "          " & getCurrentIcon(strIconGroup,"","") & VBNewLine & _
                   "        </td>" & VBNewLine & _
                   "        <td bgcolor=""" & strForumCellColor & """ colspan=""" & sGetColspan(6,5) & """>" & VBNewLine & _
                   "          <font color=""" & strForumFontFace & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & VBNewLine & _
                   "            " & fLang(strLangMOD_Ls3kAU_00010) & ": " & intActiveMembers & " | " & VBNewLine
    if strAUAnon and not(bolOverride) then

---end edit

    _-/Cripto9t\-_

Edited by - cripto9t on 04 August 2003 08:03:17
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 04 August 2003 :  15:00:27  Show Profile  Visit masterao's Homepage
Cripto9t was almost right with how to add a different color for the passage Rykker want to change, but it should be strForumFontColor instead for strForumFontFace.

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

Rykker
Starting Member

17 Posts

Posted - 05 August 2003 :  04:25:10  Show Profile
thats it! thank you very much for your help
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 05 August 2003 :  04:57:26  Show Profile
oops

    _-/Cripto9t\-_
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 05 August 2003 :  07:47:45  Show Profile  Visit masterao's Homepage
Your welcome, Rykker .

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
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.49 seconds. Powered By: Snitz Forums 2000 Version 3.4.07