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
Share on other sites

it would be cool if it will be fixed

 

Firstly, we don't maintain these features. Its an issue for the SMF developers.

 

Secondly, anyone using the short tags deserves there code to look like crap :)

 

Thirdly, we have


tags for php code.

Link to comment
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' ;

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Sure, I've got access to everything, but the source code of SMF is freely available to anyone, so anyone can make the changes just as well as I can. I'm not familiar with SMF's code, so I have no advantage over anyone else either.

Link to comment
Share on other sites

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.