Link to the mod (https://custom.simplemachines.org/index.php?mod=3433)
Nice buttons for quick scrolling of your forum's pages.
You can enable/disable these buttons at Configuration => Themes and layout => Theme Settings for each theme separately.
This mod uses anchors (block identifiers) for scrolling up or down.
In some themes, anchors may be missing in the header or footer. In this case, you need to add them manually. Sometimes these anchors may differ from the anchors in the default theme (Curve2). In this case, you need to specify the names of the anchors used in the settings of the specific theme.
Hi Bugo,
how to make it work with custom theme?
thanks
It works with custom themes.
it does not on mine. Is it because I have another similar mod installed? I disabled it though. let me try uninstall it and see how things go.
good mod
A good mod, thank you.
But (sorry) as usual for me I have two suggestions.
a) enable (rather implement) such buttons also in other areas of the forum. There are a lot of places (f.x. in the Admin-areas) where I sorely miss such a scroll help (browse modifications to the version change at the bottom of that page)
b) can you put a changelog in the description/readme text? As of now I have to dig in the changes just to find out that don't need the correction of a typo which I corrected already for my installation.
But thank you as well :)
a) Did you try new version?
b) I don't like changelogs :)
Quote from: Bugo on September 17, 2012, 08:20:00 AM
a) Did you try new version?
b) I don't like changelogs :)
a) Because there is no change log I did not yet know there was such a change in V 0.2.0.2 :)
b) well - me too (when writing) for reading see a)
Quote from: Bugo on September 17, 2012, 08:20:00 AM
a) Did you try new version?
...
I did today - Just hugs and thank you
Bugo,
I know this topic is old, but is it possible to place the buttons somewhere near the bottom right corner ?
A very handy tool indeed, thanks.
I used a friends iPad while on holiday to access the site and some problems with SMF and the scroll buttons - they didnt work. If you don't have one I guess its hard to test.
The iPad was 2 or 3 years old - thats all I know. The scroll buttons just stuck at the top of the template and didnt move down as they usually do.
What is today's update?
Also it would be awesome if there is an option to change color with css style's instead of using .png file's for 2.1rc2 version.
Quote from: pocttopus on June 29, 2020, 04:07:49 AM
What is today's update?
Fixes for SMF 2.0.x.
Quote from: pocttopus on June 29, 2020, 04:07:49 AM
Also it would be awesome if there is an option to change color with css style's instead of using .png file's for 2.1rc2 version.
Thanks for your idea. I'll think about that.
v0.6, smf21
Experimental version, uses CSS only, without sprites, without JS.
Amazing.
It works v0.6 on smf 2.1rc2. ;)
Thanks! :)
So, what's the latest update? It's still the latest version.
FEATURE REQUEST: I have some users who love these buttons. I also have some users who continually complain they clutter up the look. If would be incredible if you were to add functionality to allow users to choose if they want to see the buttons or not in their profile. Any chance they could happen one day?
99.9%
If you're in the mood to take requests...
:)
... there is different form software that uses buttons that look almost like yours... but they locate the buttons at the bottom right rather than centered right. An option to choose location (top/middle/bottom) would be pretty darned great too.
:)
Thank you for doing what you do.
Hi, I have been using this mod for a long time but with the last version some users under Android or Mozilla browsers have issues with the arrows' display.
Try to replace Unicode arrows with emoji (https://unicode-table.com/en/emoji/symbols/arrow/)
/Sources/Class-ScrollingButtons.php:
$context['insert_after_template'] .= '
<a class="arrow_up" href="#top_section">⬆</a>
<a class="arrow_down" href="#footer">⬇</a>';
Thank you Bugo, the problem is solved. :) ☮
Is it possible to change the color of the arrows?
Try to change color via Themes/default/css/scrolling_buttons.css
It works, thanks Bugo! (https://vukovisadunava.com/Smileys/mojismajliji/thumbup.gif)
This works On Most of my Themes except Alien Shades By
@Shades., It works on the down but not Up.
This is my test site https://www.databasedreams.co.uk/testing/index.php
Quote from: mickjav on March 13, 2022, 12:30:10 PMThis works On Most of my Themes except Alien Shades By @Shades., It works on the down but not Up.
This is my test site https://www.databasedreams.co.uk/testing/index.php
I fixed this in the last update. ;)
Open Alien_Shades_21_1/index.template.php and
Find:
<li class="floatright"><a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', (!empty($modSettings['requireAgreement'])) ? '| <a href="' . $scripturl . '?action=agreement">' . $txt['terms_and_rules'] . '</a>' : '', ' | <a href="#top_section">', $txt['go_up'], ' ▲</a></li>';
Replace with:
<li class="floatright"><a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', (!empty($modSettings['requireAgreement'])) ? '| <a href="' . $scripturl . '?action=agreement">' . $txt['terms_and_rules'] . '</a>' : '', ' | <a href="#header">', $txt['go_up'], ' ▲</a></li>';
Basically just changing "#top_section" to #header 8)
If someone wants arrows not in the bottom corner, but in the center, change
bottom: 70px; to bottom: calc(50% + 23px); for the top arrow
and
bottom: 20px; to bottom: calc(50% - 23px); for the bottom arrow
in the scrolling_buttons.css file.
Note: css files are cached by the browser. You won't see any changes until this file in your browser cache is updated.
Hi,
SMF 2.1.3. Scrolling buttons mod installs okay without error and displays the buttons on android phones, but on the laptop in Firefox or Chrome the button placeholders are there but no button arrows show.
updownbuttons.png
Any clues as to what might be causing this?
Quote from: Bugo on February 27, 2022, 01:16:47 PMTry to replace Unicode arrows with emoji (https://unicode-table.com/en/emoji/symbols/arrow/)
[Solved]
/Sources/Class-ScrollingButtons.php:
$context['insert_after_template'] .= '
<a class="arrow_up" href="#top_section">⬆</a>
<a class="arrow_down" href="#footer">⬇</a>';
The go down button doesn't work on the Repulse theme, SMF 2.1.4
Open index.template.php of your theme, find
<footer>
replace with
<footer id="footer">
The go up button doesn't work on the RedicalRed theme, SMF 2.1.4, and the code you posted (<footer>) isn't included in the index.template.php of the theme.
So, there's another thing going on here. Let's try thinking outside the box for a minute.