This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

stats.mod background color

Discussion of Eggdrop's code and module programming in C.
Post Reply
L
Liqourice
Voice
Posts: 3
Joined: Thu Apr 03, 2008 10:49 am

stats.mod background color

Post by Liqourice »

Hi.

I can't find how to set the background and text color for the livestats. The default orange bgcolor is horrible.
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

stats.conf

Code: Select all

# NOTE:
# table-color and fade-table-color are hex numbers which represent a rgb color.
# If you do not know how to use this format, either use the default or ask
# someone who knows it. (it's the HTML-standard-format)

# the background color of your table
set table-color 0x7f0000

# fade table color to another color
set fade-table-to 0x00004f

# border width of the table (0 == no border, which is probably the best)
set table-border 0
You DO NOT load the module itself, you source the stats.conf in your scripts section and it in turn, loads the stats mod.

Code: Select all

######
#####
###   General Settings
#####
######

# the file where the data is stored
# WARNING: Always set this var _before_ the module is loaded, or it won't
# find your stats.
set statsfile "statsmod.dat"

# load the module itself
loadmodule stats
L
Liqourice
Voice
Posts: 3
Joined: Thu Apr 03, 2008 10:49 am

Post by Liqourice »

That's what I've done.

But the conf only has settings for table bgcolors, not the background of the entire page.. and that's what I want to know.

As well as what the setting is for text-color.
L
Liqourice
Voice
Posts: 3
Joined: Thu Apr 03, 2008 10:49 am

Post by Liqourice »

Never mind, I found those settings in the .lang file.
Post Reply