News:

Wondering if this will always be free?  See why free is better.

Main Menu

Go Up & Go Down

Started by M-DVD, February 09, 2009, 10:12:09 AM

Previous topic - Next topic

M-DVD

Link to Mod

MOD Go Up & Go Down v1.2
==================






  • Autor:
M-DVD
  • Version:
1.2
  • Release:
05th February 2009
  • Languages:

  • Compatible With:
SMF 1.1.1 - 1.1.8
SMF 2 Beta 3 & 4 & RC1




Comment this Mod
My MODs
Images
Help support my MODs


Features:

  • With this MOD you can Enable Go Up/Go Down buttons in Post.

    Admin > Configuration > Features and Options > Layout and Options

  • Also, you can Enable Go Previous/Go Next buttons in Post.

  • And, you can enable effect Smooth in auto-scrolling.

Note: Thanks and Credits authorship of smooth.js to: dezinerfolio.com (read license.txt)

Thanks to ameo for idea.

==========================

Languages (normal & utf-8)


$txt['topbottomPostEnable'] = 'Enable Go Up/Go Down buttons in Post';
$txt['topbottomNextEnable'] = 'Enable Go Previous/Go Next buttons in Post';
$txt['topbottomPostSmooth'] = 'Enable Smooth auto-scrolling.';


I welcome new translations here

==========================

Características:

  • Con este MOD puedes activar botones Ir Arriba/Ir Abajo en los Mensajes.

    Administración > Configuración > Características y Opciones > Diseño (Temas)

  • También, puedes activar botones Ir Anterior/Ir Siguiente en los Mensajes.

  • Y puedes activar un efecto Suave para el auto-scrolling.

Nota: Gracias y créditos de autor de smooth.js a: dezinerfolio.com (leer licencia.txt)

Fin.

Özgür

Nice Effect =) I love it. Thank you M-DVD =)
So Long

ameo

CROATIAN translation » HRVATSKI prijevod

$txt['topbottomPostEnable'] = 'Omoguci  Gore/Dolje  gumbe u Postu';
$txt['topbottomPostSmooth'] = 'Omoguci glatko klizanje.';



By the way, I wasn't so much thrilled in other [request] topic because upon installation on 1.1.8.
I received an error in index.template.php and thought I installed it and it's working, my second request
failed to install.

That means no smooth scrolling for me.  :(
I hope everyone else will have much more luck than I did.

Could you tell me what to insert where, so smooth scrolling could work.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

M-DVD

Quote from: edi67 on February 09, 2009, 01:43:40 PM
intersting

Quote from: Özgür´ on February 09, 2009, 11:20:31 AM
Nice Effect =) I love it. Thank you M-DVD =)

Thanks for your comment :D

Quote from: ameo on February 09, 2009, 01:32:32 PM
CROATIAN translation » HRVATSKI prijevod

$txt['topbottomPostEnable'] = 'Omoguci  Gore/Dolje  gumbe u Postu';
$txt['topbottomPostSmooth'] = 'Omoguci glatko klizanje.';



By the way, I wasn't so much thrilled in other [request] topic because upon installation on 1.1.8.
I received an error in index.template.php and thought I installed it and it's working, my second request
failed to install.

That means no smooth scrolling for me.  :(
I hope everyone else will have much more luck than I did.

Could you tell me what to insert where, so smooth scrolling could work.

Thanks for translate. :D

Should be installed fine in the default theme.  :-\

But no problem, it's easy. You must open your index.template theme.

Search (or similiar):

<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>

and add

', (empty($modSettings['topbottomPostSmooth']) ? '' : '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/smooth.js?fin11"></script>'), '


Note: if you like, you can attach your index.template.php


ameo

#5
No need 2 M-DVD. I did what you said and works like a charm.




DMN it. I think I've noticed a bug. Maybe it is just me, but when I click on any link that leads to last post on front page of forum [index]
nothing happens. It's like I didn't click on link at all.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

roadrunner33

I have this code at the very top of all pages:
Quote// MOD Go Up & Go Down $txt['topbottomPostEnable'] = 'Enable Go Up/Go Down buttons in Post'; $txt['topbottomPostSmooth'] = 'Enable Smooth auto-scrolling.';

and I am missing the text to the left of the admin boxes for ''Enable Go Up/Go Down buttons in Post' and 'Enable Smooth auto-scrolling.  The check boxes are there, but no text identifying the boxes.

Apparently various scripts did not install in the correct areas? 

Please advise on a fix for this.  Thank you!

4fit?

Quote from: roadrunner33 on February 10, 2009, 03:17:06 AM
I have this code at the very top of all pages:
Quote// MOD Go Up & Go Down $txt['topbottomPostEnable'] = 'Enable Go Up/Go Down buttons in Post'; $txt['topbottomPostSmooth'] = 'Enable Smooth auto-scrolling.';

and I am missing the text to the left of the admin boxes for ''Enable Go Up/Go Down buttons in Post' and 'Enable Smooth auto-scrolling.  The check boxes are there, but no text identifying the boxes.

Apparently various scripts did not install in the correct areas? 

Please advise on a fix for this.  Thank you!
Open your language file English.php.  The text you are seeing was either placed before the opening PHP tag (<? php) or after the closing PHP tag (?>).  Simply move it inbetween the tags and you should be good to go.

M-DVD

#8
Translation uploaded :)

