Author Topic: Easy spoiler [Req]  (Read 9794 times)

bakaouji

  • Tadpole
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Easy spoiler [Req]
« on: August 09, 2011, 07:03:35 AM »
hey,

I just discovered your plugin today and I'm loving it! It looks so great compared to what I was using before :)

I'd just like to ask if you can add a certain feature; the ability to select all the text of the spoiler code.

I use the plugin to share mass links, so this would be pretty cool.

e.g.
[s.p.oiler]
url
url2
url3
url4[/s.p.oiler] would have the option to select all the text of that spoiler, so it can then be easily copied with Ctrl+C.

Is that easy/possible to do?

Awaiting your response :)

bakaouji

  • Tadpole
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Easy spoiler [Req]
« Reply #1 on: August 10, 2011, 02:05:03 PM »
Pretty please? I promise to donate if you add this (or show me how to add it)  :(

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy spoiler [Req]
« Reply #2 on: August 10, 2011, 11:10:36 PM »
sorry wasn't ignoring you... got busy.  so you want a button in the title bar to copy the contents to the user's clipboard?  Might be able to do that.  Let me take a look and get back to you.


bakaouji

  • Tadpole
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Easy spoiler [Req]
« Reply #3 on: August 11, 2011, 12:10:41 AM »
Yep that's what I want, though just selecting everything would be preferred as AFAIK copying to clipboard would need Flash, and Im sure many would prefer a pure javascript solution.

 8)

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy spoiler [Req]
« Reply #4 on: August 12, 2011, 12:40:14 AM »
Ok you are right... I cannot copy to clipboard, but have some code to select contents of the spoiler (images and all).

I am almost done now.  Am taking the opportunity to clean up the use of the buttons with a more modern use of subtle links.

Will be submitted this weekend probably.  Ill add an admin panel option to turn the select button off.

bakaouji

  • Tadpole
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Easy spoiler [Req]
« Reply #5 on: August 12, 2011, 02:15:34 AM »
Awesome!

Can't wait to see what it looks like :)

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy spoiler [Req]
« Reply #6 on: August 13, 2011, 05:43:45 PM »
Ok v1.1 is submitted.  Below are the change notes:

 * Flat, more subtle buttons
 * Option for using title as the show/hide toggle now changes mouse pointer to indicate it is an actionable area
 * Improved iframe support
 * new select button option which will provide a 'select' button on the title bar for auto-selecting the
   spoiler content.
 * Admin option to enable/disable select button feature and to configure the text of the select button

Post back if you have problems

bakaouji

  • Tadpole
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Easy spoiler [Req]
« Reply #7 on: August 14, 2011, 03:56:39 AM »
Oh great!

Just like what I wanted, it's working fine :)

I'm sure my users will love it too compared to what I had before.

Anyway thanks again, donated abit >.<


doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy spoiler [Req]
« Reply #8 on: August 14, 2011, 12:08:43 PM »
why thank you!

project42

  • Tadpole
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Easy spoiler [Req]
« Reply #9 on: August 25, 2011, 01:49:54 PM »
Hello,
Select function great idea thanks  :)

New version button problem :(

Hide/Show button losting.Text linking Show/Hide :S


doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy spoiler [Req]
« Reply #10 on: August 26, 2011, 12:51:38 AM »
Are you saying you do not get the select button?  Do you have the "Show select button" checked on the admin page?

project42

  • Tadpole
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Easy spoiler [Req]
« Reply #11 on: August 26, 2011, 11:24:43 AM »
Are you saying you do not get the select button?  Do you have the "Show select button" checked on the admin page?

No,
Older version

New version


Show preview button has disappeared in the form of text rather than


Sorry very bad english

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy spoiler [Req]
« Reply #12 on: August 26, 2011, 12:38:37 PM »
Ok I inderstand.  Im on the road right now. I'll get back to you tomorrow


project42

  • Tadpole
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Easy spoiler [Req]
« Reply #13 on: August 26, 2011, 03:44:42 PM »
Voow thanks  :)

Paypal donated plugin  ;)

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy spoiler [Req]
« Reply #14 on: August 27, 2011, 10:00:43 PM »
The button was redesigned to be flat.  An update is being worked on now to bring back the original look as a style option.  Note on the admin page there is a "button style" at the bottom.  There will be a new option called 'classic' which will bring the button back.

The update has a few other fixes as well.  It is not out yet but will be soon