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
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

vmplanet
Junior Member

112 Posts

Posted - 19 November 2003 :  10:06:06  Show Profile
I'm stuck i want to change my colors to the forumcolors and not the Default colors. I did a search and found some stuff. I did what it said and got half way. The links in the active users panel aren't changed. They are still white. I want them to be changed to blue the same color of the links used to show a forum name on the default page.

masterao
Senior Member

Sweden
1678 Posts

Posted - 19 November 2003 :  15:02:08  Show Profile  Visit masterao's Homepage
What color have you set the Link Color, Visited Link Color, Active Link Color, and Hover Link Color to? Those will determine the color of the links in active_users.asp.

If you don't want to use the normal link-colors, you need to add a little code to the WhatPage-function (which will show the color you want, if I understood you correctly):

Locate the following lines in active_users.asp and add the code marked red:


function WhatPage(fScript, fQuery)
  strPage = "<a href=""" & fScript 
  if trim(fQuery) <> "" then
    strPage = strPage & "?" & fQuery
  end if 
  strPage = strPage & """><span class=""spnMessageText"">"


Then at the end of the function:


  strPage = strPage & "</span></a>"
  if lcase(instr(fscript, "admin_")) > 0 Then
    strPage = fLang(strLangMOD_Ls3kAU_01380)    
  end if
  WhatPage = strPage
end function

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

vmplanet
Junior Member

112 Posts

Posted - 19 November 2003 :  15:55:13  Show Profile
As you can see in the picture i have a dark green background. To make the texts visible in that background the text color is set to a light color. As it seems the Active user panel uses those colors to. I just want the active user panel to use the colors of inside the forum. Not like now the colors of the outside.

I did a search and found some stuff and i did those changes to mu active users. So now all the text is the same color. It uses now the:

strForumFontColor instead of the strDefaultFontColor

The link however still uses the color of the outside. I want it to use the color of the inside of the forum. But i can't find the place were to change this.
Go to Top of Page

vmplanet
Junior Member

112 Posts

Posted - 19 November 2003 :  15:57:07  Show Profile
ow and i tried what you said and it doesn't work...
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 19 November 2003 :  20:05:31  Show Profile  Visit masterao's Homepage
Which colors have you set to links inside forum and outside forum? The code I provided uses the same colors that is used for links inside the forum.

In any case, here is another method. Instead for <span class=""spnMessageText"">, use <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>, and change </span> with </font>

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

vmplanet
Junior Member

112 Posts

Posted - 23 November 2003 :  12:48:34  Show Profile
doesn't change them...
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 24 November 2003 :  17:04:51  Show Profile  Visit masterao's Homepage
Could you post a link to a text-version of your active_users.asp?

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

vmplanet
Junior Member

112 Posts

Posted - 26 November 2003 :  19:49:47  Show Profile
Here it is:

active_users.txt
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 27 November 2003 :  12:04:12  Show Profile  Visit masterao's Homepage
I've used your file for testing, and the following works for me on ie6 and mozilla 1.0.1

In active_users.asp, change the start of function WhatPage with the code below (new code is red):

function WhatPage(fScript, fQ)
  fQuery = fQ
  strPage = "<a href=""" & fScript 
  if trim(fQuery) <> "" then
    strPage = strPage & "?" & fQuery
  end if 
  strPage = strPage & """><span class=""blue"">"


and the end of said function:

  strPage = strPage & "</span></a>"
  if lcase(instr(fscript, "admin_")) > 0 Then
    strPage = fLang(strLangMOD_Ls3kAU_01380)    
  end if
    if strOnlineLocation <> "" then strPage = strOnlineLocation
  WhatPage = strPage
end function


Then add the following line to your inc_header.asp, amongst the other style tags:

        ".blue {color: " & strForumFontColor & "}" & vbNewLine & _


Those changes worked for me, and I hope that they work for you too.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod

Edited by - masterao on 27 November 2003 12:05:56
Go to Top of Page

vmplanet
Junior Member

112 Posts

Posted - 30 November 2003 :  18:32:43  Show Profile
It worked! Thanks for your help!!
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 01 December 2003 :  11:32:21  Show Profile  Visit masterao's Homepage
Your welcome .

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.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07