Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
To The Top Button Details »
To The Top Button
Mod Version: 1.00, by Bernd Glasstett (Contributor) Bernd Glasstett is offline
Developer Last Online: May 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.6 Rating: (8 votes - 4.75 average) Installs: 48
Released: 17 May 2007 Last Update: 17 May 2007 Downloads: 228
Not Supported Uses Plugins Template Edits Additional Files  

This is a rather small product and it was something which I used to add to our forums everytime an update occured. Now with a news template hook on the right place, which was in 3.6.6 released this edit is finally a thing from the past and I made a product out of it. I used the product, as one phrase needs to be added. It's small, but I think that's ok I personally don't know if anyone also had this idea. However the code was all developed by myself

What it does:
It adds a graphic to every postbit to the right of quick-reply. It's an arrow which points to the top and upon a click brings you to the top of each page. This is very handy if you are down into a loooong page and want quick access to the navbar i.e. It works both with postbit and postbit_legacy.

What to do:
0 template edits
1 file to be uploaded (an image)
1 xml-file to be imported
1 phrase added
1 template added

Please click install, if you use this product.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	postbit.jpg
Views:	761
Size:	38.8 KB
ID:	64432   Click image for larger version

Name:	postbit_legacy.jpg
Views:	589
Size:	38.1 KB
ID:	64433  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 17 Nov 2007, 18:07
LouiseDM's Avatar
LouiseDM LouiseDM is offline
 
Join Date: Jan 2007
Real name: Louise
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>
Reply With Quote
  #32  
Old 17 Nov 2007, 18:36
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Originally Posted by LouiseDM View Post
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!!
Reply With Quote
  #33  
Old 17 Nov 2007, 19:18
MV Blackie MV Blackie is offline
 
Join Date: Nov 2007
Originally Posted by Fungsten View Post
Top.gif should tothetop.gif.

Thanks though!!

that does the trick, man what a thrill
Reply With Quote
  #34  
Old 18 Nov 2007, 03:30
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
My hack exists since 3.0

http://www.vbulletin.org/forum/showthread.php?t=136576

but as a product it's easier for people to install.
Reply With Quote
  #35  
Old 19 Nov 2007, 17:05
LouiseDM's Avatar
LouiseDM LouiseDM is offline
 
Join Date: Jan 2007
Real name: Louise
Originally Posted by Fungsten View Post
Top.gif should tothetop.gif.

Thanks though!!
depends what you called the image
Reply With Quote
  #36  
Old 19 Nov 2007, 20:33
mystic10 mystic10 is offline
 
Join Date: Sep 2007
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
Reply With Quote
  #37  
Old 19 Nov 2007, 20:38
mystic10 mystic10 is offline
 
Join Date: Sep 2007
nevermind it worked thanks
Reply With Quote
  #38  
Old 13 Jan 2008, 03:02
Dingo14 Dingo14 is offline
 
Join Date: Dec 2007
works good have it in postbit legacy
Reply With Quote
  #39  
Old 27 Dec 2008, 14:27
erateinow erateinow is offline
 
Join Date: Sep 2007
Real name: erateinos
work perfect in 3.7.4 & 3.8 thank you
Reply With Quote
  #40  
Old 27 Jan 2009, 00:16
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Lightbulb

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.

Reply With Quote
  #41  
Old 31 Jan 2009, 23:42
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Lightbulb

Also, guided by the #Top Code on the footer Template is a Good Idea to add the Code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To the Template "to_the_top_addon" Like This:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The reason is because sometimes when Clicking on the Button when Browsing from a Forum with "Go To Last Post" or "Go To New Post" Link, this Addresses Cause that the Page Reloads and Go To The Top, Not Only To The Top.

You'll also Notice that is also Faster (Like the Botton To The Top Link that Comes With vBulletin footer).

My Best Regards.

Reply With Quote
  #42  
Old 24 May 2009, 10:01
earthome earthome is offline
 
Join Date: Jan 2009
谢谢,good
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:27.

Layout Options | Width: Wide Color: