SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
SEO-Board Forum Software Community / General / Programming / last-posts addon issues
Posted:  29 Sep 2005 04:29
Hi there,

I am trying to display some of the most recent forum posts this add-on facility. I seem to be having problems though.

The readme states the following:

"If the forum is not in the same directory you will need to add its path in the include statement."

And thus, I've added the following code in the page where I want the posts to be displayed:

<?php DEFINE ('SEO-BOARD', true); include('./computerforum/lastposts_addon.php');?>

Since my forum is in a directory called computerforum.

It doesn't work though. It's complaining it cannot see the ./code/functions.php which is required by the  lastposts_addon.php.

Does anyone know what's going on?

I've tried changing line causing the error to './computerforum/code/functions.php' but it still gives me error..

Does anyone have the same problem?

Thankss!
Posted:  29 Sep 2005 09:45
Fix all paths in the addon. When there's a './', make it './computerforum/' .. If then the script complains it can't find a template, make a /skin/ dir when your include file is and place the 2 addon html templates there.