vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - To The Top Button (https://vborg.vbsupport.ru/showthread.php?t=147445)

LouiseDM 11-17-2007 05:07 PM

Hi I Got this working by adding in your postbit or postbit legacy

Find
$post[iplogged]

add above this code

<a href="#top" onclick="self.scrollTo(0, 0); return false;"><img src="$stylevar[imgdir_button]/top.gif" alt="$vbphrase[tothetopbutton]" border="0" /></a>

Fungsten 11-17-2007 05:36 PM

Quote:

Originally Posted by LouiseDM (Post 1384489)
Hi I Got this working by adding in your postbit or postbit legacy

Find
$post[iplogged]

add above this code

<a href="#top" onclick="self.scrollTo(0, 0); return false;"><img src="$stylevar[imgdir_button]/top.gif"


Top.gif should tothetop.gif.

Thanks though!!

MV Blackie 11-17-2007 06:18 PM

Quote:

Originally Posted by Fungsten (Post 1384512)
Top.gif should tothetop.gif.

Thanks though!!


that does the trick, man ? what a thrill

StarBuG 11-18-2007 02:30 AM

My hack exists since 3.0 ;)

https://vborg.vbsupport.ru/showthread.php?t=136576

but as a product it's easier for people to install.

LouiseDM 11-19-2007 04:05 PM

Quote:

Originally Posted by Fungsten (Post 1384512)
Top.gif should tothetop.gif.

Thanks though!!

depends what you called the image :rolleyes:

mystic10 11-19-2007 07:33 PM

i got the image to work but when i click on it..doesnt go to the top..confused what should i do now please guide

mystic10 11-19-2007 07:38 PM

nevermind it worked thanks

Dingo14 01-13-2008 02:02 AM

works good have it in postbit legacy

erateinow 12-27-2008 01:27 PM

work perfect in 3.7.4 & 3.8 thank you :)

inciarco 01-26-2009 11:16 PM

For vB3.7.x, (I don't know if for vB3.6.x), is needed to Change on the Plugin "To The Top", the Hook Placing to "postbit_display_start"; (the currently used one don't Display the Code inside the Plugin). ;)

My Best Regards.

:)


All times are GMT. The time now is 06:46 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.01026 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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