PDA

View Full Version : Show Thread Enhancements - Return to Top link in postbits


Bilderback
10-11-2009, 10:00 PM
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/attachment.php?attachmentid=105272&stc=1&d=1255321155

INSTALLATION
Upload this arrow icon https://vborg.vbsupport.ru/attachment.php?attachmentid=105271&stc=1&d=1255320050 to your images folder.
(Use your own image if you wish)
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: # 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
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
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
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
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
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
How to fix this....?


http://img378.imageshack.us/img378/8249/13126633.jpg

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

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


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

bebo2004
04-17-2010, 12:52 AM
thats good idea
thx

goshalim
06-16-2010, 08:36 AM
VEry nice

There is something similar which thge arrow was following you in evry post , it was moving .

I can give out a link if you want

Dutch_Boy
07-18-2010, 04:22 PM
4.0 version? I really want it! :)

Arrogant-One
11-28-2010, 11:29 PM
<font face="Georgia">Okay, I installed this mod on my forum.

I didn't create a file for the arrow that says Top, I just dragged it into my images folder - so maybe that's whats causing the problem.

Anyway, the problem is for the first post in the thread I get one arrow, in post #2 there are two arrows, in post 3 of the thread there are three arrows in the postbit, and so forth.

Any idea's?</font>

rasp187
11-29-2010, 02:10 AM
Looks great. Thanks!

Arrogant-One
11-29-2010, 04:47 AM
Looks great. Thanks!

Any suggestions for my little problem?

ravenscape
11-30-2010, 01:09 AM
our members on handheld devices love this one, thanks. If I wanted to do a scroll to bottom button like this, how would I do it?

Is there a value to substitute in

onclick=\"scroll(0,0);

?
maybe

onclick=\"scroll(0,99999);

??

Reedly
06-24-2011, 03:49 PM
This quickly became an extremely useful and beloved addition to our community...anyone know how to add this feature to Vbulletin4?