phpBBSEO / usu

Ultimate SEO URL
32 stars 25 forks source link

Bad compatibility with Recent Topics #107

Open Difadon opened 8 years ago

Difadon commented 8 years ago

Hello,

I used extension https://github.com/PayBas/RecentTopics and i have little problem. Your extension generated adress http://forum.czapp.cz/topic13.html&p=60#p60 but adress of topics is http://forum.czapp.cz/zkouska-modifikace-t13.html and last post is: http://forum.czapp.cz/zkouska-modifikace-t13.html#p60

How i can fix this problem?

Difadon commented 8 years ago

There is quicky repair. Adress is look bad, but working: In file /ext/paybass/recenttopics/core/recenttopics.php change: 'U_LAST_POST' => $view_topic_url . '&p=' . $row['topic_last_post_id'] . '#p' . $row['topic_last_post_id'], to: 'U_LAST_POST' => 'post' . $row['topic_last_post_id'] . '.html#p' . $row['topic_last_post_id'],

Leinad4Mind commented 7 years ago

For me I had to put: 'U_LAST_POST' => $view_post_url . 'mensaje' . $row['topic_last_post_id'] . '.html#p' . $row['topic_last_post_id'],

and add too this: $view_post_url = append_sid("{$this->root_path}"); before: $view_topic_url = append_sid

Best regards

Galixte commented 7 years ago

Hi @Difadon,

now the Recent Topics’s repository is here: https://github.com/Sajaki/RecentTopics.