This happens to be quite easy, as nothing more than adding this to the index.php at the beginning is necessary
if (strstr($_SERVER['REQUEST_URI'],"?") == false) {
	define("_BBC_PAGE_NAME",$_SERVER['REQUEST_URI']);
	define("_BBCLONE_DIR", "bbclone/");
	define("COUNTER", _BBCLONE_DIR."mark_page.php");
	if (is_readable(COUNTER)) include_once(COUNTER);
}