Quote from: ameo on February 09, 2009, 03:08:28 PM
DMN it. I think I've noticed a bug. Maybe it is just me, but when I click on any link that leads to last post on front page of forum [index]
nothing happens. It's like I didn't click on link at all.

I can see your forum?

Quote from: roadrunner33 on February 10, 2009, 03:17:06 AM
I have this code at the very top of all pages:
Quote// MOD Go Up & Go Down $txt['topbottomPostEnable'] = 'Enable Go Up/Go Down buttons in Post'; $txt['topbottomPostSmooth'] = 'Enable Smooth auto-scrolling.';

and I am missing the text to the left of the admin boxes for ''Enable Go Up/Go Down buttons in Post' and 'Enable Smooth auto-scrolling.  The check boxes are there, but no text identifying the boxes.

Apparently various scripts did not install in the correct areas? 

Please advise on a fix for this.  Thank you!

Solved?

timned88

i installed this mod and it deactivated the expand/collapse buttons. 


Özgür

Quote from: NIBOGO on February 10, 2009, 05:27:15 PM
Demo site??

Nice mod my friend ;)


http://www.rockayseri.net/rk/haberler/muslumanlarin-heavy-metal-tutkusu-kitap-oldu/
So Long


M-DVD

Quote from: timned88 on February 10, 2009, 02:20:49 PM
i installed this mod and it deactivated the expand/collapse buttons.

Hi, I can see this? URL? what expand/collapse buttons? thanks.


Bass_Chaz

Great Mod! Installed smooth and works well on my 1.1.8

Keep up the great work...!

timned88

#15
Quote from: M-DVD on February 10, 2009, 06:48:54 PM
Quote from: timned88 on February 10, 2009, 02:20:49 PM
i installed this mod and it deactivated the expand/collapse buttons.

Hi, I can see this? URL? what expand/collapse buttons? thanks.

on the stats page... expand/collapse to turn the monthly stats into days and vice versa (the little +/- button)

koolwater

Quote from: timned88 on February 10, 2009, 08:32:49 PM
Quote from: M-DVD on February 10, 2009, 06:48:54 PM
Quote from: timned88 on February 10, 2009, 02:20:49 PM
i installed this mod and it deactivated the expand/collapse buttons.

Hi, I can see this? URL? what expand/collapse buttons? thanks.

on the stats page... expand/collapse to turn the monthly stats into days and vice versa (the little +/- button)

Same problem on my forum when I use the mod,  my expand and collapse categories stop working and the recent posts links stop working too. 

You can see it on my site hxxp:4reelfishing.net/messageboard/index.php [nonactive]

If you click on the -  or + in each category the category will not collapse or expand anymore and when you try to click on a recent posts link at the bottom it doesn't work anymore either.

Any suggestions,  seems like a cool mod I would like to use.  I'll keep the mod enabled for now so you can see what its doing.

Thanks

M-DVD

#17
Quote from: koolwater on February 10, 2009, 11:14:44 PM
You can see it on my site http://4reelfishing.net/messageboard/index.php

Thanks.

Disable the smooth effect and try. I think there is a clash of javascript.

I need time to see which javascript clash with shooth.js in your page.


I am not shooth.js the developer, but i will make an effort.

--

This javascript seems to have problems with some anchors (cannot be so good)  >:(. Will be more difficult to correct  :-\

Here is dawn. Tomorrow i will tell more accurately.


koolwater

Quote from: M-DVD on February 10, 2009, 11:38:08 PM
Quote from: koolwater on February 10, 2009, 11:14:44 PM
You can see it on my site hxxp:4reelfishing.net/messageboard/index.php [nonactive]

Thanks.

Disable the smooth effect and try. I think there is a clash of javascript.

I need time to see which javascript clash with shooth.js in your page.

I am not shooth.js the developer, but i will make an effort.


Yeah they all work when I disable the smooth effect,  thanks.

Marcus Forsberg

Nice, but I still wanted to do this ;)

Swedish:


$txt
['topbottomPostEnable'] = 'Aktivera Gå upp/Ned knappar i alla inlägg';
$txt['topbottomPostSmooth'] = 'Aktivera effektfull autoscrollning.';

Advertisement: