Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Marcin

    (@marcinlawrowski)

    Hi,

    auto-scroll works only if the scrollbar is moved to bottom. If you scroll a little up it will not work. If the auto-scroll have been scrolling all the time there would be no way to read previous messages.

    Please tell me what browser are you using. Provide also a link where I can test it.

    Marcin

    Thread Starter motorambler

    (@motorambler)

    Hi Marcin,

    I can send you login info for 3 test users I created so you can test wise chat on my site. Where can I email this info?

    Thread Starter motorambler

    (@motorambler)

    Marcin, you can test the chat at the below url. I have removed and re-installed Wise Chat but it is still refusing to scroll with the chat conversation, forcing users to manually scroll to see the latest chat.

    http://bmmc.motorambler.com/

    Thread Starter motorambler

    (@motorambler)

    Marcin, never mind my last email because we deleted Wise Chat. Our site slowed to a crawl after activating your plugin. As soon as we deactivate Wise Chat everything speeds up again. This was happening with no users or visitors to the site.

    Plugin Author Marcin

    (@marcinlawrowski)

    I am not allowed to ask for or receive credentials on this forum. I can test only public websites. I’m sorry.

    WiseChat does not do any time-consuming calculations on startup. Did you have the plugin installed on just one page or multiple?

    Thread Starter motorambler

    (@motorambler)

    I had Wise Chat installed in the footer, so it was on all pages. The site has 6 pages.

    Plugin Author Marcin

    (@marcinlawrowski)

    Thank you. I will investigate this. Sorry that I can’t help at the moment.

    Plugin Author Marcin

    (@marcinlawrowski)

    The issues with performance are fixed now and ready to release in the version 1.9.0.

    Hi!

    I am using 2.0.1 and have the same problem – changing the AJAX didn’t solve the issue?

    Alex

    To solve this problem:
    1) Go to: wp-content/plugins/wise-chat/js/ui/
    2) Open the file messages.js
    3) Find function isFullyScrolled()
    4) Change it to:

    function isFullyScrolled() {
    		if (isAscendingOrder()) {
    			return (messagesContainer.height() + messagesContainer.scrollTop()) >= messagesContainer[0].scrollHeight;
    		} else {
    			return messagesContainer.scrollTop() == 0;
    		}
    	};

    So basically the change is from == to >=

    Thank you to the author of this chat, it’s amazing πŸ˜‰

    Hi!

    Thanks for your replay. I have changed the code; but without success. No auto-scrolling :-(. I tried both AJAX engines.

    For me it works. Are you sure the file has been changed properly and is not from cache?

    Auto-scrolling will work only if the chat is already scrolled to the bottom.

    Also make sure that you have checked “newest on the bottom” in the options.

    Go to my chat test and tell me if it works for you:
    http://www.ball3d.net.pl/chat-test/

    Hi!

    Your test is working but my site not.
    Don’t know why. Code is changed, “Newest on the bottom” is chosen.
    I am using Mozilla Firefox.

    Regards

    Alex

    Plugin Author Marcin

    (@marcinlawrowski)

    Hi,

    @maniek1986 – Thank you for your appreciation and for trying to provide a solution.

    AZ22 – It would be better if I had debug the problem on your installation of the Wise Chat. Could you share a link to your website?

    Regards
    Marcin

    Hi!

    Thanks, Marcin!

    https://www.itb-admin.xx/unser-itb/groups/
    Then right hand…

    Please replace xx with de

    Kind regards

Viewing 15 replies - 1 through 15 (of 21 total)

The topic ‘Not Auto-scroling’ is closed to new replies.