vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [Something descriptive here will yield more responses] (https://vborg.vbsupport.ru/showthread.php?t=119189)

BamaStangGuy 06-20-2006 07:50 PM

[Something descriptive here will yield more responses]
 
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

Iain M 06-21-2006 10:34 AM

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>
REPLACE WITH:
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>

BamaStangGuy 06-21-2006 06:19 PM

Thanks a ton

Iain M 06-21-2006 07:45 PM

np :)

bashy 06-22-2006 03:09 PM

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?

Iain M 06-22-2006 07:44 PM

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

bashy 06-22-2006 07:48 PM

oh...interesting...it dont show for me lol

Cheers for the description though :)

Iain M 06-22-2006 07:54 PM

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...

amykhar 06-22-2006 07:56 PM

does it show if javascript is disabled?

Iain M 06-22-2006 07:57 PM

Quote:

Originally Posted by amykhar
does it show if javascript is disabled?

not sure... i'll just check that :)

EDIT: yes it worked fine for me with javascript disabled in FireFox


All times are GMT. The time now is 03:56 AM.

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.00942 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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