Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 06-15-2012, 10:12 AM
Psyd0x Psyd0x is offline
 
Join Date: Dec 2011
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 06-15-2012, 10:21 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psyd0x View Post
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.
Reply With Quote
  #3  
Old 06-15-2012, 10:22 AM
Psyd0x Psyd0x is offline
 
Join Date: Dec 2011
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why the last post not forward to the orginal url without the &p=2178#post2178
Reply With Quote
  #4  
Old 06-15-2012, 10:27 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psyd0x View Post
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 View Post

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.
Reply With Quote
  #5  
Old 06-15-2012, 10:38 AM
Psyd0x Psyd0x is offline
 
Join Date: Dec 2011
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default


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
Reply With Quote
  #6  
Old 06-15-2012, 10:50 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 06-15-2012, 11:00 AM
Psyd0x Psyd0x is offline
 
Join Date: Dec 2011
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using the defualt forumhome_lastpostby template
Reply With Quote
  #8  
Old 06-15-2012, 11:05 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03892 seconds
  • Memory Usage 2,222KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete