Quote:
Originally Posted by mykes
Installed and mostly working. I am finding numerous links all over the site that are broken in a similar manner. All with the #arg type URL.
For example, in showthread.php, this snippet of template is used:
Code:
<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
$firstunread is some string like #10141, and mouse over the link shows:
http://sportstwo.com/#10141
instead of http://sportstwo.com/showthread.php?...tle.html#10141
I'm not using the mod_rewrite means of rewriting.
Any <a href=#something> is rewritten wrong! Even on vbAdvanced custom pages.
Please advise.
|
Here the working fix:
AdminCP -> Plugins & Products -> Add New Plugin
Product:
Zoints SEO
Hook Location:
showthread_complete
Title:
Zoints SEO firstunread fix by IrPr
PHP Plugin Code:
PHP Code:
if(strstr($firstunread, "showthread.php"))
$firstunread = zseo_url_thread($threadinfo, 1, "goto=newpost");
else
$firstunread = $url.$firstunread;