vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to leave space before text in the Message Box? (https://vborg.vbsupport.ru/showthread.php?t=279547)

chikkoo 03-05-2012 03:59 AM

How to leave space before text in the Message Box?
 
Hello All,

When I post a message, I want my text of certain lines to appear after 2 or 3 tabs, or at 20th or 30th character space in the Message Box, basically I need some preceeding space. If I use tab button inside the Message Box, it doesn't work. If I type some blank space it appears while typing but after posting it doesn't appear. The text gets left aligned.

Please guide me to leave some preceeding space in my message lines.

Thanks.

Simon Lloyd 03-05-2012 06:26 PM

In postbit or postbit_legacy find
HTML Code:

$post[message]
and before it put as many as these as you need
HTML Code:

<br /><br />
$post[message]

the space in the tag is intentional, now you post as normal but when the post is posted it will be x amount of lines from the top depending on how many BR tags you add.

Is that what you wanted?

chikkoo 03-14-2012 10:02 AM

Hi Simon Llyod,

Thanks for trying to helping me. But this is not exactly I was trying to do.
Sorry for not able to express it properly.

What I was trying to do is, inside the Text Editor Box, while typing I want to leave some spaces and type again after certain number of spaces.

For example, I have a poem, I want to post it in the forum, and I want to mention them that two lines are repeated, like how I coloured it in red here. I get space here, but only problem is not aligned. But in my board vb 4.1.x it is removing all spaces in between, like the last paragraph here.
Code:

My Butterfly
My butterfly
seemingly delicate
with wings of steel
cold sharp steel

My butterfly                             
draws the helpless                      )  2
with her unsurpassed beauty
there is no resisting

My butterfly    (how it is appearing in my board)
who has no feelings) 2 
but is emotional
making me want
to hurt when
she hurts



All times are GMT. The time now is 10:43 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.01129 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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