vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Code tag doesnt work properly? (https://vborg.vbsupport.ru/showthread.php?t=143364)

Finger78 03-27-2007 10:58 PM

Code tag doesnt work properly?
 
I'm trying to make posts that has some tutorials on sig usage etc on my forums and when I put the code I want within the [ CODE ] (spaces intentional) I can only enter in the opening code within that or else it completes the code if I enter in the close tag as well.

Example - when I type
Code:

[img]img url here[/img]
it completes the img code even thought its within the code tags so I'm forced to leave out the close code for it to show up, so mine has to look like this:
Code:

[img]img url here
If I put the close tags in my within the CODE tags I just get a blank code box.

Does anyone know how to get ALL of the code to work within the CODE tags?

I'm on vB 3.6.5

Marco van Herwaarden 03-28-2007 09:01 AM

[ noparse ] is your friend. ;)

[code]codeblock goes here[/code]

Finger78 03-28-2007 11:23 PM

Doesn't that pretty much defeat the purpose of the code block to begin with? I had higher hopes for vB then such a seemingly rookie mistake.

Anyone care to tell me how I can add the noparse to the default [code ] tags? I know its not "officially" supported but I would like to know how to have the noparse added to the default code tag or how I can add an icon for the default noparse bbcode tag like the icon in the reply box for the [code ] tag.

Anyone care to help? I've read many similar posts to mine and no one has ever stepped up to help provide a real solution.


All times are GMT. The time now is 05:11 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.01049 seconds
  • Memory Usage 1,710KB
  • 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
  • (2)bbcode_code_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