News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Scrolling Buttons

Started by Bugo, August 09, 2012, 12:52:39 PM

Previous topic - Next topic

Bugo

Link to the mod

Nice buttons for quick scrolling of your forum's pages.

You can enable/disable these buttons at Configuration => Themes and layout => Member options or for each member separately, via Profile => Look and Layout

BaghdadGhost

Hi Bugo,

how to make it work with custom theme?

thanks

Bugo

It works with custom themes.

BaghdadGhost

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.


Jessica.

Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

mgrmgr

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 :)

Bugo

a) Did you try new version?
b) I don't like changelogs :)

mgrmgr

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)

mgrmgr

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

teos55

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.

OCJ

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.


pocttopus

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.

Bugo

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.

Bugo

v0.6, smf21
Experimental version, uses CSS only, without sprites, without JS.

pocttopus

Amazing.
It works v0.6 on smf 2.1rc2.  ;)
Thanks! :)

pocttopus

So, what's the latest update? It's still the latest version.

FrizzleFried

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?

Bugo


FrizzleFried

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. 

chadon

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.


Bugo

Try to replace Unicode arrows with emoji

/Sources/Class-ScrollingButtons.php:


$context
['insert_after_template'] .= '
<a class="arrow_up" href="#top_section">⬆</a>
<a class="arrow_down" href="#footer">⬇</a>'
;


chadon

Thank you Bugo, the problem is solved.  :)

pikeman

Is it possible to change the color of the arrows?

Bugo

Try to change color via Themes/default/css/scrolling_buttons.css

pikeman


mickjav

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


Home of Chart Tracker Elite, Apollo & DJ 2020, Coming soon The Librarian.

Shades.

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'], ' &#9650;</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'], ' &#9650;</a></li>';
Basically just changing "#top_section" to #header 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Kira_

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.
а нас
за що?

Chyandour

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.
You cannot view this attachment.
Any clues as to what might be causing this?

Chyandour

Quote from: Bugo on February 27, 2022, 01:16:47 PMTry to replace Unicode arrows with emoji [nofollow]

[Solved]

/Sources/Class-ScrollingButtons.php:


$context
['insert_after_template'] .= '
<a class="arrow_up" href="#top_section">⬆</a>
<a class="arrow_down" href="#footer">⬇</a>'
;



Advertisement: