rharbison
03-26-2005, 07:15 PM
I'm creating a hack on the showthread page. I've added a link that would open the same page in a new screen.
I'm using the following link, which gets the correct thread ID, but not the page number:
<a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]&p=$curpage" target="_blank">
I've tried a bunch of variations, "page=" instead of "p=", with and without address2, etc. etc.
What's the right syntax to get it to add the page number? Also, if I could have it extract the number of replies per page (shown as PP in the URL) that would be helpful too.
Can anyone tell me how to do this?
I'm using the following link, which gets the correct thread ID, but not the page number:
<a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]&p=$curpage" target="_blank">
I've tried a bunch of variations, "page=" instead of "p=", with and without address2, etc. etc.
What's the right syntax to get it to add the page number? Also, if I could have it extract the number of replies per page (shown as PP in the URL) that would be helpful too.
Can anyone tell me how to do this?