Author Topic: Bugs after upgrade to SMF 2  (Read 2693 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Bugs after upgrade to SMF 2
« on: December 27, 2015, 11:57:13 PM »
Post all the bugs you find here and we will see if somebody can take the time to fix them.

Make sure to mention on which theme you encountered the bug! If possible, please test if the same bugs happens on other themes as well. And remember to post your browser as well.

One post per bug is fine. That way we can easily track the bugs already fixed.
« Last Edit: December 28, 2015, 12:06:50 AM by Blizzard »
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #1 on: December 28, 2015, 12:01:10 AM »
Bug:
Code block is very small inside spoilers.

Themes:
GamerZ, Astonished, Smooth, Elegant Mind

Browser:
Opera Next, Chrome

Reproduction:
Just open any spoiler that has [code] tags inside.

Notes:
Likely be browser related. We used to have this issue on SMF 1.1.x.


Fixed. :3
« Last Edit: January 20, 2017, 10:13:44 AM by Blizzard »
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #2 on: December 28, 2015, 12:01:56 AM »
Bug:
Custom title is displayed below avatar instead above user group (like on old forum).

Theme:
GamerZ

Browser:
Opera Next

Reproduction:
Open any topic.
« Last Edit: December 28, 2015, 12:06:59 AM by Blizzard »
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #3 on: December 28, 2015, 12:08:27 AM »
Bug:
The member group icons aren't displayed.

Theme:
GamerZ, Smooth, Elegant Mind, Astonished

Browser:
Opera Next

Reproduction:
Open any topic.
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #4 on: December 28, 2015, 12:13:17 AM »
Bug:
No avatar or other user info is displayed in topics.

Theme:
Smooth

Browser:
Opera Next

Reproduction:
Open any topic.

Notes:
It seems that this feature simply isn't implemented in the theme.
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #5 on: December 28, 2015, 12:31:40 AM »
Bug:
Our affiliated aren't displayed.

Theme:
GamerZ, Smooth, Elegant Mind, Astonished

Browser:
Opera Next

Reproduction:
They should be visible at the bottom or something like that.
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #6 on: December 28, 2015, 12:34:25 AM »
Bug:
There's a permanent horizontal scrollbar

Theme:
Astonished (didn't test others)

Browser:
Opera Next

Reproduction:
It happens on any page and on any resolution / window size.


KK20: I don't see this horizontal scroll bar on all themes in Chrome.

by Blizz: Fixed. The problem seems to appear, because the theme widths were 98%. I fixed it by changing it to 95%.
« Last Edit: December 28, 2015, 01:02:21 PM by Blizzard »
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4505
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: Bugs after upgrade to SMF 2
« Reply #7 on: December 28, 2015, 01:25:10 AM »
Bug:
The [url][/url] tags for youtube links are not working right (see http://forum.chaos-project.com/index.php/topic,68.2500.html).  Some youtube tag gets added to them, but not to other links.

Theme:
Astonished (didn't test others)

Browser:
Chrome

Reproduction:
It seems to happen on any url link to youtube


by Blizz: Fixed. LMAO, it turns out that the add-on for YT tags doesn't work, but that SMF 2 already supports them by default.
« Last Edit: December 28, 2015, 10:17:13 AM by Blizzard »

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Lexima Warrior
  • ****
  • Posts: 2776
  • LV: 363
  • Gender: Male
    • View Profile
Re: Bugs after upgrade to SMF 2
« Reply #8 on: December 28, 2015, 04:28:21 AM »
Bug:
If spoiler has text (spoiler=TEXT_HERE), some BBC within it appear to not work (http://forum.chaos-project.com/index.php/topic,12164.0.html).

Theme:
GamerZ, Smooth, Elegant Mind, Astonished

Browser:
Chrome

Reproduction:

(click to show/hide)

by Blizz: Fixed.
« Last Edit: December 28, 2015, 02:24:09 PM by Blizzard »



(click to show/hide)
NNID: KK20-CP

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #9 on: December 28, 2015, 10:14:29 AM »
Bug:
Our anti-spam protection is shit. It does use captcha, but that's proven to let through spam accounts all the time.

Theme:
all

Browser:
all

Reproduction:
Try to register a new account. We should bring back our old anti-spam protection.


by Blizz: Fixed.
« Last Edit: December 28, 2015, 12:59:04 PM by Blizzard »
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline winkio

  • Epiq
  • Administrator
  • Guardian of Chaos
  • *****
  • Posts: 4505
  • LV: 199
  • Gender: Male
  • I am lying.
    • View Profile
Re: Bugs after upgrade to SMF 2
« Reply #10 on: January 02, 2016, 11:58:45 PM »
Bug:
Forum does not update the last read post in a topic

Theme:
Smooth

Browser:
Chrome

Reproduction:
I can't tell if it started after the update, or after switching to the Smooth theme, but the forum is no longer updating the posts I read in topics.  It always takes me to the last post I read either before the conversion or before I switched themes.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #11 on: January 03, 2016, 09:57:33 PM »
Bug:
Most BBCode tags don't work in the shoutbox.

Theme:
Astonished (not tested, but probably in all)

Browser:
Chrome

Reproduction:
Just try using [spoiler][/spoiler] or [img][/img] or another tag in the shoutbox.
« Last Edit: January 05, 2016, 01:24:42 PM by Blizzard »
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5121
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Bugs after upgrade to SMF 2
« Reply #12 on: March 04, 2016, 10:53:55 PM »
Bug:
Syntax Highlighting is broken and doesn't seem to be in use (may be as simple as an uninstall and reinstall of the mod)

Theme:
ChaosNew

Browser:
Chrome

Reproduction:
view a code block.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Lexima Warrior
  • ****
  • Posts: 2776
  • LV: 363
  • Gender: Male
    • View Profile
Re: Bugs after upgrade to SMF 2
« Reply #13 on: August 11, 2016, 04:28:18 AM »
I like how we kinda just accepted the horrible bugs and forgot they even existed xP

Bug:
Code block is very small inside spoilers.

Themes:
GamerZ, Astonished, Smooth, Elegant Mind

Browser:
Opera Next, Chrome

Reproduction:
Just open any spoiler that has [code] tags inside.

Notes:
Likely be browser related. We used to have this issue on SMF 1.1.x.
One I would really like to see fixed at some point. I have only seen it work correctly on Firefox 45. If you click the spoiler before the page fully loads on Chrome, it works too.



(click to show/hide)
NNID: KK20-CP

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #14 on: August 11, 2016, 04:51:27 AM »
Something's probably weird with the formatting code. :/
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5121
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: Bugs after upgrade to SMF 2
« Reply #15 on: August 11, 2016, 07:07:16 AM »
ya, some how the syntax highlighter  doesn't pickup code tags inside spoilers. we fixed it before but I don't remember how.

Edit: wait what? the code syntax highlighter isn't even there! what happened?
the javascript code is gone completely from the header. is the mode even installed? I know I had it edited to work properly.
« Last Edit: August 11, 2016, 07:14:55 AM by Ryex »
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Lexima Warrior
  • ****
  • Posts: 2776
  • LV: 363
  • Gender: Male
    • View Profile
Re: Bugs after upgrade to SMF 2
« Reply #16 on: January 05, 2017, 03:14:03 AM »
I've been on a TamperMonkey script making kick lately, so I wanted to take a look at the spoilered code tags again.

The CSS for code blocks is this. Note the overflow: auto
http://forum.chaos-project.com/Themes/ChaosNew/css/index.css?fin20
Code: [Select]
/* A code block - maybe PHP ;). */
code.bbc_code
{
display: block;
font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace;
font-size: x-small;
background: #ffeeee;
border-top: 2px solid #999;
border-bottom: 2px solid #999;
line-height: 1.5em;
padding: 3px 1em;
overflow: auto;
white-space: nowrap;
/* Show a scrollbar after about 24 lines. */
max-height: 24em;
}
Code tags were being injected with a style="height: 20px" so I started digging around the JS files and found this:
http://forum.chaos-project.com/Themes/ChaosNew/scripts/theme.js?fin20
Code: [Select]
// The purpose of this code is to fix the height of overflow: auto blocks, because some browsers can't figure it out for themselves.
function smf_codeBoxFix()
{
var codeFix = document.getElementsByTagName('code');
for (var i = codeFix.length - 1; i >= 0; i--)
{
if (is_webkit && codeFix[i].offsetHeight < 20)
codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + 'px';

else if (is_ff && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0))
codeFix[i].style.overflow = 'scroll';

else if ('currentStyle' in codeFix[i] && codeFix[i].currentStyle.overflow == 'auto' && (codeFix[i].currentStyle.height == '' || codeFix[i].currentStyle.height == 'auto') && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0))
codeFix[i].style.height = (codeFix[i].offsetHeight + 24) + 'px';
}
}
Specifically the is_webkit part. Also makes sense why Firefox was working fine as evident by the next if-statement.
I'm not sure what the consequences could be for removing the few lines, but removing the style.height seemed to be fine for Chrome.
« Last Edit: January 05, 2017, 03:22:25 AM by KK20 »



(click to show/hide)
NNID: KK20-CP

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #17 on: January 05, 2017, 09:06:38 AM »
Can you try this with a few other browsers, including IE and Edge?
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline KK20

  • Master Scripter Fixer
  • Global Moderator
  • Lexima Warrior
  • ****
  • Posts: 2776
  • LV: 363
  • Gender: Male
    • View Profile
Re: Bugs after upgrade to SMF 2
« Reply #18 on: January 05, 2017, 10:46:52 PM »
Not at the moment, but I can when I'm at work tomorrow.

EDIT: Removing the style.height on Edge 14 looked fine. IE8 wasn't affected at all by the JS.



(click to show/hide)
NNID: KK20-CP

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19833
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: Bugs after upgrade to SMF 2
« Reply #19 on: January 05, 2017, 10:54:33 PM »
I'll do the changes then when I catch some free time.
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.