I looked at that fix, but I noticed that this code already exists in includes/message_parser.php before. So why do I need to add this again?Porutchik wrote:Fix for phpBB SEO Ultimate SEO URL
http://forum.aeroion.ru/viewtopic.php?p=3187#3187
Code: Select all
// FORUM WITHOUT ID & DELIM ALL MODES
$seo_ext = preg_quote($phpbb_seo->seo_ext['forum']);
$parse_url = '(^|[\n\t (>.])' . preg_quote(generate_board_url()) . '/([a-z0-9_-]+)' . $seo_ext;
$parse_url = str_replace('\://', '\://(www\.)*', $parse_url);
preg_match_all('#' . $parse_url . '([\#$%&~\-;:=,?@\[\]+]*)#si', ' ' . $this->message, $matches0[]);
$parse_url = '(^|[\n\t (>.])' . preg_quote(generate_board_url()) . '/([a-z0-9_-]+)(-([0-9]+))' . $seo_ext;
$parse_url = str_replace('\://', '\://(www\.)*', $parse_url);
preg_match_all('#' . $parse_url . '([\#$%&~\-;:=,?@\[\]+]*)#si', ' ' . $this->message, $matches0[]);
Code: Select all
page_header('Title Here');
custom_page.php