I'm investigating pbts_extra, but......
I'm using some exotic method to show the last send message by phplist at a website (basically: select message from phplist_message where id=$lastId)
If i use pbts_extra I get a message like
[PBTS_EXTRA NAME="title"]Een leuke custom titel[/PBTS_EXTRA]
etc
is there an easy way to convert this to the correct message?
I tried some quick and dirty hacks and viewed the php-code for a short while, but I'm afraid that some global variables are wrong....
$template=<<<EOF
\n <td><font>Having trouble viewing this special message from <b>Charles Phoenix\\'s</b>
"Slid\n To ensure that emails from Charles are delivered to your inbox, please add <knip>
EOF;
include_once '$path/plugins/pbts_xtra/pbts_xtra.inc.php';
$htmlmessage = pbts_replace_content( $htmlcontent, $template );
But i think this is a little to quick and dirty?
Help?
Jaap-Andre