vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Url link when i click on last post (https://vborg.vbsupport.ru/showthread.php?t=284457)

Psyd0x 06-15-2012 10:12 AM

Url link when i click on last post
 
If i clicking on last post thread the url link look like this:

http://ymarket.org/showthread.php?61...=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

Quote:

Originally Posted by Psyd0x (Post 2339739)
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

Quote:

Originally Posted by Psyd0x (Post 2339744)
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:

Quote:

Originally Posted by Psyd0x (Post 2339739)


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?61...=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.


All times are GMT. The time now is 07:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01132 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete