Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Automatically Scroll To Top Details »»
Automatically Scroll To Top
Version: 1.0, by ChopSuey ChopSuey is offline
Developer Last Online: Jul 2010 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.4 Rating:
Released: 10-24-2009 Last Update: Never Installs: 36
Template Edits
 
No support by the author.

Upload all files to forum root.
now add this to bottom of headinclude
HTML Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

<script type="text/javascript" src="scrolltopcontrol.js"></script>
DEMO:
http://forum.gamingcube.org/
Scroll down the a the up button will appear, click it!
-----------------
Added more up images.

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.

    Comments
      #32  
    Old 10-26-2009, 08:06 PM
    Trescom's Avatar
    Trescom Trescom is offline
     
    Join Date: Sep 2008
    Location: Poland
    Posts: 33
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    It's not the same.

    Firstly, pointing:
    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js%22%3E%3C/"></script>
    is pointless. And it shows exactly your forum path. Which imho is not too safe. (Correct me if i am wrong).
    That's why i think pointing just the file:
    Code:
    <script type="text/javascript" src="jquery-1.3.2.min.js"></script>
    is much safer.

    Secondly, if you open any tag (here it's <script type="...), you have to close it (</script>).
    There is no closing script tag in ChopSuey's example in the second line, and there should be. Otherwise every template i've tried will crash.
    Reply With Quote
      #33  
    Old 10-26-2009, 08:59 PM
    trotskid trotskid is offline
     
    Join Date: Feb 2009
    Posts: 204
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Quote:
    Originally Posted by Trescom View Post
    ChopSuey, very nice idea. It is really handy if you have big Forum and must scroll all the way down and up to search it. But for me there is mistake. You forgot to close the tag </script> in the second line of your code.

    Also to make that mod work everyone should upload jquery-1.3.2.min file into their forum root folder.
    I've attached jquery-1.3.2.min.js file as the attachement below.

    1. Download jquery-1.3.2.min.js and unpack it to the scrolltopcontrol folder, so you will have jquery-1.3.2.min.js and scrolltopcontrol.js in the same folder.
    2. Upload jquery-1.3.2.min.js, scrolltopcontrol.js and up.png to your Forum root folder.
    3. Copy corrected code seen below and paste it at the bottom of your headinclude template.

    The code you should paste in the headinclude should look like:
    Code:
    <script type="text/javascript" src="jquery-1.3.2.min.js"></script>
    
    <script type="text/javascript" src="scrolltopcontrol.js"></script>

    Thanks to that, your Forum will use the file that is on the same server, than using external address like:
    Code:
    http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
    and the mod will also work faster.
    Thanks, now runs better (Opera for ex), but in FF with smooth scrolling or SmoothWheel still slows down a little bit.
    Reply With Quote
      #34  
    Old 10-26-2009, 09:49 PM
    Trescom's Avatar
    Trescom Trescom is offline
     
    Join Date: Sep 2008
    Location: Poland
    Posts: 33
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    You are welcome

    It is strange that you have problems in FF. Did you check if there is no update for FF? The newest version is 3.5.3. I am using only FF and i have no problems with it.

    Also, maybe try and reinstall FF.

    For now none of my users complained about that mod
    Reply With Quote
      #35  
    Old 10-26-2009, 10:28 PM
    trotskid trotskid is offline
     
    Join Date: Feb 2009
    Posts: 204
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Well, some users I asked think the same . With K-Meleon (Firefox engine) for ex. runs very bad..

    Have you try to use SmoothWeel for FF? It's smoother and sensitive. Maybe you'll notice with this.

    PS: I use the latest version of FF.
    Reply With Quote
      #36  
    Old 10-27-2009, 01:07 AM
    ChopSuey ChopSuey is offline
     
    Join Date: Jun 2009
    Location: Alaska
    Posts: 2,140
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Anyways, i fixed it back. Seems Hostboard was wrong about fixing some dude's problem lol.
    Reply With Quote
      #37  
    Old 10-27-2009, 04:06 AM
    Shaheen's Avatar
    Shaheen Shaheen is offline
     
    Join Date: Nov 2006
    Location: Melbourne
    Posts: 147
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    awesome dude
    Reply With Quote
      #38  
    Old 10-27-2009, 04:43 AM
    ChopSuey ChopSuey is offline
     
    Join Date: Jun 2009
    Location: Alaska
    Posts: 2,140
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Click install? xD
    Reply With Quote
      #39  
    Old 10-27-2009, 10:17 AM
    Trescom's Avatar
    Trescom Trescom is offline
     
    Join Date: Sep 2008
    Location: Poland
    Posts: 33
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    ChopSuey, are you sure your code is correct?

    If i paste your example:
    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="scrolltopcontrol.js">
    All my templates are crushing.
    When i close the tag (on red):
    Code:
    <script type="text/javascript" src="scrolltopcontrol.js"></script>
    Only than everything works fine.

    trotskid i will try SmoothWeel today and let you know.

    ------------------------------------------
    EDIT:

    trotskid i've installed SmoothWeel add-on and for me this mod still works fine with it. I don't see any changes.
    If the scrolling speed is too slow for you, you can always change it in scrolltopcontrol.js file. Edit that file and in the 11th line you will find:
    Code:
    setting: {startline:1000, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
    Text i've selected on red is the speed you can play with. Maybe changing the speed will help a little bit. Just lower the number (default is 1000) and check it.
    Reply With Quote
      #40  
    Old 10-27-2009, 02:25 PM
    ChopSuey ChopSuey is offline
     
    Join Date: Jun 2009
    Location: Alaska
    Posts: 2,140
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Fixed and added more images.
    Reply With Quote
      #41  
    Old 10-27-2009, 02:30 PM
    New Joe's Avatar
    New Joe New Joe is offline
     
    Join Date: May 2009
    Posts: 1,128
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    It doesn't work, it looks like it has a problem if you are running this mod: https://vborg.vbsupport.ru/showthread.php?t=217847
    It doesn't show up and the vbMoods mod doesn't work right.
    Reply With Quote
    Reply

    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT. The time now is 04:26 AM.


    Powered by vBulletin® Version 3.8.12 by vBS
    Copyright ©2000 - 2024, vBulletin Solutions Inc.
    X vBulletin 3.8.12 by vBS Debug Information
    • Page Generation 0.04766 seconds
    • Memory Usage 2,304KB
    • Queries Executed 26 (?)
    More Information
    Template Usage:
    • (1)SHOWTHREAD
    • (1)ad_footer_end
    • (1)ad_footer_start
    • (1)ad_header_end
    • (1)ad_header_logo
    • (1)ad_navbar_below
    • (1)ad_showthread_beforeqr
    • (7)bbcode_code
    • (1)bbcode_html
    • (1)bbcode_quote
    • (1)footer
    • (1)forumjump
    • (1)forumrules
    • (1)gobutton
    • (1)header
    • (1)headinclude
    • (1)modsystem_post
    • (1)navbar
    • (4)navbar_link
    • (120)option
    • (1)pagenav
    • (1)pagenav_curpage
    • (4)pagenav_pagelink
    • (11)post_thanks_box
    • (11)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (11)post_thanks_postbit_info
    • (10)postbit
    • (11)postbit_onlinestatus
    • (11)postbit_wrapper
    • (1)spacer_close
    • (1)spacer_open
    • (1)tagbit_wrapper 

    Phrase Groups Available:
    • global
    • inlinemod
    • postbit
    • posting
    • reputationlevel
    • showthread
    Included Files:
    • ./showthread.php
    • ./global.php
    • ./includes/init.php
    • ./includes/class_core.php
    • ./includes/config.php
    • ./includes/functions.php
    • ./includes/class_hook.php
    • ./includes/modsystem_functions.php
    • ./includes/functions_bigthree.php
    • ./includes/class_postbit.php
    • ./includes/class_bbcode.php
    • ./includes/functions_reputation.php
    • ./includes/functions_post_thanks.php 

    Hooks Called:
    • init_startup
    • init_startup_session_setup_start
    • init_startup_session_setup_complete
    • cache_permissions
    • fetch_threadinfo_query
    • fetch_threadinfo
    • fetch_foruminfo
    • style_fetch
    • cache_templates
    • global_start
    • parse_templates
    • global_setup_complete
    • showthread_start
    • showthread_getinfo
    • forumjump
    • showthread_post_start
    • showthread_query_postids
    • showthread_query
    • bbcode_fetch_tags
    • bbcode_create
    • showthread_postbit_create
    • postbit_factory
    • postbit_display_start
    • post_thanks_function_post_thanks_off_start
    • post_thanks_function_post_thanks_off_end
    • post_thanks_function_fetch_thanks_start
    • post_thanks_function_fetch_thanks_end
    • post_thanks_function_thanked_already_start
    • post_thanks_function_thanked_already_end
    • fetch_musername
    • postbit_imicons
    • bbcode_parse_start
    • bbcode_parse_complete_precache
    • bbcode_parse_complete
    • postbit_display_complete
    • post_thanks_function_can_thank_this_post_start
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete