vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Adds a Go to Top Link at a well place (https://vborg.vbsupport.ru/showthread.php?t=228397)

Kolbi 11-18-2009 10:00 PM

Adds a Go to Top Link at a well place
 
1 Attachment(s)
This modification adds a Go to "Top" link at an well placed place.


If you have installed TMS then just import below addon (xml) and you're done.




If you don't have TMS installed then you have to do some manual template edits:

Attachment 106408
Search in template SHOWTHREAD after:
HTML Code:

<a href="showthread.php?{vb:raw session.sessionurl}t={vb:raw threadid}&amp;goto=nextoldest" rel="nofollow">{vb:rawphrase prev_thread}</a>
add below:
HTML Code:

| <a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a>
another good place is
https://vborg.vbsupport.ru/external/2010/01/18.gif
Search in template postbit_legacy after:
HTML Code:

<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
add below:
HTML Code:

<a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;" class="editpost">{vb:rawphrase top}</a>
<span class="seperator">&nbsp;</span>



Please click INSTALL

Regards
Matthias
www.2-wheel-planet.de

mbc100 11-20-2009 12:53 PM

thank u

Dr.osamA 11-22-2009 03:44 AM

thxxxxxxx
________
BIG ++++ VIDS

SİMAR 12-06-2009 01:17 PM

thanks man

LifesGreatestGift 01-13-2010 07:07 PM

I added the following code to my postbit_legacy template

Find:
PHP Code:

<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" /> 


Add After:
PHP Code:

<a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a>
<
span class="seperator">&nbsp;</span


Thank you for the initial code :)

https://vborg.vbsupport.ru/external/2010/01/18.gif

Kolbi 01-14-2010 10:12 AM

Quote:

Originally Posted by TheWindows7Site (Post 1954755)
I added the following code to my postbit_legacy template

Find:
PHP Code:

<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" /> 


Add After:
PHP Code:

<a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a>
<
span class="seperator">&nbsp;</span


Thank you for the initial code :)

https://vborg.vbsupport.ru/external/2010/01/18.gif

Can I add this code to first post?
As an additional place?

RedHacker 01-14-2010 10:44 AM

Quote:

Originally Posted by TheWindows7Site (Post 1954755)
I added the following code to my postbit_legacy template

Find:
PHP Code:

<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" /> 


Add After:
PHP Code:

<a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a>
<
span class="seperator">&nbsp;</span


Thank you for the initial code :)

https://vborg.vbsupport.ru/external/2010/01/18.gif

Thanks.....

LifesGreatestGift 01-14-2010 07:45 PM

Quote:

Originally Posted by Kolbi (Post 1955326)
Can I add this code to first post?
As an additional place?

Yes you can :)

Kolbi 01-16-2010 03:39 PM

Added :)

DaSpyda 01-17-2010 11:26 PM

Added, but I'd like two things, if possible...

add image of up arrow so it fits in with other buttons, and
HTML to make it appear to the left, right under the User's info box.

Thanks, gang!!


All times are GMT. The time now is 10:02 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.01292 seconds
  • Memory Usage 1,757KB
  • 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
  • (4)bbcode_html_printable
  • (6)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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