Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Broken "Rating" button
RE: Broken "Rating" button
#5
OK, had to switch themes to rate a post.  The only one that works it the MyBB default.  But it looks like it's trying to work, right?

It sends a request to: http://www.accessdenied-rms.net/forums/r...33&modal=1 and that gets back a valid response!  But what happens instead is that no Rate modal actually pops up, and I can no longer scroll the page.  So obviously something modalish is happening, but I can't interact with it.  Okay.

Let's investigate the page JS.  Looks like it calls reputation which calls popupWindow.  Right, this all looks like perfectly cromulent jQuery.  http://www.accessdenied-rms.net/forums/j...s?ver=1810

OK, inspected the page elements.  Aha, it actually appends the modal to the document.  Good!  But I'm not seeing it...  Toggling some CSS, turning off overflow: none.  Hey, there it is, at the end of the page!  Our reputation box.  But it doesn't have a close box.  Where is that?  Ah, here it is, halfway off the screen at the very top of the page, awesome.  Not working; not awesome.

So lets compare how it renders between the default and SanFelix theme.  OK, it looks like there's a CSS class ".blocker" so let's copy-paste that over...  Oh, hey, looks modalish!  Let's try clicking that big, beautiful close button.

> too much recursion

What?

OK, let's checkout the JS failure then... it's calling oldCloseFunction.  And above that we have a comment: /* add keepelement to jquery-modal plugin */
Now we're getting somewhere!

Let's look it up, and then look in the page... yep, that's the same CSS for .blocker I just saw.  Cool!  So all of the other themes are just not loading a plugin: https://jquerymodal.com

Actually, looking at the theme, it looks like the CSS classes are there. https://github.com/vintagedaddyo/MyBB_Th....xml#L1753 Can you try updating the theme?
"Kitto daijoubu da yo." - Sakura Kinomoto
Reply


Messages In This Thread
Broken "Rating" button - by robkelk - 10-26-2019, 01:18 PM
RE: Broken "Rating" button - by Bob Schroeck - 10-26-2019, 02:41 PM
RE: Broken "Rating" button - by classicdrogn - 10-26-2019, 06:27 PM
RE: Broken "Rating" button - by robkelk - 10-26-2019, 07:51 PM
RE: Broken "Rating" button - by Labster - 01-23-2020, 11:13 PM
RE: Broken "Rating" button - by Star Ranger4 - 01-23-2020, 11:19 PM
RE: Broken "Rating" button - by Labster - 01-24-2020, 12:37 AM
RE: Broken "Rating" button - by Bob Schroeck - 01-24-2020, 08:21 AM
RE: Broken "Rating" button - by classicdrogn - 01-25-2020, 05:09 AM
RE: Broken "Rating" button - by robkelk - 01-25-2020, 10:06 AM
RE: Broken "Rating" button - by classicdrogn - 01-25-2020, 10:59 AM
RE: Broken "Rating" button - by Labster - 02-17-2020, 03:44 AM
RE: Broken "Rating" button - by Star Ranger4 - 02-17-2020, 04:09 AM
RE: Broken "Rating" button - by Bob Schroeck - 02-17-2020, 08:01 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)