Jump to content

PHP BBCode isnt working right


Recommended Posts

Hi

 

ive noticed that there is some bug into the PHP BBCode....

 

if you use the bbcode on a php script without any php tags (<?php...?>) around it it will display the script as it should with the colors on ... it displays it well with the <?php tags too but if you use the short php tabs <?...?> it will see the script as normal text without any colors on the script

 

it would be cool if it will be fixed :)

Link to comment
https://forums.phpfreaks.com/topic/206671-php-bbcode-isnt-working-right/
Share on other sites

1. yes but you the staff do have the knowledge to modify it to make it work

2. why?

3. i was saying that the short php tags used in

[php.][/code] tags show as text ...

Heres is a example so u may get what i meant:

$Test = ($TestMe == "01")? 'Tested' : 'Untested' ;

<?php $Test = ($TestMe == "01")? 'Tested' : 'Untested' ;

<? $Test = ($TestMe == "01")? 'Tested' : 'Untested' ;

damn im so fucking retarded !

 

For what it's worth, the bbcodes available here are listed in the help section (there's a link at the top of every page). Here's a direct link http://www.phpfreaks.com/forums/index.php?action=help;area=bbcode

1. yes but you the staff do have the knowledge to modify it to make it work

 

Quite likely, but we don't want to keep patching it every time the forum is upgraded. File a bug report with SMF.

i dont think the fix will stand into too much script or in more than one file

so it wont be so hard to patch it

i havent even heared of SMF Until i came here

why dont you do it

 

between i like your avatar lol

 

edit

@salathe i know most of the bbcodes but i ve forgotten that one .. lol whatever:-@

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.