Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Return to Top link in postbits Details »»
Return to Top link in postbits
Version: 1.00, by Bilderback Bilderback is offline
Developer Last Online: Feb 2018 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.4 Rating:
Released: 10-11-2009 Last Update: 10-11-2009 Installs: 56
Uses Plugins
Re-useable Code Additional Files  
No support by the author.

Return to Top link in postbits

Description
This vBulletin product displays a small green arrow within every post
which will return user to the top of thread when clicked.

Screenshot


INSTALLATION
  1. Upload this arrow icon to your images folder.
    (Use your own image if you wish)
  2. Import the XML file into your Product manager

VERSION HISTORY
  • version 1.0
    ~original release

Download Now

File Type: xml product-dudditz_rtt_5.xml (933 Bytes, 221 views)

Screenshots

File Type: png screenshot_rtt.png (13.3 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 10-15-2009, 12:50 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
Installed. Nice but it says that it returns to the top of the thread. In fact, it should instead returns to the first post of the thread. If you have a chatbox at top along with other stuff, you get returned to the top of the page....
Quote:
Originally Posted by Bilderback View Post
I will possibly add return to post one in future release also, maybe as an admin option.
Let say I would like to go ahead instead of waiting for the update. What should I change in the following code to have it returning to first post instead of top of page?

Code:
<![CDATA[eval('$template_hook[postbit_controls] .= "<a href=\"#top\" onclick=\"scroll(0,0); return false;\"><img src=\"' .$vbulletin->options['bburl']. '/images/return-to-top.png\" alt=\"top\" border=\"0\" /></a>";');]]>
Reply With Quote
  #33  
Old 10-15-2009, 01:50 AM
Bilderback's Avatar
Bilderback Bilderback is offline
 
Join Date: Sep 2007
Location: Illinois
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been looking into that.
At first I thought a simple postid link would work but after I thought about it,
what happens if a user is on page 4 of a thread?
Hence, the first postid would not work as it returns to page 1.
So it will take some time for me to figure this one out.
Reply With Quote
  #34  
Old 10-15-2009, 12:41 PM
tspaetten tspaetten is offline
 
Join Date: Mar 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed
Reply With Quote
  #35  
Old 11-02-2009, 06:38 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to put right from groan button...?
Reply With Quote
  #36  
Old 11-04-2009, 02:33 PM
Datok Datok is offline
 
Join Date: Oct 2009
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Would it be possible to make it "Go To Last Post"?

Thank you.
Reply With Quote
  #37  
Old 11-04-2009, 03:51 PM
Bilderback's Avatar
Bilderback Bilderback is offline
 
Join Date: Sep 2007
Location: Illinois
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@RedHacker
I dont know what the groan button is, but it must use the same template hook.
@Datok
I was working on some admin settings such as last post placement and custom icons per Style used but since vb4 is nearing release, I am waiting to make any decisions.
Reply With Quote
  #38  
Old 11-05-2009, 06:39 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I find in code <plugin active="1" executionorder="5"> change to <plugin active="1" executionorder="6">
Reply With Quote
  #39  
Old 04-10-2010, 03:32 AM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedHacker View Post
I find in code <plugin active="1" executionorder="5"> change to <plugin active="1" executionorder="6">
What does this change or fix?
Reply With Quote
  #40  
Old 04-14-2010, 08:51 AM
BillieJoe BillieJoe is offline
 
Join Date: Mar 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one.

*installed*
Reply With Quote
  #41  
Old 04-16-2010, 08:17 PM
lostgirl815 lostgirl815 is offline
 
Join Date: Apr 2006
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice - thanks!

Question... if I wanted to put it to the left of quick reply, where would I change that? I don't see it in the template.
Reply With Quote
Reply


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 01:28 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.04511 seconds
  • Memory Usage 2,330KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete