PDA

View Full Version : Need Page Number on Showthread


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?

rharbison
04-06-2005, 02:24 AM
Anyone have any ideas on how to do this? All I need is the way to extract the page number, I'll do the rest...