vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   vB And Spaces (https://vborg.vbsupport.ru/showthread.php?t=49083)

Joe Page 02-18-2003 07:04 PM

vB And Spaces
 
When you edit a post and add spaces, they don't show up.

I've tested this on my board and this board, does anyone know why?

Xenon 02-18-2003 07:07 PM

its a standart formating issue in html

use the [code] tag to also show spaces

Joe Page 02-18-2003 07:36 PM

I posted a football (soccer) result at my forums and now I can't lay it out properly because the spaces are not showing up.

Xenon 02-18-2003 07:47 PM

as said youse code tags for it:
Code:

hello
  3 spaces
    5 spaces...


Joe Page 02-19-2003 08:59 AM

Ok, thanks :)

I didn't realise this before, that the spaces don't show up unless in code tags.

By the way, why was my original post edited?

Boofo 02-19-2003 10:13 AM

There is a hack out that will allow you to add spaces inside posts. Check my profile here. ;)

Dean C 02-19-2003 10:28 AM

Can't you just make a vbcode for it?

vbCode tag: space
vB Code replacement:  
vB Code example: [space][/space]
vB Code explanation: Allows you to put spaces in your posts
Use {option} ?: No

Done :)

- miSt

Xenon 02-19-2003 10:35 AM

@mist: afaik it's a html thing, so you should enter the correct replacements ;)
but then i think it's possible

@boofo: oh didn't realise it *shame*

@Joe: nothing was really edited, i just tested what you said *gg*

Boofo 02-19-2003 10:42 AM

Mist - you will get an underscore where the space should be unless you comment out the code for it in the php file. It is in the hack.

Xenon - That's ok, it is really a small hack, easy to miss, but very useful at times. :)

Dean C 02-19-2003 12:41 PM

Boofo - i just tested it on my local board and it works perfectly

- miSt

Boofo 02-19-2003 12:58 PM

Quote:

Originally posted by Mist
Boofo - i just tested it on my local board and it works perfectly

- miSt

I think putting [space] and [/space] is a little ridiculous if you want to add any amount of spaces in a message when the hack will do it with a button click easier and use way less code. Use it your way and see how the amount of characters adds up.

Dean C 02-19-2003 01:42 PM

Indeed your way is far better. But this doesn't require hacking :)

- miSt

Boofo 02-19-2003 02:08 PM

This is one more time hacking would be a way better way to go. Your way would be way too cumbersome and way too much trouble for something so simple.


All times are GMT. The time now is 08:03 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.01143 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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