2013-10-05, 02:31 AM
Pages: 1 2
2013-10-05, 02:41 AM
(2013-10-05, 02:31 AM)i-Discover Wrote: [ -> ]This plugin on line 139
http://mods.mybb.com/view/recent-topics-on-index-page
you can test ...
find
<a href="showthread.php?tid=' . $threadRow['tid'] . '&action=lastpost">
replace
<a href="showthread.php?tid=' . $threadRow['tid'] . '">
i don´t know if work...
2013-10-05, 02:51 AM
That works but it breaks the google seo url (http://mods.mybb.com/view/google-seo)
if i don't remove
/Thread-Hi-there?pid=62#pid62
But if i remove
showthread.php?tid=10&action=#.Uk9-mFBmh8E
Please let me know if you have an alternative solution
if i don't remove
&action=lastpost
the url is shown like this /Thread-Hi-there?pid=62#pid62
But if i remove
&action=lastpost
the url becomesshowthread.php?tid=10&action=#.Uk9-mFBmh8E
Please let me know if you have an alternative solution
2013-10-05, 03:12 AM
(2013-10-05, 02:51 AM)i-Discover Wrote: [ -> ]That works but it breaks the google seo url (http://mods.mybb.com/view/google-seo)
if i don't removethe url is shown like this&action=lastpost
/Thread-Hi-there?pid=62#pid62
But if i removethe url becomes&action=lastpost
showthread.php?tid=10&action=#.Uk9-mFBmh8E
Please let me know if you have an alternative solution
try something this... i don´t know if work... i don´t test here...
find
$posttime = my_date($mybb->settings['timeformat'], $threadRow['lastpost']);
Replace
$posttime = my_date($mybb->settings['timeformat'], $threadRow['lastpost']);
$threadlink = get_thread_link($threadRow['tid']);
find
<a href="showthread.php?tid=' . $threadRow['tid'] . '&action=lastpost">
replace
<a href="' . $threadlink . '">
2013-10-05, 04:04 AM
Thank you so much, that fixed all the issues 1+1=2
Pages: 1 2