Page 1 of 1

tag code test

PostPosted: Thu Mar 08, 2007 3:36 pm
Author: sanji
bold

Code: Select all
[b]bold[/b]

Re: tag code test

PostPosted: Thu Mar 08, 2007 4:28 pm
Author: Helter
you cant put bbcode tags inside of the [code] or [php] tags

PostPosted: Thu Mar 08, 2007 6:24 pm
Author: sanji
Why wouldn't you be able to put bbcode in a [ code ] tag? The whole idea of a code tag is to allow someone to post some code that is left as so...

On my forum, this is working fine with the modifications I made on the bbcode.php file. And it was working fine with 1.4.0...

sanji

Re: tag code test

PostPosted: Thu Mar 08, 2007 7:44 pm
Author: Helter
you must have fixed your 140. It has never worked on any of my forums, or this site, even before the 141 mods were added to it. I just tried it on the archive site, which is 140 and it failed

Re: tag code test

PostPosted: Thu Mar 08, 2007 9:25 pm
Author: Frost
This never worked for me either, I started to tweak the code once, but lost interest quickly

Re: tag code test

PostPosted: Fri Mar 09, 2007 2:30 am
Author: sanji
You can try this following easy modification of the bbcode.php file...

FIND
Code: Select all
                                $between_tags = preg_replace('#&##', '&#', $between_tags);                                 $between_tags = preg_replace('/]+]/si', ']', $between_tags);  


AFTER, ADD
Code: Select all
                                $code_entities_match = array('#<#', '#>#', '#"#', '#]#', '#(#', '#)#', '#{#', '#}#');                                 $code_entities_replace = array('&lt;', '&gt;', '&quot;', ':', '[', ']', '(', ')', '{', '}');                                 $between_tags = preg_replace($code_entities_match, $code_entities_replace, $between_tags);    


That's all <img>

sanji

PostPosted: Fri Mar 09, 2007 6:21 am
Author: tekguru
I've now added it to see what happens <img>

Re: tag code test

PostPosted: Sun Sep 09, 2007 4:22 pm
Author: jomasaco
works fine, thanks sanji.

Re: tag code test

PostPosted: Mon Sep 10, 2007 4:13 pm
Author: CaNNon
Anyone getting this?

Code: Select all
[b] test [/b]


Its only showing up with the b tag. Not sure if I've messed it up.

Re: tag code test

PostPosted: Mon Sep 10, 2007 6:41 pm
Author: Teelk
I think having the bbcode tags show up in the code and php bbcode boxes is by design. Ok, maybe not the php box, but certaintly the code box, since bbcode is code. I think the idea is if you need to show someone how bbcode works etc. then you can do it easily using the code box and bbcode buttons. But, each site is unique, so this is still a helpful hint for anyone who wants to change it.

Re: tag code test

PostPosted: Thu Sep 13, 2007 5:59 pm
Author: sanji
"CaNNon";p="28346" wrote:Anyone getting this?

Code: Select all
[b] test [/b]


Its only showing up with the b tag. Not sure if I've messed it up.


Check this thread ]http://www.integramod.com/forum/viewtopic.php?t=3143[/url]

sanji

PostPosted: Sat Sep 22, 2007 2:17 pm
Author: Baku
Code: Select all
[b][i]test[/b][/i]