vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   End-User Options - Starred Posts (https://vborg.vbsupport.ru/showthread.php?t=323063)

MarkFL 03-31-2017 06:16 PM

Quote:

Originally Posted by DSemen (Post 2584537)
...The problem remains that by clicking the transfer is done not to the selected post, but to the first message in the topic.

What are you clicking?

DSemen 03-31-2017 06:19 PM

Quote:

Originally Posted by MarkFL (Post 2584538)
What are you clicking?

https://vborg.vbsupport.ru/external/2017/03/1.jpg

MarkFL 03-31-2017 06:23 PM

On those links, I get a URL of the format:

Code:

...showthread.php?1104-My-New-Thread?p=2572&viewfull=1#post2572
What format are you getting?

DSemen 03-31-2017 06:27 PM

Link in the address bar
PHP Code:

/showthread.php?t=1105?p=454239&viewfull=1#post454239 


MarkFL 03-31-2017 06:29 PM

Quote:

Originally Posted by DSemen (Post 2584541)
Link in the address bar
PHP Code:

/showthread.php?t=1105?p=454239&viewfull=1#post454239 


Okay, go to that post, and let me know what the link format is for that post...as if you were going to manually link to that post.

DSemen 03-31-2017 06:34 PM

Link leads to the post
PHP Code:

/showthread.php?t=13&p=466900&viewfull=1#post466900 

The link leads to the first post, when I click in mystarpost.php
PHP Code:

/showthread.php?t=13?p=466900&viewfull=1#post466900 

The problem here
13?p=466900&viewfull

MarkFL 03-31-2017 06:37 PM

Please go to the post that should be linked to, and let me know what the format of the link to that post is...

DSemen 03-31-2017 06:44 PM

Sorry, made a mistake when translating into English. I will repeat the new post

Link leads to the post
PHP Code:

/showthread.php?t=13&p=466900&viewfull=1#post466900 

The link leads to the first post, when I click in mystarpost.php
PHP Code:

/showthread.php?t=13?p=466900&viewfull=1#post466900 

The problem here
13?p=466900&viewfull

It is necessary that there should be

13&p=466900&viewfull

MarkFL 03-31-2017 06:52 PM

Okay, in the file "mystarpost.php" locate the line (should be line #177):

PHP Code:

    $post['link'] = fetch_seo_url('thread'$post) . '?p=' $post['postid'] . '&viewfull=1#post' $post['postid']; 

And change that to:

PHP Code:

    $post['link'] = fetch_seo_url('thread'$post) . '&p=' $post['postid'] . '&viewfull=1#post' $post['postid']; 


DSemen 03-31-2017 07:04 PM

Thank you very much!


All times are GMT. The time now is 08:14 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.03275 seconds
  • Memory Usage 1,755KB
  • 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
  • (1)bbcode_code_printable
  • (8)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete