vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Link directly to a post (https://vborg.vbsupport.ru/showthread.php?t=95381)

bashy 04-12-2006 05:56 PM

Simple mod m8 well done :)

user02934123123 05-30-2006 08:40 AM

I've noticed that this hack seems not to work. It installed without problem and inserts the appropriate link into posts. However, these links, with their extra reference markers, don't actually go to the appropriate post if the thread is longer than one page: if the message is is, for example, on the second page of a thread, the link will simply take you to the first page of the thread.

This seems a very serious problem; on a board with active posters and thus long threads, it makes it essentially useless.

Any fix?

welo 05-30-2006 12:09 PM

Hmm, good catch. I'll track it down.

user02934123123 06-04-2006 12:31 PM

Quote:

Originally Posted by welo
Hmm, good catch. I'll track it down.

Have you made any progress on this? It's becoming somewhat pressing, since my users are using the links it generates as hyperlinks in their posts, and as those links don't work properly (cf. my comments above), messages are being posted across the system that include bad links. It's getting to the point where I'm really going to need to uninstall the hack if this can't be sorted.

But I do hope you'll get a fix out, though, as I quite like the functionality!

welo 06-04-2006 02:01 PM

No, haven't had the chance yet. And I'm out the door right now. All I know is, it was working all the way through 3.5.2. One of the upgrades changed something in the way multiple pages are displayed, so regardless what the fix is, your members' broken urls are likely to stay that way. My recommendation is to uninstall it for now. I'll look at it this evening and see if it's resolvable.

user02934123123 06-05-2006 07:10 AM

Quote:

Originally Posted by welo
No, haven't had the chance yet. And I'm out the door right now. All I know is, it was working all the way through 3.5.2. One of the upgrades changed something in the way multiple pages are displayed, so regardless what the fix is, your members' broken urls are likely to stay that way. My recommendation is to uninstall it for now. I'll look at it this evening and see if it's resolvable.

Thanks for this. I've uninstalled the hack and clicked ::uninstall:: above for the time being. I'll be keeping an eye on this thread, though, waiting to see if you can come up with a fix for this bug, and if so will look forward to re-installing.

Scharesoft 06-09-2006 04:11 PM

It's a good hack, but with this bug it`s useless for me :( Do you think it's possible to fix it?

EDIT: Ok, it's fixed by liwo :)

liwo 06-09-2006 04:20 PM

A fix for this is actually quite simple. Just use this code. (I changed the t=$thread[threadid] to p=$post[postid], so vB finds the thread and the correct page by the postnumber)

Code:

<!-- Link for post anchor -->
&nbsp;<a href="showthread.php?$session[sessionurl]p=$post[postid]#post$post[postid]" title="Anchor location for this post" style="text-decoration: none">&sect;</a>
<!-- /Link for post anchor -->


welo 06-09-2006 04:50 PM

Wow, thanks for that liwo. I've been getting up every day at 3:30am to get to work, then doing night class so haven't had the chance to look. Don't happen to know if your fix works on VB 3.6 do you? I haven't had time to install a test board yet.

Scharesoft 06-09-2006 05:10 PM

We have just test it on vB 3.5


All times are GMT. The time now is 10:34 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.00966 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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