Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
To The Top Button Details »»
To The Top Button
Version: 1.00, by Bernd Glasstett Bernd Glasstett is offline
Developer Last Online: Feb 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.6 Rating:
Released: 05-16-2007 Last Update: 05-16-2007 Installs: 50
Uses Plugins Template Edits
Additional Files  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-17-2007, 11:42 AM
sross sross is offline
 
Join Date: Mar 2004
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

didn't work for me, the image doesn't show. most likely because i have a custom postbit legacy template? Any idea what i need to manually add to my template to get the button to show? thanks!
Reply With Quote
  #3  
Old 05-17-2007, 11:46 AM
deezelpope deezelpope is offline
 
Join Date: Feb 2007
Posts: 1,272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>Didn't work for me either...even did an overwrite with the xml...</i>
Reply With Quote
  #4  
Old 05-17-2007, 12:09 PM
Acido Acido is offline
 
Join Date: Apr 2003
Location: Argentina
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

didn't work for me too
Reply With Quote
  #5  
Old 05-17-2007, 12:25 PM
hcmagix hcmagix is offline
 
Join Date: Mar 2006
Location: Berlin / Germany
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alternate solution is.

edit template postbit/postbit_legacy

find
Quote:
$post[iplogged]
add above
Quote:
<a href="#top"><img src="$stylevar[imgdir_button]/top.gif" alt="Top" border="0" /></a>
upload your arrow picture like (top.gif) to /images/buttons

see results

PS. you can also use another place for the arrow picture in the template
Reply With Quote
  #6  
Old 05-17-2007, 01:00 PM
Bernd Glasstett's Avatar
Bernd Glasstett Bernd Glasstett is offline
 
Join Date: Sep 2002
Location: Waldshut-Tiengen Germany
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The template MUST have $template_hook[postbit_controls] in it, which hasn't been added until version 3.6.6 and if you have custom postbits, you need to revert first or add this template hook.

@hcmagix: Of course it can also be done like this, but it's more nifty without template edits
Reply With Quote
  #7  
Old 05-17-2007, 02:39 PM
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Location: Nashville, TN
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heh... I've been doing this on my forum for a while now too after seeing it on an IPB forum once. I too thought about using the postbit template hook for it. Nice to see someone else took the initiative and did it!

Do you have the PSD file for the graphic you used for the button? I'd like to recolor it and use that instead of the one I use now.
Reply With Quote
  #8  
Old 05-17-2007, 05:56 PM
Bernd Glasstett's Avatar
Bernd Glasstett Bernd Glasstett is offline
 
Join Date: Sep 2002
Location: Waldshut-Tiengen Germany
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Download the first version of the graphics pack and select the Arrow Buttons.psd. Download it here:
http://members.vbulletin.com/membersupport.php

Get the first one, as it is the one with layered Photoshop .psd-files.

I am not sure, if I may post the .psd-file here
Reply With Quote
  #9  
Old 05-17-2007, 07:00 PM
Tungsten's Avatar
Tungsten Tungsten is offline
 
Join Date: Jan 2002
Location: Nashville, TN
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, I didn't realize that graphic was in the PSD pack.
Reply With Quote
  #10  
Old 05-17-2007, 08:59 PM
Muellmann's Avatar
Muellmann Muellmann is offline
 
Join Date: Jun 2006
Location: near keyboard
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very handy thx.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 11:49 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.09087 seconds
  • Memory Usage 2,284KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete