Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: digit - helmikuu 18, 2005, 11:38:02 AP

Otsikko: bbcode in ssi news
Kirjoitti: digit - helmikuu 18, 2005, 11:38:02 AP
I just noticed that when I use [-center-] (without the dashes)  in a post, function ssi_boardNews in SSI.php displays the [-center-] in my ssi news results...

It seems things are squirelly with bbcode and ssi news...  or is it just me?

Thanks

p.s. using SMF 1.0 RC2.



Otsikko: Re: bbcode in ssi news
Kirjoitti: Oldiesmann - helmikuu 18, 2005, 12:59:23 IP
Works for me...

http://smf.oldiesmann.us/index.php?topic=38.msg89#msg89
http://smf.oldiesmann.us/ssi_examples.php
Otsikko: Re: bbcode in ssi news
Kirjoitti: digit - helmikuu 18, 2005, 01:26:37 IP
ah, I see what I did.  I was using an include statement in a non .shtml page

My fault.  Thanks.
Otsikko: Re: bbcode in ssi news
Kirjoitti: digit - helmikuu 18, 2005, 01:32:00 IP
so, in a php statement like...





<?php ssi_boardNews(); ?>





how do I add the variables like this...





<? include("http://www.worlddatabase.com/SSI.php?ssi_function=boardNews;board=246;length=255;limit=1;"); ?>






???

Thanks in advance.
Otsikko: Re: bbcode in ssi news
Kirjoitti: Oldiesmann - helmikuu 18, 2005, 02:05:46 IP
<?php
include_once('/path/to/SSI.php');
ssi_boardNews(2461null255'echo');
?>