How do I register lastpostid in a template/php file?
Hello I currently have a link that looks like this
<a href="{vb:link thread, {vb:raw content}, {vb:raw content.gotonewpost}, 'threadid', 'fullthreadtitle'}">{vb:raw content.titletrimmed}</a>
And we will just say an example, when I click on a link with that code, it looks like this:
hxxp://website.com/forum/threads/11774-What-time-is-it-TW7S-Twitter?goto=newpost
I need it to look like this:
hxxp://website.com/forum/threads/11774-What-time-is-it-TW7S-Twitter?p=142001#post142001
The above link was formulated with the following code:
<a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_newpost}}#post{vb:raw lastpostinfo.lastpostid}">
I need to somehow figure out how to register the proper actions(or whatever the terminology is) to allow me to call lastpostid in the template.
Thanks in advance!
|