PDA

View Full Version : Adding in showpost a link to the related thread and page


HeyMe
06-22-2009, 09:15 AM
Hey,

I'm using code from this mod (https://vborg.vbsupport.ru/showthread.php?t=205512&page=3) to add rel="canonical" to my pages, while it works on showthread pages, on showpost it links only to the 1st page of the thread (not to the page where the post is)
here's the link code:
$vboptions[bburl]/showthread.php?t=$threadinfo[threadid]<if condition="$pagenumber>1">&page=$pagenumber</if>
I'm on vb 3.8.2, anyone has an idea how to make it work in for showpost ?

Thanks a lot!

Lynne
06-22-2009, 04:20 PM
Support for modifications is given in the modification thread.

HeyMe
06-22-2009, 05:43 PM
This is a vB / PHP code like any other, would it being included in a modification change anything? :)

Actually this issue was posted in the mod thread long ago but there was no reply there.