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)

Bilderback 10-11-2009 10:00 PM

Return to Top link in postbits
 
1 Attachment(s)
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
https://vborg.vbsupport.ru/attachmen...1&d=1255321155

INSTALLATION
  1. Upload this arrow icon https://vborg.vbsupport.ru/attachmen...1&d=1255320050 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

RedHacker 10-12-2009 03:47 AM

Thanks it is very useful....

ericgtr 10-12-2009 03:48 AM

This is a good idea for any forum where people make large posts or copy and paste articles, etc. I added something similar to this to my forum a long time ago but it doesn't have a cool green arrow like this one. Oh and one bug I have on mine is it doesn't work in a post just made in ajax without a page reload for some reason but it's never been that big of a deal for me, just something I thought I would point out for you to test.

Looks good man.

New Joe 10-12-2009 05:58 AM

I don't see this part:
Quote:

# Upload the arrow icon to your images folder. (see attachment)
(Use your own image if you wish)

New Joe 10-12-2009 06:00 AM

My bad i see it now.

Miss Chatterbox 10-12-2009 08:19 AM

Quote:

Originally Posted by New Joe (Post 1898438)
I don't see this part:

I don't see the attachment either - where is it exactly? :confused:

RedHacker 10-12-2009 08:20 AM

Quote:

Originally Posted by Miss Chatterbox (Post 1898463)
I don't see the attachment either - where is it exactly? :confused:

In screenshot left the icon save your hard disk

Miss Chatterbox 10-12-2009 08:24 AM

Quote:

Originally Posted by RedHacker (Post 1898464)
In screenshot left the icon save your hard disk

Ah yes I see it now! Thank you very much! :)

Do you know where in my images folder I should upload it to as there are lots of different folders inside the images folder e.g. icons, buttons, statusicon etc.

Apologies if it's a silly newbie question. :o

RedHacker 10-12-2009 08:38 AM

images/return-to-top.png

Miss Chatterbox 10-12-2009 09:02 AM

Quote:

Originally Posted by RedHacker (Post 1898468)
images/return-to-top.png

Ok thank you! :) It's on the site and working well!

Big thanks to Bilderback! :up:

Im Spazzoid 10-12-2009 11:43 AM

Installed; now to just get people using my forum again ;p

RedHacker 10-12-2009 12:03 PM

I had problem with black Ice Style..... Show button down from other buttons.....

Mihalis 10-12-2009 12:07 PM

Very useful mod. Just a suggestion though... the same link appears in PM messages too, not useful there.

Thanx.

linuxututs 10-12-2009 12:32 PM

Thank you so much for this ! I was just trying to remember where I found the code when I added something like this to one of my phpbb boards.

Thanks a 1,000,000

RedHacker 10-12-2009 04:31 PM

How to fix this....?


https://vborg.vbsupport.ru/

Bilderback 10-12-2009 04:39 PM

I'll look into the Black Ice style this afternoon but it looks like you may need a custom button.

RedHacker 10-12-2009 05:09 PM

Quote:

Originally Posted by Bilderback (Post 1898640)
I'll look into the Black Ice style this afternoon but it looks like you may need a custom button.

Thanks very mucj Bilderback i will wait.... :D

Bilderback 10-12-2009 06:33 PM

1 Attachment(s)
Quote:

Originally Posted by RedHacker (Post 1898633)

I would check the code for the Thanks button as I'm not sure why the image is stacking on the arrow.
But, you can try the image in this attachment.

Ice-Maiden 10-12-2009 07:09 PM

Installed and working just great thanx alot for this it will come in very useful for my site! :)

Dutch_Boy 10-12-2009 07:25 PM

Installed. Thanks !

RedHacker 10-12-2009 07:58 PM

Quote:

Originally Posted by Bilderback (Post 1898695)
I would check the code for the Thanks button as I'm not sure why the image is stacking on the arrow.
But, you can try the image in this attachment.

How to put this....?

snappy1313 10-12-2009 11:17 PM

Very convenient. Thanks!

Bilderback 10-13-2009 12:06 AM

Quote:

Originally Posted by RedHacker (Post 1898745)
How to put this....?

Just upload the return-to-top.png to your images folder (forum/images)
Overwrite the old one if its there since this is a custom made for BlackIce style.

fattony69 10-13-2009 12:08 AM

Very convenient. I like it. Nice job Dudditz!

RedHacker 10-13-2009 04:16 AM

Quote:

Originally Posted by Bilderback (Post 1898883)
Just upload the return-to-top.png to your images folder (forum/images)
Overwrite the old one if its there since this is a custom made for BlackIce style.

Yes but i upload but this button who created only show to Black Ice

Because the others styles i put the default image of the mod....

Cybershaolin 10-13-2009 04:51 AM

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

Bilderback 10-13-2009 05:00 AM

Quote:

Originally Posted by RedHacker (Post 1898952)
Yes but i upload but this button who created only show to Black Ice
Because the others styles i put the default image of the mod....

I see - I assumed you only used a single Style.
This may be added in a future release so that multiple Styles can have different images.

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

I will possibly add return to post one in future release also, maybe as an admin option.

RedHacker 10-13-2009 05:11 AM

Then wait for the update... :(

mitch84 10-13-2009 05:44 AM

great idea! thank you

Prettyeyes4you 10-14-2009 10:54 PM

Thanks, installed this on our test board and it was working so well that my owner said lets go ahead and put it on the main. Appreciate when things go that well

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 12:49 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.01380 seconds
  • Memory Usage 1,816KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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