v. nice hack neo
Quote:
Originally posted by hellsatan
So what do you think of the add-on?
I was wondering...
Every time you post a New Thread using this, it doesnt add your Signature...
How could you make it enable Signatures?
Satan
|
signatures, parsing urls, similies are handled by form values passed to newthread.php
the defaults on my forum are for signatures and to automatically parse urls.
to pass these silently as defaults use input type hidden
Code:
<input type="hidden" name="parseurl" value="yes" checked>
<input type="hidden" name="signature" value="yes" checked>
and include them somewhere on your submit form (probably just below check message length)
or you can give them an option or two (see attached pic):
find:
Code:
<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td>
</tr>
</table>
</td>
</tr>
and below put:
Code:
<tr>
<td bgcolor="{ firstaltcolor}" valign="top"><normalfont><b>Options:</b></normalfont></td>
<td bgcolor="{ firstaltcolor}" valign="top"><smallfont>
<input type="checkbox" name="parseurl" value="yes" checked> <b>Automatically parse URLs:</b> automatically adds [ url] and [ /url] around internet addresses.
<br><input type="checkbox" name="signature" value="yes" checked> <b>Show Signature:</b> include your profile signature. Only registered users may have signatures.
</smallfont></td>
</tr>
remember to remove the spaces after { and [
if you want to give them more options copy and paste the inputs out of the newthread template and hide the ones you dont want shown (you may need to hardcode some variables like $signaturechecked (either CHECKED or UNCHECKED)