vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Thread Stencil (https://vborg.vbsupport.ru/showthread.php?t=130162)

rasun 10-28-2006 12:57 PM

Allready done with the new version? You are very fast^^:)

Yes, now it?s perfect for my needs, big thanks again!

:up:

Ntfu2 10-28-2006 01:44 PM

Quote:

Originally Posted by SeQual
Very nice hack, suggestions.

Per forum basis (as already been suggested ;) ) and the ability to set per forum to have the predefined text stay on click or not.

Would be useful if you want to give extra information in the message field of how and what is allowed to post. When you click in the message field the text is gone and you can write your message.

Same what voteforbird suggested I believe :)

Code:

       
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.


Great hack, very nice feature

Read this post: https://vborg.vbsupport.ru/showpost....62&postcount=8 and https://vborg.vbsupport.ru/showpost....0&postcount=10

voteforbird 10-28-2006 06:11 PM

We don't mean graying the field altogether, but rather just the stencil text. When real text is added, it would be black. Also, it's be neat if the stencil would come up again if no text is added to the field.

Ntfu2 10-28-2006 06:33 PM

Quote:

Originally Posted by voteforbird
We don't mean graying the field altogether, but rather just the stencil text. When real text is added, it would be black.

Thats what the second edit does. Gray stencil text. When you click, the text clears, and any text typed turns to black. Hopefully the mod author adds it so no template edits are required

voteforbird 10-28-2006 07:00 PM

Quote:

Originally Posted by Ntfu2
Thats what the second edit does. Gray stencil text. When you click, the text clears, and any text typed turns to black. Hopefully the mod author adds it so no template edits are required

Oh, my bad. Also, when I upgraded to 1.2 that stopped working.

sebbe 10-28-2006 07:07 PM

Thing about the text coloring stuff, I have never written a line of javascript before. It seems that Ntfu2's piece of code worked there, I may try to implement.

sebbe 10-28-2006 07:12 PM

Quote:

Originally Posted by voteforbird
Oh, my bad. Also, when I upgraded to 1.2 that stopped working.

Yepp, it's because this variable does no longer exist
PHP Code:

$vboptions[stenciltitle

Instead you should use this line if you want it to work like before
Code:

<td><input type="text" class="bginput" style="color: #ccc;" name="subject" value="$foruminfo[stenciltitle]" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" onclick="doClear(this)" element onFocus="this.style.color = '#000000';"/></td>

sebbe 10-28-2006 11:07 PM

Version updated - 1.3

djwins 10-29-2006 02:02 AM

has anyone tried this with 3.5x?

sebbe 10-29-2006 02:15 AM

Quote:

Originally Posted by djwins
has anyone tried this with 3.5x?

As it says in the first post, works on both 3.5 & 3.6.


All times are GMT. The time now is 06:24 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
  • Page Generation 0.01259 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete