vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   BB Code for NBSP (https://vborg.vbsupport.ru/showthread.php?t=201071)

manning 01-08-2009 01:54 PM

BB Code for NBSP
 
I'm trying to create a BB code to add in a NBSP and can not seem to get it to work.

Heres the latest I tried thinking it would work - I figured the param would be replaced by nbsp and that   would be returned but of course it didnt work.

Code:

[space]nbsp[/space]

&{param};

Any help greatly appreciated.

Powlo 01-08-2009 05:10 PM

Why would you want bbcode to create a space? Wouldnt it be easier just to hit the space bar?

Dismounted 01-09-2009 05:23 AM

A white space is different from a "Non-Breaking Space". You should look it up. :)

Why don't you just use this as the HTML replacement?
Code:

 
[space]*anything*[/space] will then just return a space.

manning 01-09-2009 04:50 PM

Quote:

Originally Posted by Dismounted (Post 1705961)
A white space is different from a "Non-Breaking Space". You should look it up. :)

Why don't you just use this as the HTML replacement?
Code:

 
[space]*anything*[/space] will then just return a space.

Thanks for the lesson there - I know the difference and glad YOU knew what I was referring to.

I tried that as the HTML replacement and it didnt work... let me try again - I think I was trying to fit {param} in there some where ... Nope couldnt get that to work.

And I dont want to use "replacement variables" when you go in and edit something with replacements it replaces all those replacements with ******* ********* then you have to redit those and reenter replacement info - way too much work.

Dismounted 01-11-2009 05:12 AM

Quote:

Originally Posted by manning (Post 1706509)
Thanks for the lesson there - I know the difference and glad YOU knew what I was referring to.

'
The "lesson" wasn't really meant for you, it was intended for post #2. I'm sure you knew.
Quote:

Originally Posted by manning (Post 1706509)
I tried that as the HTML replacement and it didnt work... let me try again - I think I was trying to fit {param} in there some where ... Nope couldnt get that to work.

Something weird is going on there... Next suggestion: try disabling any modifications you might have installed.


All times are GMT. The time now is 03:04 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.02132 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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