If you want this hack working go
there
BIG UPDATE
I understand why some of you you have some difficulties with this modification.
Like i've already said, Natch has update his hack, but the new code of january 2005 doesn't work for me. I thought he didn't touch his old code. I was wrong. So i'm going to put here Natch's old hack.
In includes/functions.php:
Find
PHP Code:
// parse PHP include ##################
if (!is_demo_mode())
{
eval(fetch_template('phpinclude_end', -1, 0));
}
Add After:
PHP Code:
$output = replacePngTags($output);
Find
PHP Code:
// ###################### Start build datastore #######################
function build_datastore($title = '', $data = '')
{
global $DB_site;
if ($title != '')
{
$DB_site->query("
REPLACE INTO " . TABLE_PREFIX . "datastore
(title, data)
VALUES
('" . addslashes(trim($title)) . "', '" . addslashes(trim($data)) . "')
");
}
}
Add After:
the code written in
alphacode.txt
"In this last bit of code, please edit the line"
PHP Code:
function replacePngTags($x,$img_path='/forum/images/')
"so that the $img_path variable points to your forumroot directory from your ['DOCUMENT_ROOT']. This is relying on your having uploaded the attached spacer.png to your forumroot/images/ folder."