|
This is probably one of the most important parts of your realm.
We recommend you use CSS coding to style your realm versus image heavy
or in page color coding. If you would like help with CSS coding please
don't hesitate to ask Joey. What you put in this CSS file will design
the colors/fonts/alignments for your splash page, main realm, panels,
popup windows, and anything else you link to it.
CSS file for downloading and use in realms is available by clicking here.
Example header coding:
<html>
<head>
<!- Change below to match your realm name -->
<title>Centurion Realms Chat - Roleplay and Chat</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="/css/realm.css"
title="Realms">
</head>
< body topmargin="0" leftmargin="0" rightmargin="0"
bottommargin="0">
We highly recommend not putting anything large here. Not
only is it irritating, but makes the realm load slowly. You will need
to replace FORTUNES with the appropriate type. For example, if you want
Star Trek fortunes you would put FRTNSTARTREK. For an extensive list of
the available fortunes, go here
Macros Used:
FRTNFORTUNES
This is where you will put the information about your
realm. Do not make this a completely html page. This works like the Panel
section where all you need is the information for the panel. It will plug
into the SPLASH section of your realm design. The information you could
put here includes but is not limited to:
- rules
- rating
- contact
- realm pages
The dice screen is a fully customizable page. Which means
you need to create/design this page as if it were a full stand alone webpage.
We strongly suggest you use CSS coding to design it to
specification and put all the css coding into the main file for the realm.
This allows you to put:
<link rel="stylesheet" href="http://linktoyourcsssheet.css">
in the header of the page and designs everything for you.
Macros Used:
WFORMSTRT (required)
WCHARSLCT - chooses character
WDICEPVTE - sends privately
WDICETYPE - how many sides
WDICELOWR - lowest dropped
WDICEFREQ - how many rolls
WDICEHIGH - highest dropped
WDICEDIFF - difficulty level
WDICEDAMG - damage
WDICEINDV - send damage individually
WDICEBTCH - botch score
WDICEBLOW - lower than option
<input type="text" name="DPOST" value=""
size="50" maxlength="300"> - comment options
WDICEROLL - send button
WFORMENDS (required)
This is new in the 4.0+ features of Ethereal Realms coding. This determines
the size of your frames in the auto scrolling window. A bonus of this
feature is that you can put your posting box at the top of your screen
versus the bottom of your screen. However, do not put a lot of coding
here as it will mess up your frames and make it difficult to chat.
To make the post panel at the top adjust second group's numbers and switch
the LMAIN and LCOMM macros. Also, remember that you need the number sets
to be "##,*" or "*,##". You cannot adjust which side
the frame scroll speeds are on, so do not adjust it.
Example Code for Frame Autoscroll:
<html>
<head>
<title>MNAME</title>
</head>
<!-- Creates two colums -->
<frameset cols="65,*"> (Where the speed selections
are)
<!-- Remote control for Auto-Scroll -->
<frame name="Remote" SRC="LSCRL">
<!-- Additionally adds two rows -->
<frameset id="resize" rows="*,135"> (This
adjusts the panel and where the posts are displayed)
<!-- Main post window -->
<frame name="Main" SRC="LMAIN"> (LMAIN is
where the posts are displayed)
<!-- Communications panel -->
<frame name="Comm" SRC="LCOMM"> (LCOMM is
where the panel is displayed)
</frameset>
</frameset>
</html>
Example Code for Frame Normal:
<html>
<head>
<title>MNAME</title>
</head>
<!-- Creates two rows -->
<frameset id="resize" rows="*,135">
<!-- Main post window -->
<frame name="Main" SRC="LMAIN"> (LMAIN is
where your posts are displayed)
<!-- Communications panel -->
<frame name="Comm" SRC="LCOMM"> (LCOMM is
where your panel is displayed)
</frameset>
</html>
With the newer versions of Ethereal Realms' code we got away from the
use of macros so that the links could be much more customizable. Below
are the macros and links you will need for your panel. This part of your
designing does not require a header tag as it uses the Realm Header for
it's header tag. So if you put CSS coding in your file linked in the header
for your panel it will work without repeating it here.
Macros/Links Used:
WCHARSLCT (Puppet Selection)
<a class="NAV" HREF="/chat/config/puppet.plGENPARAM"
TARGET="CONFIG" TABINDEX="4" GENJSCODE>Config</a>
<a class="NAV" HREF="/chat/portal.plBASEPARAM"
TARGET="_BLANK" ACCESSKEY="h">Portal</a>
<a class="NAV" HREF="/chat/post/private.plGENPARAM"
TARGET="PRIVTE" TABINDEX="5" GENJSCODE>Private</a>
<a class="NAV" HREF="/chat/post/zoom.plGENPARAM"
TARGET="ZOOMER" ACCESSKEY="z" GENJSCODE>Zoom</a>
<a class="NAV" HREF="/chat/post/dice.plGENPARAM"
TARGET="DIEROL" TABINDEX="6" GENJSCODE>Dice</a>
<textarea name="POST" rows="4" cols="75"
wrap="SOFT" accesskey="t" tabindex="2"></textarea>
(Can also use WPOSTTEXT)
WPOSTSEND (Send Button)
WFONTCOLR (Font Color)
WFONTFACE (Font Type)
WFONTSIZE (Font Size)
WSCRLADVD (Scrolling options)
<a class="NAV" HREF="/chat/post/who.plGENPARAM"
TARGET="WHOSON" TABINDEX="7" GENJSCODE>Who's
On?</a>
<a class="NAV" HREF="/chat/config/ignore.plGENPARAM"
TARGET="REALMS" TABINDEX="9" GENJSCODE>Ignore</a>
<a class="NAV" HREF="/chat/board.plGENPARAM"
TARGET="REALMS" TABINDEX="8" GENJSCODE>Forums</a>
<a class="NAV" HREF="/chat/mail.plBASEPARAM"
TARGET="REALMS" TABINDEX="10" GENJSCODE>E-mail</a>
WSCRLCTRL (Saving Posts)
WSTRMCTRL (Ending Stream)
WSNUBCTRL (Allows you to limit your puppet display by the groups you
put them in.)
WCHARFILT (Allows you to filter out anyone who does not have a location
in their tag provided locations are available)
This is like the dice window in you create a completely separate html
page for this page. Use CSS coding to decorate your window as you need.
Macros Used:
WFORMSTRT (Required)
WPOSTTEXT (Text Box)
A LWPESKY (This macro allows anyone in a public realm to toggle to
a list of all users in public realms for private messaging. Treat
it like a link code)
WPOSTSEND (Send Button)
WCHARSLCT (Sender)
WCHARTRGT (Receiving Party)
WFONTCOLR (Font Color)
WFONTFACE (Font Type)
WFONTSIZE (Font Size)
WFORMENDS (Required)
This is what you see when your streaming/frame ends. Basic users do not
see this.
Macros Used:
WWREFRESH (Send button)
WSCRLADVD (Scroll Back Options)
WSCRLCTRL (Saving Posts)
This is the information that provides the speed options for your autoscroll
users. It used Javascript so if you are not overly comfortable with Javascript
I would not change much. This also works like the Dice and Private windows,
creating a stand alone html. If you wish to use the color schemes in your
css file, simply replace the one listed with yours.
You can also re-arrange the order of the speeds. Meaning you can put
0 at the top and/or go from fastest to slowest.
CSS Used:
SPAN.PSPEC
This is where you adjust the layout of your realm's doorway. This works
like a regular HTML page. This was changed to allow for more customable
realms. See also Info.
Macros Used:
MROOM - Realm Name
LSTWHO - Who is on
MWARN - Notifying users that are banned from the realm
WENTER - The enter button
MMETEO - The Weather info
MINFO - Information put into the Info part of your design
CSS Used:
table.splash
td.splash_info
td.splash_warn
tr.whopri
tr.whosec
tr.ersub
This is what users see when you warn them that they are doing something
in your realm.
This relies on what you put in your header field and does not need CSS
coding repeated.
Macros Used:
MLOGIN (the user's login being warned)
MNOTICE (reason for the warning)
This window works like the Dice and Private windows by creating a completely
stand alone html file that links to your CSS file.
A special note about this is you need certain javascript to make it work.
To make sure your Bold, Italics, Centers, and other html decorations are
decorated properly you will not only need to change them in the main window,
but in the format.js file as well. You can find the format.js file by
clicking here.
All you need to edit in this file is the image locations and save it.
Then in the coding below change the /js/format.js to the location you
saved your file to. For more assistance ask Joey.
Required Javascript to make things work:
<script language="Javascript" src="/js/format.js"></script>
<script language="Javascript" src="/js/zoom.js"></script>
Macros Used:
WFORMSTRT (Required)
<img src="/img/ctl_bold.gif" onClick="strZoom(this,
0);" align="middle"> ( Bold)
<img src="/img/ctl_italics.gif" onClick="strZoom(this,
1);" align="middle"> (Italics)
<img src="/img/ctl_underline.gif" onClick="strZoom(this,
2);" align="middle"> (Underline)
<img src="/img/ctl_centre.gif" onClick="strZoom(this,
3);" align="middle"> (Center)
<img src="/img/ctl_plus.gif" onClick="strZoom(this,
4);" align="middle"> (Larger size)
<img src="/img/ctl_minus.gif" onClick="strZoom(this,
5);" align="middle"> (Smaller size)
WTEXTPOST (Text box)
WSUBTXFER (Sends the post back)
WSUBTSPEL (Checks Spelling)
MSPELLERS (Spelling Options)
WFORMENDS (Required)
|