to make custom themes work together with the modpack following modifications have to be done:
1. the loginform:
open yor theme's template.html and where you want the loginform to appeare add {LOGIN_FORM}
Usually I use html span to place it. Eg. as used in the classic theme
<span style="float:right">{LOGIN_FORM}</span>
2. cosmetics - the css
you'll have to update the stylsheet. Open your theme's style.css add following to the top of it and adapt the colors to your needs
.alt1, .alt1Active
{
background-color: #F8FAFC;
font-family: verdana, arial, helvetica, sans-serif;
}
.alt2, .alt2Active
{
background-color: #cacaca;
font-family: verdana, arial, helvetica, sans-serif;
}
.alt3
{
background-color: #ececec;
color: #000000;
}
.pms_send_a {
background: #EFEFEF ;
padding-top: 3px;
padding-right: 10px;
padding-bottom: 3px;
padding-left: 10px;
border: 1px inset;
}
.pms_send_b {
background: #cacaca;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
border: 1px inset;
}
.pms_legend
{
margin: 10px;
}
.panel
{
background: #F8FAFC;
color: #000000;
padding: 10px;
border: 2px outset;
}
.panelsurround
{
background: #cacaca;
color: #000000;
}
.pms_linecolor1
{
background-color: #0E72A4;
font-size: 10px;
}
.pms_linecolor2
{
background-color: #71ACCA;
font-size: 10px;
}
.pms_linecolor3
{
background-color: #DEDEDE;
font-size: 10px;
}
.pms_linecolor4
{
background-color: white;
font-size: 10px;
}
.pms_linecolor5
{
background-color: #A6DAF5;
font-size: 10px;
}
.smallfont
{
font-size: 10px;
}
3. images - copy all images from the classic theme's images directory to the images directory of the theme you want to make modpack compatible without overwriting existing files. Eventually you want to open these images in your gfx program and make them fit your themes colors.
New images are:
[i]grayscale, usually no color adjusting necessary - copying OK [/i]
buddy_blocked.gif (red - shows blocked - also used in PM list)
buddy_ok.gif (green for OK - also used in PM list)
pm_icon1.gif
pm_old.gif (read PM)
pm_post_old.gif
thumb_mini_movie.gif (used for subscribtion list etc. - where mini thumbs are used - should be resized to the config settings)
useroff.gif (little bulb that shows if a user is online or not - offline all gray)
useron.gif (yellow)
[i]Icons that may need some color adaptions[/i]
pm.gif (PM next to the thumbs etc. - I usually make it the link color)
pm_new.gif (unread PM in the PM list - usually link color)
pm_replied.gif (icon for PMs you replied - also link color)
make_buddy.gif (become friends gfx in the profile - may contain theme colors)
pm_send_small.gif (send PM gfx in the profile - may contain theme colors)
pm_reply_small.gif (Reply gfx when you read a PM - may contain theme colors)
4. If your theme's using a modified menu then read on further
There's a new link added to coppermines menu ( 'My friends' - for the buddy list). Cause there are several ways how one can modify the menu I just can give the direction on what to do.
Open the theme.php of the theme you want to modify and find the var $template_sys_menu_button. If the theme is using the new layout of the sys menu (you can see that if there are already lines existing like the codeline below) then just add the code below where you want it to appeare (maybe after the home link)
addbutton($s000000000ys_menu_buttons,'{MY_BUDDY_LNK}','','{MY_BUDDY_TGT}','my_friends',$template_sys_menu_spacer);
If the theme's using the old style then add something similar to the following and adapt the html to fit your layout
<!-- BEGIN my_friends -->
<li class="sidebar_menu"><a href="{MY_BUDDY_TGT}" title="{MY_BUDDY_LNK}" class="navmenu">{MY_BUDDY_LNK}</a></li>
<!-- END my_friends -->