PDA

View Full Version : Url link when i click on last post


Psyd0x
06-15-2012, 10:12 AM
If i clicking on last post thread the url link look like this:

http://ymarket.org/showthread.php?610-Theme&p=2178#post2178

and when I click on the thread not from last post the url link look like this:

http://ymarket.org/showthread.php?610-Theme

How can I remove this : &p=2178#post2178 from the last post links?

kh99
06-15-2012, 10:21 AM
How can I remove this : &p=2178#post2178 from the last post links?


If you did that it wouldn't be a "last post" link any more, it would just go to the beginning of the thread.

Psyd0x
06-15-2012, 10:22 AM
Why the last post not forward to the orginal url without the &p=2178#post2178

kh99
06-15-2012, 10:27 AM
Why the last post not forward to the orginal url without the &p=2178#post2178


I don't understand. Are you saying that this link:


http://ymarket.org/showthread.php?610-Theme


doesn't go to the beginning of the thread? It does for me. I think sometimes if you click a link to the same page you're already on the browser remembers where you were on the page, but otherwise I don't know.

Psyd0x
06-15-2012, 10:38 AM
http://screensnapr.com/e/P4XAVk.jpg
No, When Im clicking on any thread at last post it's adding more words to the link
here is example forward for the last post "theme":
http://ymarket.org/showthread.php?610-Theme&p=2178#post2178
It's added &p=2178#post2178 to the link And i want to change it to forward to:
http://ymarket.org/showthread.php?610-Theme
without the &p=2178#post2178, only the last post add the &p=2178#post2178 to the url link

kh99
06-15-2012, 10:50 AM
OK, I think I understand what you're saying - when you are in the forum view, the last post title url says "&goto=newpost#XXXX" and the #XXXX shouldn't be there. I suppose that's a problem with your custom style - it looks like that part is in the "forumhome_lastpostby" template.

Psyd0x
06-15-2012, 11:00 AM
I'm using the defualt forumhome_lastpostby template

kh99
06-15-2012, 11:05 AM
What page is that picture from? I was assuming it's from forumdisplay.php.

If you go to your options , under General Settings there's an option for putting template names in html comments. If you turn that on then view the page source, you should be able to see which template the links are in.

Maybe the problem isn't in the template, but if it isn't then I have no idea.