![]() |
Thread Stencil
1 Attachment(s)
Thread Stencil v. 1.3
First off I want to say this is my first vB hack ever, well actually the 2nd but the first one is not released. Please be kind, constructive criticism is welcome! :) I hope this hack does not already exist, I searched but couldn't find anything similiar. This hack was requested by rasun here https://vborg.vbsupport.ru/showthread.php?t=130137 Enough with the bs, what does this hack do? This hack will let you predefine a Title and Message that will show up when a user creates a new thread. It will just fill the boxes so the users can edit them. In the Forum Manager you can edit each forums own stencil. It can be used for making interviews, application forms etc. See screenshots for example of an interview. Misc Tested on vB 3.5.4 & vB 3.6.0 Version Updates Version 1.2 * Set custom stencils in the forums of your choice. * Enable / Disable stencils in each forum. OBS! - This new version makes changes to the database, you might want to make a backup just to be safe. Version 1.3 * New tags added for output of username & date, [username] & [date]. See screenshots for more info. Installation instructions Import the product .xml. Go into Forum Manager and choose "Edit Forum" where you want to apply a new stencil. Scroll to the bottom and you can find the settings there. Upgrade instructions Uninstall the old product from Product Manager. Install the new product .xml. Please click install if you're using this hack! :) |
:) Reserved!
|
Quote:
|
Quote:
Thanx AMG, i like the concept, i think i will have a use for this. :cool: |
Quote:
Anyway, I like the idea and will try it out when I have time :) |
Great idea. This'd definitely come in handy on forums that use threads to create order forms or requests. Excellent idea, very useful.
One suggestion for a future update: create a stencil for each forum using forum permissions. ;) |
Neat product. Suggestion: Have an option to make the stencil text gray and then clear onclick. This would work much better for my (and others'?) purposes.
|
Quote:
Edit headinclude - at very end Code:
<script language="Javascript"> Code:
<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" /></td> Code:
<td><input type="text" class="bginput" name="subject" value="$vboptions[stenciltitle]" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" onFocus="doClear(this)"/></td> |
Thanks. How would I do this for the body as well as the title? Also, can it appear gray when the template is there only?
|
Quote:
Code:
<td><input type="text" class="bginput" style="color: #ccc;" name="subject" value="$vboptions[stenciltitle]" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" onclick="doClear(this)" element onFocus="this.style.color = '#000000';"/></td> |
All times are GMT. The time now is 01:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|