vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - Return to Top link in postbits (https://vborg.vbsupport.ru/showthread.php?t=225065)

Cybershaolin 10-15-2009 12:50 AM

Quote:

Originally Posted by Cybershaolin (Post 1898961)
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 (Post 1898964)
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>";');]]>

Bilderback 10-15-2009 01:50 AM

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.

tspaetten 10-15-2009 12:41 PM

Installed

RedHacker 11-02-2009 06:38 AM

How to put right from groan button...?

Datok 11-04-2009 02:33 PM

Hi,

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

Thank you.

Bilderback 11-04-2009 03:51 PM

@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.

RedHacker 11-05-2009 06:39 AM

I find in code <plugin active="1" executionorder="5"> change to <plugin active="1" executionorder="6">

MagicThemeParks 04-10-2010 03:32 AM

Quote:

Originally Posted by RedHacker (Post 1910461)
I find in code <plugin active="1" executionorder="5"> change to <plugin active="1" executionorder="6">

What does this change or fix?

BillieJoe 04-14-2010 08:51 AM

Nice one. :)

*installed*

lostgirl815 04-16-2010 08:17 PM

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.


All times are GMT. The time now is 03:33 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.01253 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (3)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