Quote:
Originally Posted by Lynne
Can you post your hangman template code?
|
Hi Lynne
The original template hangman:
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<html>
<head>
<meta name="description" content="$foruminfo[description]" />
<title>$vboptions[bbtitle] - $vbphrase[vb_hangman]</title>
$headinclude
</head>
<body>
$header
$navbar
<br>
<table class="tborder" cellpadding="0" cellspacing="0" border="0" bgcolor="0" width="100%" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="5" class="tcat"><b> $vbphrase[vb_hangman]</b>
</td>
</tr>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<td class="alt1">
<br>
</div>
<center>
<p>
<img src="images/hangman/hangman_$nwrong.gif" align="absmiddle" border="0" height="100" width="100" alt="Wrong: $wrong out of $max">
</p>
$sorry $play $guess $win
<br><br><br>
</center>
</tr>
</td>
<tr>
<td class="tfoot">
</td>
</tr>
</table>
</table>
</td></tr></table>
$footer
</body>
</html>
My modified template:
Code:
{vb:stylevar htmldoctype}
<html dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode} id="vbulletin_html">
<html>
<head>
<title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title>
{vb:raw headinclude}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<br>
<table class="tborder" cellpadding="0" cellspacing="0" border="0" bgcolor="0" width="100%" align="center"><tr><td>
<table cellpadding="{vb:stylevar cellpadding}" cellspacing="0" border="0" width="100%">
<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="5" class="tcat"><b> {vb:raw phrase vb_hangman}</b>
</td>
</tr>
<table cellpadding="{vb:stylevar cellpadding}" cellspacing="{vb:stylevar cellspacing}" border="0" width="100%">
<td class="alt1">
<br>
</div>
<center>
<p>
<img src="images/hangman/hangman_{vb:raw nwrong}.gif" align="absmiddle" border="0" height="100" width="100" alt="Wrong: {vb:raw wrong} out of {vb:raw max}">
</p>
{vb:raw sorry} {vb:raw play} {vb:raw guess} {vb:raw win}
<br><br><br>
</center>
</tr>
</td>
<tr>
<td class="tfoot">
</td>
</tr>
</table>
</table>
</td></tr></table>
{vb:raw footer}
</body>
</html>
Thanks for your help too. This plugin is not important for me, but i want to learn so i can do it in other ones more important