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)

Eq4bits 02-02-2010 06:56 PM

Quote:

Originally Posted by Kolbi (Post 1969178)
Can you try this:
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>

instead of:
HTML Code:

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

?

is there a way to put an up arrow image in there instead of the pencil image? perhaps it's the 'class='editpost' that puts the pencil image in?

Kolbi 02-02-2010 07:06 PM

I guess your right :)

Perhaps tomorrow or this week I work out a new version with a own top image :)

Eq4bits 02-02-2010 07:29 PM

thanks
I tried using the image I had used with this/a similar hack on my 3.x forum before upgrading, but... well it halfway covered up the word 'Top' and wasn't centered in the 'row' vertically, looked gawdawful

Eq4bits 02-02-2010 07:31 PM

maybe adding a new 'class' to the postbit.css or additional.css would work as well

Kolbi 02-03-2010 11:29 AM

I guess something like this has to be done. Sorry that I haven“t the time yet to solve this.

massizero 08-30-2010 06:44 PM

any luck with the arrow :) ??

BadgerDog 09-01-2010 03:17 PM

Installed ... thanks .. :)

Works well using your "change" suggestion to the other poster here ...

Code:

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

Regards,
Badger

AliceHoward 09-23-2010 03:05 PM

1 Attachment(s)
Quote:

Originally Posted by massizero (Post 2091699)
any luck with the arrow :) ??

Dirty work-around,

upload the attached arrow image to your skins button folder then use this replacement code for the postbitlegacy.

Code:

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


Taurus1 09-25-2010 11:10 PM

Thanks for this, and a big thanks also to AliceHoward. Works perfectly, and the little green arrow looks great!

BANDiT600 03-29-2012 08:19 AM

1 Attachment(s)
I think this icons are the best.


All times are GMT. The time now is 08:53 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.01076 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_html_printable
  • (2)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