collapse collapse

* Archive Notice

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work. This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 341
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Author Topic: shoutbox, reverse order, custom smileys causes bad scrolling in some browsers  (Read 6424 times)

0 Members and 1 Guest are viewing this topic.

Offline telemus

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Hello all,

Hopefully this is posted in the correct place.

I will start this off by mentioning that this issue only appears to happen in FireFox and Google Chrome -- NOT in Internet Explorer 9
I've recently ran into an issue since I've added more custom smileys to my shoutbox.
I will try to explain this to the best of my knowledge.

After I added the new smileys, the shoutbox randomly scrolls up just enough to where it cuts off 2-3 lines in the shoutbox. (Attachment #1) so I have to manually scroll it back down to see what was said. --which this issue only shows up when smileys are put into the shoutbox. If there are no smileys, there are no issues..

After I send a message, the shoutbox will stay at the bottom, but then randomly go back up 2-3 lines again.
So it's a constant battle, and it started when I added smileys.
The only way I know how to actually fix it is to move to IE and IE is reallllly bad :(
Does anyone know how this can be fixed for Chrome / Firefox?

If someone needs a test account to view this problem, just let me know. I would love to get this fixed  :)

Thank you in advance
« Last Edit: March 11, 2013, 03:41:42 PM by AngelinaBelle »

Offline telemus

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shoutbox scrolling up randomly?
« Reply #1 on: December 31, 2012, 12:42:19 AM »
To add, I reversed the order back to default and the issue does not exist.
It has something to do with it being in reverse order. but I really love reverse order and everyone has gotten used to it.

Offline telemus

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shoutbox scrolling up randomly?
« Reply #2 on: December 31, 2012, 01:19:20 AM »
After doing some more troubleshooting, it appears that MAYBE the scrollHeight is being called before the images are fully loaded which is causing an issue with it being able to scroll all the way down..


Code: [Select]
if ($shoutbox['reverse'])
echo '
var objDiv = document.getElementById("shouts_', $shoutbox['id'], '");
objDiv.scrollTop = objDiv.scrollHeight;';


Me and a friend brainstorming

but it seems the scrollHeight is being called before the images are actually loaded? if that makes any sense

Offline TinMan

  • Semi Newbie
  • *
  • Posts: 43
    • RC Arcade
Re: Shoutbox scrolling up randomly?
« Reply #3 on: December 31, 2012, 10:47:35 AM »
Did this happen before you added the new smileys?  Not sure if it will help but after adding new smileys, you may try to empty the file cache in forum maintenance.

Offline telemus

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shoutbox scrolling up randomly?
« Reply #4 on: December 31, 2012, 01:45:35 PM »
well, I wouldn't think that would be the case. It only happens in reverse order (which is what I want to use)

I moved back to normal to where the new shouts are on the top and the issue is gone (without clearing cache)

Thanks for responding btw!

Offline telemus

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shoutbox scrolling up randomly?
« Reply #5 on: January 04, 2013, 11:59:35 PM »
anyone have the slightest idea?

Offline telemus

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shoutbox scrolling up randomly?
« Reply #6 on: January 09, 2013, 11:17:14 AM »
Does anyone even have this issue with smileys  + reverse order? I don't currently have a test forum to see if this was something caused by me or this is actually a bug?..

Any response would be appreciated  :D

Offline phantomm

  • Translator
  • *
  • Posts: 406
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: None
  • Elkarte Version: 1.0.5
Re: Shoutbox scrolling up randomly?
« Reply #7 on: January 10, 2013, 08:02:47 AM »
I tried to reproduce this error, but for me everything works fine

Offline telemus

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Shoutbox scrolling up randomly?
« Reply #8 on: February 06, 2013, 08:11:37 AM »
Strange....

Thanks for your response Phantomm..
I guess I'll build a new forum and see if I can figure out what's causing my issue.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox scrolling up randomly?
« Reply #9 on: March 11, 2013, 03:41:11 PM »
telemus, you might be onto something.
But this one is difficult to reproduce.

I will move it into bugs for now. I have changed the subject line to be a little more descriptive.
Please fix it if I have done this wrong.

Thanks
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Infernus

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
I have had this issue. I guess it has to do with smileys.

Offline telemus

  • Semi Newbie
  • *
  • Posts: 12
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
I'm sorry for bumping this old thread. I noticed 1800 views on this thread so I wanted to update what I have done to fix this until they fix the bug.

I set the shouts to display to 10. Just enough not to have a scroll bar. This has fixed my issue, the problem is if the shoutbox is half way active things get pushed into the history pretty quickly. This was really the best fix I could come up with.

I hope it helps someone else.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Another solution I can suggest is to set the line-height for the shoutbox text to be high enough for your smileys. You can also try to make sure that all images are loaded before doing the scroll but it's probably not worth the effort that requires.
And slowly, you come to realize... It's all as it should be...