vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   BBcode "code" probleme (https://vborg.vbsupport.ru/showthread.php?t=293786)

Zoul 01-10-2013 11:32 AM

BBcode "code" probleme
 
hello all

is it possible to create a tag bbcoce "code" => [code] [/ code]
that does not interprete html when html is enabled in a forum.

Here is my problem in picture:


when not active html, here is what I have in a topic:
https://vborg.vbsupport.ru/external/2013/01/45.png

active if the html here is what's going on:
https://vborg.vbsupport.ru/external/2013/01/46.png


the idea is to have a html enabled in subjects, but not in the tag "code"

(photoshop montage)
https://vborg.vbsupport.ru/external/2013/01/47.png

So is it possible to either disable the code in the interpretation
and then have a tag that makes the mm thing to add to the cpadmin


sorry for my bad english
thank you to you

kh99 01-10-2013 05:26 PM

A mod like that may be possible, but you can also use
HTML Code:

...
.

Zoul 01-10-2013 11:07 PM

if you can help me change the current mode of what I would like that fits me in or create a parallel, too.

html actually works as I present
but
HTML has two problem:
the first, the colors used are not see on a black background
the second, a lateral scroll is firefox then it is not present in Chrome

Yet the css is the same ....


Here in the picture:

firefox:
http://img15.hostingpics.net/pics/4038877801.png
chrome:
http://img15.hostingpics.net/pics/843896Capturezse.png


I would like to have the afichage chrome to firefox .... (with no color)

in fact, the tag will have the same behavior in firefox and chrome (the chrome currently no scroll)

**************

and I'm not sure but I warn you (you never know) because I'm not very strong in coding
but I think in the template html bbcode there one night too} or {less

count:

bbcode_HTML (origin):
Code:

<div class="bbcode_container">
        <div class="bbcode_description">{vb:rawphrase html_code}:</div>
        <pre class="bbcode_code"<vb:if condition="$vboptions['codemaxlines']"> style="height:<vb:if condition="$blockheight<=$vboptions['codemaxlines']">{vb:math {vb:math {vb:raw blockheight}+2}}*{vb:stylevar mid_fontSize}}<vb:else />{vb:math {vb:math {vb:raw blockheight}+1}*{vb:stylevar mid_fontSize}}</vb:if>;"</vb:if>>{vb:raw code}</pre>
</div>


thank you for your help

fxdigi-cash 01-25-2013 12:47 AM

Hi Zoul,

I'm not sure if I can help much, but I will try.

I guess you need to add this code to your css:

Code:

overflow: auto;
overflow-y: hidden;

also this one for IE:
Code:

-ms-overflow-y: hidden;
for changing the background color, you need to know what css used in that block so you can modify its background to different color you like. You can use firefox browser to check the code and what it is by " right-click / Inspect Element" on the area where the code it.

I believe that would solve you issue.

PM me if you need anything else.

Cheers :)


All times are GMT. The time now is 10:24 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.01425 seconds
  • Memory Usage 1,721KB
  • 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
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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