Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
GrooveOnBeat Posted July 21, 2016 Posted July 21, 2016 The default URL string goes to the comment ID. Is it possible to link to the first unread post instead? The original URL string is <a href='{$comment->item()->url()->setQueryString( array( 'do' => 'findComment', 'comment' => $comment->pid ) )}' data-ipsTooltip title='{lang="share_this_comment"}' data-ipsMenu data-ipsMenu-closeOnClick='false' id='elShareComment_{$comment->pid}' data-role='shareComment'> I changed it to <a href="{$comment->url()->setQueryString( 'do', 'getNewComment' )}" title='{lang="view_this_topic" sprintf="$comment->item()->title"}' class='ipsType_medium ipsType_break'> While it's an improvement, the link does not take the user to the first unread post. Secondly, at the end of the URL string is the comment ID. Is there something I can change?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.