phpBBSEO / usu

Ultimate SEO URL
32 stars 25 forks source link

problem with the path image #113

Open phpbb-store opened 8 years ago

phpbb-store commented 8 years ago

problem with the path image. the "./" path is not recognized as a path root_path screenshot

phpbb-store commented 7 years ago

no solution?

Erwane commented 7 years ago

same problem. defined in includes/function_display

'FORUM_IMAGE'           => ($row['forum_image']) ? '<img src="' . $phpbb_root_path . $row['forum_image'] . '" alt="' . $user->lang['FORUM_CAT'] . '" />' : '',

$phpbb_root_path = './' and virtual folder break the link.

No solution i think, except replace by

'FORUM_IMAGE'           => ($row['forum_image']) ? '<img src="/' . $row['forum_image'] . '" alt="' . $user->lang['FORUM_CAT'] . '" />' : '',
Erwane commented 7 years ago

Maybe a solution is to change the image path via the events :

check the virtual path and add '../' foreach virtual dirs