Instructions For Enabling The Global Skin Plugins In A Skin
===========================================================
in trillian.xml, put this at the beginning (after the )
&pluginXML;
and put this at the end (before the )
&plugin_default_XML;
look for and (may be in trillian.xml, may be
elsewhere)
Put this at the beginning
&pluginprefs;
and this at the end
&plugin_default_prefs;
Finally, look for the .dtd file (usually trillian.dtd) Put this towards the
beginning... (replacing the names with where the skinplugins directory is
installed) These are important as they establish to the skin where the plugins
are related with respect to the skin. If you have a config utility, it would be
nice to allow the user to select what directory is put here so they can place
the global plugins where they want. Also, globalplugin_dtd sets up all the
entities used in the skin, i.e. %plugin_default_dtd;, etc. (Configurator
users, can skip this step if they have their main settings and globalplugins
enabled. TC will insert it into the config file for you.)
%globalplugin_dtd;
then put this at the end of the .dtd file (TC users still need to do this)
%plugin_default_dtd;
Note: if you're going to allow your user to have personalized profiles, you'll
need to make it so they can change the globalplugin_dtd filename ... i.e. in a
config utility or something. If you don't want them to personalize it, just use
the (default) one.
That will enable the core code... For things like system icons and sounds,
this is all you need.
For other deeper hooks, you need to put in the hooks where you want
them. (look in the SkinPlugins\default\main.dtd file to see what hooks are
available.... although since this isn't a completed standard yet, some things
may be added/removed...)
i.e. for the emoticons control put:
&emoticons;
&emoticons2;
&emoticons3;
&publicEmotAvatars;
&jones;
Or, for the contact list (buddy status) icons, put:
&PLUGstatusIcons;
&PLUGstatus;
&PLUGstatus2;
&PLUGstatus3;
I may try my hand at an XML parser later to automatically put in the code, but
I'd rather leave it to the skinners so they can choose what they put and
where...