vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   HTMLSpecialChars in Phrases (https://vborg.vbsupport.ru/showthread.php?t=123498)

davidw 08-09-2006 01:54 PM

HTMLSpecialChars in Phrases
 
How do I use HTMLSpecialChars in phrases? For example: on one of my hacks, I have this...
PHP Code:

<phrase name="setting_ticksep_desc"><![CDATA[Specify how you would like to separate your news. <br />For a blank spacetype: &nb sp; (without the space)<br />To separate with a hyphen or a slash type: &nb sp; / &nb sp; (without the spaces)]]></phrase

I have to do this because if I use &nbsp; it displays a blank space (obviously) rather than the HTMLSpecialChar. Is there a workaround for this?


Also, while on the same subject of HTMLSpecialChars, I've got a vbulletin option setting such as this...
PHP Code:

<setting varname="ticksep" displayorder="160">
                <
datatype>free</datatype>
            </
setting

If I put a default value in there, such as this...
PHP Code:

<defaultvalue>&nbsp;</defaultvalue

it gives me an error (so I disregard using a defaultvalue) - is there a way around this so I can use a defaultvalue?


All times are GMT. The time now is 11:52 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.01027 seconds
  • Memory Usage 1,713KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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