I'm currently trying to add a nice mod to my website, the only issue is this:
The installation website requests me to add:
$message = itemstats_parse($message);
somewhere in a PHP Section.
however, this doesn't simply work for me, you see, for my webpage I'm using another PHP code that posts news from my forums.
the code is written within a table, and the code is:
<?php include("forumnews.php"); ?>
That's where my news comes from, so it's kinda hard to parse that one.
And here is the code inside forumnews.php that extracts the news from my forums:
<?=get_post_text($GLOBALS['numchar'], $res[$i][pst_posttxt], $res[$i][pst_postid]) ?>
My question is, how can I make it so that when the php script extracts news from my forum it also does the itemstats_parse part, so the code also shows up correctly on my webpage ?
if you want to know more about the mod im using here is a link:
http://itemstats.free.fr/e107_plugins/content/content.php?content.24
--
Any help appreciated.