Jump to content

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:-@

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.