vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   A Name Hack? (https://vborg.vbsupport.ru/showthread.php?t=122)

04-22-2000 11:59 PM

One of the hacks that I have liked on UBB is the the ability to jump to the latest post in a thread by including an <A Name=xxx> tag to each message. That way anytime someone posts a reply to a message they are taken to the message they just wrote instead of back to the start of the thread. This works really well with really long threads.

Any ideas on including it with this program?

Parker

04-23-2000 07:12 AM

Check out the forum here. A names are already there. This is a template change for the next version.

To see how it works, see the 'Last post' part of any profile. It links to the post.

John

04-23-2000 07:45 AM

What he means is something that I have brought up before.

When you post to a topic, it takes you automatically to the post you just made (post at my UBB if you want to see what he's talking about).
The way this proggie is set up right now, when you make a post it takes you back to the forum index page, not the topic. I think it should *at least* take you to the page your post shows up on.

The way the hack works in UBB is that it puts an anchor (<a name="#335> ) using the post number in a topic, then parses the number by the number of posts per page, then changes the redirects URL from the "between" screen using the proper page number and anchor name to take you to the proper post.
Again, make a post at my board if you want to see it in action.

04-23-2000 08:41 AM

Sorted!

John


All times are GMT. The time now is 06:34 PM.

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.00943 seconds
  • Memory Usage 1,707KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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