vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Can't find where to put #top code again (https://vborg.vbsupport.ru/showthread.php?t=187550)

ortegah 08-08-2008 02:17 PM

Can't find where to put #top code again
 
I upgraded recently and I had previously had the link to jump to the top of the page when clicking the top link on any post. I know I had found the info here a long time ago when I first implemented it. Anyhow, for the life of me I can't find it and I can't remember what template I have to modify.

Anyone know or remember?

Opserty 08-08-2008 05:17 PM

Code:

<a name="top"></a>
At the top the header template

Or are you talking about the link to put in the posts?

Edit the postbit(_legacy) template and add:
Code:

<a href="#top">TOP</a>
Wherever you want it to be shown.

ortegah 08-08-2008 05:29 PM

I'm talking about the one you put in the posts. I figured out by digging that it goes in the postbit and I've been playing around with it. I found one modification that puts it under the message, but I want it next to the post number. I'm playing with it, but haven't quite figured it out yet. For now it's under my messages :D

--------------- Added [DATE]1218220647[/DATE] at [TIME]1218220647[/TIME] ---------------

Nevermind I played with it enough til I found it :D


All times are GMT. The time now is 06:40 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.01125 seconds
  • Memory Usage 1,709KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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