Author Topic: Easy Spolier Plugin - Spoiler title  (Read 22657 times)

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy Spolier Plugin - Spoiler title
« Reply #15 on: September 08, 2011, 12:49:24 AM »
Ok try this and see how it goes for you.  I have bolded the relevant bits for you to notice:


[spoiler title="<span style='white-space:nowrap;'>(one_fourth_first)CCC(/one_fourth_first)
(one_fourth)CCC(/one_fourth)
(one_fourth)CCC(/one_fourth)
(one_fourth_last)CCC(/one_fourth_last)</span>"]

... whatever ...

[/spoiler]

JK

  • Tadpole
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Easy Spolier Plugin - Spoiler title
« Reply #16 on: September 08, 2011, 04:59:10 AM »
I made the change but still same result... Or do you see a change?

Thank you for the support, I really appreciate your willingness to make this happen.

/J

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy Spolier Plugin - Spoiler title
« Reply #17 on: September 08, 2011, 08:28:52 AM »
I am sorry, replace the two SPAN tags with DIV. 

I was trying both out and must have gotten my wires crossed when replying.

[spoiler title="<div style='white-space:nowrap;'>(one_fourth_first)CCC(/one_fourth_first)
(one_fourth)CCC(/one_fourth)
(one_fourth)CCC(/one_fourth)
(one_fourth_last)CCC(/one_fourth_last)</div>"]

This works for me using an offline copy of that page.  Let me know if this works

JK

  • Tadpole
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Easy Spolier Plugin - Spoiler title
« Reply #18 on: September 08, 2011, 07:57:30 PM »
Hi!

I made the change to DIV but the problem remains for me :(

I am surprised and hopeful to hear that you got it working on your offline copy of the page....

Can you take a look again at the page?

What can we try next? I am so eager to make this work -- thank you for everything so far!

:)
J


doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy Spolier Plugin - Spoiler title
« Reply #19 on: September 08, 2011, 09:22:31 PM »
Sure.  Leave it up and I'll look again n I may need to provide you another patch

JK

  • Tadpole
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Easy Spolier Plugin - Spoiler title
« Reply #20 on: September 08, 2011, 09:27:16 PM »
will do  :)

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy Spolier Plugin - Spoiler title
« Reply #21 on: September 08, 2011, 11:37:18 PM »
Ok here is an update.  I hope this works!  This has a new menu option on the admin page for disabling wrapping in the title.

After you activate the plugin, go to the admin page and locate this option (its in the title style section, near the shortcode stuff) and uncheck it.

Let me know if this works and Ill keep this feature in the next rev.
« Last Edit: September 09, 2011, 01:20:24 AM by support »

JK

  • Tadpole
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Easy Spolier Plugin - Spoiler title
« Reply #22 on: September 09, 2011, 04:33:33 PM »
OK, I uploaded both php:s and and unchecked the wrapping title option on the admin page.

No change... :(

Do you have any other idea why this might be happening?

Can I assist your process in some way? Do you need to access the backend?

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy Spolier Plugin - Spoiler title
« Reply #23 on: September 09, 2011, 05:32:08 PM »
Yeah maybe.  Can you pm me a temporary acct?

JK

  • Tadpole
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Easy Spolier Plugin - Spoiler title
« Reply #24 on: September 09, 2011, 06:05:07 PM »
Just sent you a message -- let me know in case you did not receive it... otherwise I await your response.

:)
J

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy Spolier Plugin - Spoiler title
« Reply #25 on: September 09, 2011, 06:10:18 PM »
Got it thanks!

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy Spolier Plugin - Spoiler title
« Reply #26 on: September 10, 2011, 12:49:55 AM »
Done!  I forgot to tell you to remove that extra DIV in the title.  I just edited the widget's spoiler title text and saved.

Thanks for your patience, I appreciate the help.

Oh btw, I have thought this solved a few times so if you find something please shout :)  I also used a mac (safari) to view it.

best regards

JK

  • Tadpole
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Easy Spolier Plugin - Spoiler title
« Reply #27 on: September 10, 2011, 01:04:15 AM »
Wow! Thank you for your support -- I am quite overwhelmed with your generosity to support my project, it means a great deal to me!

I was wondering if you had an idea how I could center the titles...? I tried:

(one_fourth_first)<center>CCC</center>(/one_fourth_first)

This did not work, the whole spoiler disappeared...

Also, I tested it in Firefox and the title speaks... :( I must have it working in Firefox, Safari and latest IE.
Any thoughts on why this is breaking in Firefox?


doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy Spolier Plugin - Spoiler title
« Reply #28 on: September 10, 2011, 01:12:08 AM »
I am sorry what is broken in firefox?  The title with the nowrap, or the centering?

doug@dyerware.com

  • Administrator
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: +15/-0
    • View Profile
    • Email
Re: Easy Spolier Plugin - Spoiler title
« Reply #29 on: September 10, 2011, 01:15:54 AM »

(one_fourth_first)<center>CCC</center>(/one_fourth_first)


If you can edit the definition of one_fourth_first, you may want to make it:
<div style="text-align:center'>

otherwise, try:
<p style='text-align:center;'>CCC</p>

 

anything