vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   VB4 where is the text Message after Title for newthread post (https://vborg.vbsupport.ru/showthread.php?t=254380)

reddyink 11-28-2010 08:42 PM

VB4 where is the text Message after Title for newthread post
 
In 3.8 we had Title and then" Message". What happened to the text "Message" in 4.0
How to enable it or customize it?

Thank you for your time.

reddyink 12-13-2010 03:06 PM

Anyone??

FReeSTER 12-13-2010 03:18 PM

hmm, can you explain a bit more specific?

reddyink 12-19-2010 01:51 PM

1 Attachment(s)
Quote:

Originally Posted by El Intocable (Post 2133302)
hmm, can you explain a bit more specific?

Please see the attachment. The Text Message is missing in VB4 and I would like add and/or customize it.

Lynne 12-19-2010 04:54 PM

You can add it back to the template if you want.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

LifesGreatestGift 12-19-2010 04:58 PM

Open template newthread

Find:
Code:

                                <label for="subject" class="full">{vb:rawphrase title}:</label>
                                <input type="text" class="primary full textbox" name="subject" id="subject" value="{vb:raw subject}" maxlength="{vb:raw vboptions.titlemaxchars}" tabindex="1" />
                                &nbsp;<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" />
                        </div>


Add after:
Code:

                                <label for="messagearea" style="font-weight:bold;">{vb:rawphrase message}:</label>
Open template newreply

Find:
Code:

                                <label for="title" class="full">{vb:rawphrase title}:</label>
                                <input type="text" class="primary textbox full" name="title" id="title" value="{vb:raw title}" maxlength="{vb:raw vboptions.titlemaxchars}" tabindex="1" title="{vb:rawphrase optional}" />
                                &nbsp;<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" />
                        </div>

Add after:
Code:

                                <label for="messagearea" style="font-weight:bold;">{vb:rawphrase message}:</label>
Open template pm_newpm

Find:
Code:

                        <!-- subject field -->
                        <div class="blockrow">
                                <label for="title" class="full">{vb:rawphrase title}:</label>
                                <div><input type="text" class="primary full textbox" id="title" name="title" value="{vb:raw pm.title}" maxlength="85" tabindex="1" />&nbsp;<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" /></div>
                        </div>
                        <!-- / subject field -->
                       
                        <!-- message area -->

Add after:
Code:

                                <label for="messagearea" style="font-weight:bold;">{vb:rawphrase message}:</label>


Enjoy! :)

reddyink 12-19-2010 05:05 PM

Thank you TheWindows7Site

Thank you Lynne

LifesGreatestGift 12-19-2010 05:14 PM

No problem. Let me know how that works for you.


All times are GMT. The time now is 01:05 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.02984 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
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete