Link to the mod (https://custom.simplemachines.org/index.php?mod=3072)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2FAdkmods%2Flogo.png&hash=b7e60a41a3ada5e2ace731e912eef5f3dd40e770) (http://www.smfpersonal.net/)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2Ffamfamfam%2Fuser.png&hash=997d251819d42b9aa15fd08d1b64be6544cd071a)
Autores/Authors: enik (http://www.smfpersonal.net/profiles/enik-u417.html)
^HeRaCLeS^ (http://www.smfpersonal.net/profiles/enik-u259.html)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2Ffamfamfam%2Fpage_white_flash.png&hash=ed86fd5e13fc727a61ef6b0bdbb304d2f610017e)
Características:Este mod insertara un boton para ir hacia el top de tu sitio !!
Las opciones de este mod se encuentran en:
Admin -> ModificacionesCopyright 2011 by SMF Personal @ visita www.smfpersonal.net (http://www.smfpersonal.net/) para soporte oficial.
Si tu quieres ayudarnos,por favor visita nuestra seccion de contribuciones: Contribuir (http://www.smfpersonal.net/about.html;sa=contritube-spanish)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2Ffamfamfam%2Fpage_white_flash.png&hash=ed86fd5e13fc727a61ef6b0bdbb304d2f610017e)
Features:This mod will insert a button to go to the top of your site !!
The options of this mod are in:
Admin -> Modification SettingsCopyright 2011 by SMF Personal @ visit www.smfpersonal.net (http://www.smfpersonal.net/) for official support.
If you want help, please visit our contributions section: Contribute (http://www.smfpersonal.net/about.html;sa=contribute)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2FThemes%2Fdefault%2Fimages%2Fpost%2Ftopicsolved.gif&hash=0a84317c3660ec2368b578377e809aed837f467b)
Idiomas/Languages:o English
o English-utf8
o Spanish_es
o Spanish_es-utf8
o Spanish_latin
o Spanish_latin-utf8
o portuguese_pt
o portuguese_pt-utf8
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2FThemes%2Fdefault%2Fimages%2Fpost%2Ftopicsolved.gif&hash=0a84317c3660ec2368b578377e809aed837f467b)
Compatibilidad/Compatibility: SMF 2.0*
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2FThemes%2Fdefault%2Fimages%2Fpost%2Ftopicsolved.gif&hash=0a84317c3660ec2368b578377e809aed837f467b)
Desarrollador/Developer: Adk-Team (http://www.smfpersonal.net/)
Ohh very good work ;)
Yes good work
Nice Mod
When Update dont forget portuguese file
Thanks Candidosa added to the package ;)
Bye enik...
Thanks ;)
I installed this mod manually...
It works on Mozilla Firefox and IE
but it doesn´t work for Safari ?? Why ?
Because Safari does not support some versions of java.
Bye enik...
Updated to SMF 2.0.1 ;)
Regards enik...
Only works for Curve theme...not other themes.
In other themes you have to make changes through the parse
Quote from: Adk-Team on November 01, 2011, 02:19:34 PM
In other themes you have to make changes through the parse
Understood...however, I get this during install using SMF's Package Manager:
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.It lists the following changes it will make to the additional theme(s):
Execute Modification ./Themes/Anecdota_20g/index.template.php Test failed
1. Replace ./Themes/Anecdota_20g/index.template.php Test successful
2. Add Before ./Themes/Anecdota_20g/index.template.php Test successful
3. Replace ./Themes/Anecdota_20g/index.template.php Test failed
Execute Modification ./Themes/Anecdota_20g/css/index.css Test successful
1. Add Before ./Themes/Anecdota_20g/css/index.css Test successful
Extract File ./Themes/Anecdota_20g/images/Adk-top.png
Where the test fails is searching and replacing the following:
Code: Find
echo '
</body></html>';
The index.template.php file for my theme does not have that, exactly. My theme shows the following code:
echo '
</div>
</body></html>';
That division container may be what's screwing it up. Unfortunately, I'm not a coder and do not know what change to make in order to make it work. It's probably something simple but, could use a hand please...Thanks.
Replace:
echo '
</div>
</body></html>';
Per:
echo '</div>';
if(!empty($modSettings['enable_adk_back_to_top']))
{
adk_backtotop();
}
echo '
</body></html>';
Will give it a try!
Thanks.
Quote from: Adk-Team on November 02, 2011, 05:11:24 AM
Replace:
echo '
</div>
</body></html>';
Per:
echo '</div>';
if(!empty($modSettings['enable_adk_back_to_top']))
{
adk_backtotop();
}
echo '
</body></html>';
Gave the code you gave a try and got this error:
Fatal error: Call to undefined function adk_backtotop() in /xxx/www/xxxxx/xxxxxxxx/glitchpc/Sources/Load.php(2177) : eval()'d code on line 311
Not sure if that code was appearing before, or not. it appeared at the bottom of the theme I currently use as default.
But you have to make other amendments to mod.
I only told you how to modify the error
No worries...
I thought I updated this but, apparently didn't. The fatal error I got was because I did not choose to install the mod on the theme I wanted it on...operator error...my bad. However...in order to get the mod to work on the additional theme...you have to make sure you upload the JavaScript file to the scripts directory of each theme...
Feature request...
Would it be possible to add an option for placement of the arrow? As it stands...it only appears at the bottom-right. Some suggested options:
- Upper-left
- Upper-right
- Lower-left
- Lower-right
- Middle-left
- Middle-right
Thanks, in advance...
Quote from: PS4DEV on July 12, 2011, 07:30:10 AM
I installed this mod manually...
It works on Mozilla Firefox and IE
but it doesn´t work for Safari ?? Why ?
Works on Safari 5.1.1. Tested...and works fine.
Updated to 2.0.2
Would it be possible to have this as a text link instead of a graphic i.e. Back to top
Replace the image with the text you want
Hi,
Pls tell me that how to add this mod with Clear Sky
link http://custom.simplemachines.org/themes/index.php?lemma=2320 (http://custom.simplemachines.org/themes/index.php?lemma=2320)
Thanks
What is your problem ?
Ragards enik...
After installing using Package Manager to both theme, it showing on default theme but not showing in Clear Sky theme.
any suggestions?
Thanks
Attachme index.template of the theme clear sky.
Regards enik...
Quote from: enik on July 09, 2012, 10:31:08 AM
Attachme index.template of the theme clear sky.
Regards enik...
attachment of index.template.php below
thanks enik.
---- edit -----
attachment removed by me..
Move the file "scrollToTop.js" to "./Themes/clearsky/scripts".
You find the file in "./Themes/default/scripts".
Test please.
Regards enik...
Quote from: enik on July 10, 2012, 10:18:41 AM
Move the file "scrollToTop.js" to "./Themes/clearsky/scripts".
You find the file in "./Themes/default/scripts".
And test this index.template please.
Regards enik...
Finally thanks enik, it works fine.
Basically I am not a coder so... i not found main problem.
Thanks again...
No problem.
Regards enik...
SMF 2.0.4 updated ;)
Regards enik...
It doesn't work on two of my themes.
I select the themes to install the mod? May be missing making changes in these themes