Post by xiØn on Apr 26, 2006 17:42:18 GMT -8
This code will provide you with a box after you click on New Thread in which you can have your members fill out the proper request information.
It will add the text to your post automatically formatted to appear as BOLD.
Graphic Request Board Header
You can edit the "YOUR CONTENT HERE" to whatever you want. No other editing is necessary.
Top of Graphic Request Board Footer
DO NOT EDIT
Please post in Code Support if you need assistance with this code.
It will add the text to your post automatically formatted to appear as BOLD.
Graphic Request Board Header
<style type="text/css">
.gfx {
position:absolute;
left:0px;
top:300px;
width:100%;
height:500px;
visibility: hidden;
}
.gfx1 {
visibility: hidden;
}
</style>
<!--
Concept by Martyn Dale
Created by xiØn
http://stalkers213.proboards18.com
-->
<div class="gfx" width="100%" align="center" id="gfxit">
<div style="valign: middle; padding:5px; width:92%; height: 100%; ;" width="92%" height="100%" align="center" valign="middle"><br />
<table class="bordercolor" align="center" valign="middle" cellspacing="1" cellpadding="4">
<tr>
<td class="titlebg">
<b>Graphic Request:</b>
</td>
</tr>
<tr>
<td class="windowbg">
<b>Before making a request, please ensure you have done the following:</b><br />
<li>YOUR CONTENT HERE</li><br />
<li>YOUR CONTENT HERE</li><br />
<li>YOUR CONTENT HERE</li><br /><br />
<b>Make sure you have the following before requesting:</b><br />
<li>URL of your board.</li><br />
<li>Link to images you want included.</li><br />
<li>Link to a specific font if desired.</li><br /><br />
</td>
</tr>
<tr>
<td class="catbg">
<b>Making Your Request</b>
</td>
</tr>
<tr>
<td class="windowbg">
<form name="gfxform">
To make sure we help you as quick as possible, please enter your URL below:<br />
http://<input name="account" value="" size="20" />.proboards<input name="server" value="" size="2" />.com<br /><br />
<b>Is your request one of the following?</b><br />
<input type="checkbox" name="banner" value="1" /> Banner<br />
<input type="checkbox" name="affiliate" value="1" /> Affiliate<br />
<input type="checkbox" name="sig" value="1" /> Signature<br />
<input type="checkbox" name="avatar" value="1" /> Avatar<br />
If your request does not fit the above, place the image type here:<br />
<input name="subject" value="" size="30"/><br /><br />
<li>I Have Read The Above Information And I Am Requesting According To The Rules.</li><br /><br />
<input type="button" value="Request" onclick="javascript:doit();" width="20" />
</form>
</td>
</tr>
</table>
</div>
</div>
<script>
if (location.href.indexOf("action=post") != -1 && location.href.indexOf("thread=") == -1)
{
document.getElementById('gfxit').style.visibility="visible";
document.getElementById('gfxit').style.display = "";
document.write('<div class="gfx1" width="100%" align="center" id="gfxit1">');
}
</script>
You can edit the "YOUR CONTENT HERE" to whatever you want. No other editing is necessary.
Top of Graphic Request Board Footer
DO NOT EDIT
<script type="text/javascript">
// Concept by Martyn Dale
// Created by xiØn
// http://stalkers213.proboards18.com
function stoperror(){
return true
}
window.onerror=stoperror
if(document.postForm && location.href.match(/action=post$/))
document.postForm.message.value = '[b]Graphic Dimensions? (in pixels please):[/b] \n\n[b]Colors:[/b] \n\n[b]Font:[/b] \n\n[b]Text:[/b] \n\n[b]Additional Information:[/b] \n\n';
if (location.href.indexOf("action=post") != -1 && location.href.indexOf("thread=") == -1)
{
document.write('</div>');
document.getElementById('gfxit').style.visibility="visible";
document.getElementById('gfxit').style.display = "";
} else {
document.getElementById('gfxit1').style.visibility="visible";
document.getElementById('gfxit1').style.display = "";
}
function doit()
{
document.getElementById('gfxit').style.visibility="hidden";
document.getElementById('gfxit').style.display = "none";
document.getElementById('gfxit1').style.visibility="visible";
document.getElementById('gfxit1').style.display = "";
if (document.gfxform.banner.checked)
{
document.gfxform.subject.value = "Banner - " + document.gfxform.subject.value;
}
if (document.gfxform.affiliate.checked)
{
document.gfxform.subject.value = "Affiliate - " + document.gfxform.subject.value;
}
if (document.gfxform.sig.checked)
{
document.gfxform.subject.value = "Sig - " + document.gfxform.subject.value;
}
if (document.gfxform.avatar.checked)
{
document.gfxform.subject.value = "Avatar - " + document.gfxform.subject.value;
}
document.postForm.message.value = document.postForm.message.value + "Forum URL: " + "http://" + document.gfxform.account.value + ".proboards" +document.gfxform.server.value + ".com" + "\n\n";
document.postForm.subject.value = document.gfxform.subject.value;
}
</script>
Please post in Code Support if you need assistance with this code.