Author Topic: EasySpoiler: "Show" button not right justified  (Read 12787 times)

Ben

  • Tadpole
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
EasySpoiler: "Show" button not right justified
« on: January 16, 2013, 02:08:21 AM »
I've upgraded to the latest version and my "Show" buttons aren't right justified anymore.


doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: EasySpoiler: "Show" button not right justified
« Reply #1 on: January 16, 2013, 04:08:01 AM »
Do you mean text justification or the buttons are on the left side ?

If the buttons are on the left check the settings.  There is one for which side the buttons are on

Ben

  • Tadpole
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: EasySpoiler: "Show" button not right justified
« Reply #2 on: January 16, 2013, 05:19:14 AM »
The buttons seem to be randomly in the middle of the easyspoiler bar.

Take a look here.

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: EasySpoiler: "Show" button not right justified
« Reply #3 on: January 16, 2013, 11:03:15 AM »
I see.  Def looks like a bug.  Ill study your site and fix it soon

Ben

  • Tadpole
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: EasySpoiler: "Show" button not right justified
« Reply #4 on: January 18, 2013, 10:56:49 AM »
I see.  Def looks like a bug.  Ill study your site and fix it soon

Thanks Doug.  :)

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: EasySpoiler: "Show" button not right justified
« Reply #5 on: January 18, 2013, 03:32:25 PM »
Weird.  The generated html does not match the php code.  Did you edit the PHP code by chance?  If not, you may want to redownload it.

If that does not fix it, post the shortcode you are using.  maybe you have exposed a more subtle bug.  Sorry about that.

Ben

  • Tadpole
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: EasySpoiler: "Show" button not right justified
« Reply #6 on: January 25, 2013, 12:14:24 PM »
Everything is pretty much out of the box. I haven't edited anything in your plugin. I did work through some bugs with you previously but I ended up downloading the plugin from WordPress again anyway once you'd updated the release version.

The shortcode I am using is pretty straightforward.

[spoilergroup]
[spoiler intro="A Grade"][pageview url="http://www.darwin.netball.asn.au/ladder_print.asp?comp=35833&OrgID=229" height="700px"][/spoiler]
[spoiler intro="A Reserve"][pageview url="http://www.darwin.netball.asn.au/ladder_print.asp?comp=35854&OrgID=229" height="950px"][/spoiler]
[spoiler intro="Division 1"][pageview url="http://www.darwin.netball.asn.au/ladder_print.asp?comp=35855&OrgID=229" height="950px"][/spoiler]
[spoiler intro="Division 2"][pageview url="http://www.darwin.netball.asn.au/ladder_print.asp?comp=35856&OrgID=229" height="950px"][/spoiler]
[spoiler intro="Division 3"][pageview url="http://www.darwin.netball.asn.au/ladder_print.asp?comp=35857&OrgID=229" height="800px"][/spoiler]
[/spoilergroup]

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: EasySpoiler: "Show" button not right justified
« Reply #7 on: January 25, 2013, 07:42:00 PM »
Ok thanks.  What's the theme you use?

Ill check out against my themes the shortcode you provided

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: EasySpoiler: "Show" button not right justified
« Reply #8 on: January 26, 2013, 01:06:34 AM »
Well I had no luck figuring out what is going on.  The php code generates this:

Code: [Select]
<th class='easySpoilerTitleB' style='text-align:right;vertical-align:middle;font-size:100%; white-space:nowrap;'>
which puts the button on the right for you.  For some reason your page has this:

Code: [Select]
<th class='easySpoilerTitleB'>
This is actually impossible.  There is no php code that can generate just that line.  Without that extra logic the button will be as you see it (the text-align:right is actually the important bit for this).

If you don't mind I would ask that you do three quick things?
1. Check from your admin page that you don't see two easy spoilers (i.e. if perhaps you had made a backup copy of the older spoiler plugin and by accident have two spoiler php plugins competing). 
2. Can you email me the easy-spoiler.php you have?
3. Can you delete your caches (i.e. supercache or whatever you use) that would cause the spoiler php code to regenerate the page?  You can also edit the page and just insert and delete a space to cause the "update" button to be clickable and the new page will be made.


That .js update you grabbed from the forum a while back is not involved, btw.  This is just with the easy-spoiler.php file.


ps even tried your theme but works fine....  :o

-d
« Last Edit: January 26, 2013, 01:08:09 AM by support »

Ben

  • Tadpole
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: EasySpoiler: "Show" button not right justified
« Reply #9 on: March 07, 2013, 11:10:35 AM »
Sorry I got distracted by life. Did you get my PM?

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: EasySpoiler: "Show" button not right justified
« Reply #10 on: March 15, 2013, 12:21:53 AM »
Oh sorry intended to reply sooner.  Yes I got it and emailed you back.... but guess it didn't work.

I am at a loss with what is going on.  The HTML does not match what the plugin would normally generate so its kind of hard to fathom what may be happening.  If you are interested still I could provide you a beta that simply provides tell-tail signs that I could use to pinpoint further.


Ben

  • Tadpole
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: EasySpoiler: "Show" button not right justified
« Reply #11 on: March 23, 2013, 02:50:32 AM »
Sure. Send it through.

Ben

  • Tadpole
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: EasySpoiler: "Show" button not right justified
« Reply #12 on: March 23, 2013, 03:18:59 AM »
Hi,

The button is rendering in the correct location now but not clicking.

Thanks for your help btw  :D

Ben

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: EasySpoiler: "Show" button not right justified
« Reply #13 on: March 23, 2013, 04:01:42 PM »
Ok I'll look at it on your site.  Hang in there :)

Ben

  • Tadpole
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: EasySpoiler: "Show" button not right justified
« Reply #14 on: March 28, 2013, 07:43:42 AM »
Thanks mate. Appreciate the assistance.