The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I would like to have this [Something descriptive here will yield more responses] added on newthread.php inside the Title: tag like they have over at Digital Point forums. How do I go about doing this
|
|
#2
|
||||
|
||||
|
I tested this on 3.6 Beta 1 cos that's what i'm running on my localhost, but it should work on 3.5.x
Admic CP -> Styles & Templates -> Style Manager -> Edit Templates -> New Posting Templates -> newthread FIND: Code:
<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td> Code:
<td><input type="text" class="bginput" name="subject" value="[Something descriptive here will yield more responses]" onfocus="if(this.value=='[Something descriptive here will yield more responses]')this.value='';" onblur="if(this.value=='')this.value='[Something descriptive here will yield more responses]';" size="50" maxlength="85" tabindex="1" /></td> |
|
#3
|
||||
|
||||
|
Thanks a ton
|
|
#4
|
||||
|
||||
|
np
|
|
#5
|
|||
|
|||
|
Hi, I just tried this and nothing seems to show...
I take it this is meant to show when you hover over the text input for the subject? |
|
#6
|
||||
|
||||
|
when you click new thread '[Something descriptive here will yield more responses]' will be in the Title box automatically, and when you click to enter your own title it will vannish, also if you click out of the title box without entering a title '[Something descriptive here will yield more responses]' will appear again.
CP1 |
|
#7
|
|||
|
|||
|
oh...interesting...it dont show for me lol
Cheers for the description though
|
|
#8
|
||||
|
||||
|
lol, it should show
![]() make sure you copy all of the code, I just tried it on my vB 3.5.4 board and it worked fine... |
|
#9
|
||||
|
||||
|
does it show if javascript is disabled?
|
|
#10
|
||||
|
||||
|
Quote:
![]() EDIT: yes it worked fine for me with javascript disabled in FireFox |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|