Log in

View Full Version : WLM Signature Template Scheme [RELEASE]



timROGERS
12-03-2007, 03:37 PM
In the next version of my WLM Signature, I will be including an easy to use custom template system, using it's own extension, ".mst" (Messenger Signature Template), or alternatively ".xml".

I decided to include this as people generally want to be able to customize their signatures, but not everyone has PHP experience, or knows how to use the GD functions. The templating system makes it easy to place and style your own script, without having to delve into PHP. In the following example the format is explained:



<?xml version="1.0" encoding="iso-8859-1"?>
<wlm schema="1.0">
<main>
<image>URL of Background Image</image>
<font>Filename of a .ttf font</font>
<font-color>Formatted in RGB. "," between each value</font-color>
</main>

<display-picture>
<dp-position-x>"X" position of the display picture</dp-position-x>
<dp-position-y>"Y" position of the display picture</dp-position-y>
</display-picture>

<nickname>
<nickname-size>Size of nickname text in pt</nickname-size>
<nickname-position-x>"X" position of the nickname</nickname-position-x>
<nickname-position-y>"Y" position of the nickname</nickname-position-y>
</nickname>

<psm>
<psm-size>Size of personal message text in pt</psm-size>
<psm-position-x>"X" position of the personal message</psm-position-x>
<psm-position-y>"Y" position of the personal message</psm-position-y>
</psm>

<status>
<status-size>Size of status text in pt</status-size>
<status-position-x>"X" position of the status</status-position-x>
<status-position-y>"Y" position of the status</status-position-y>
</status>
</wlm>

Want to hide these adverts? Register an account for free!