Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-09-27 12:51:20

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Plugins broken/redundant in 4.3.0

I’d like to collect a list of plugins that are not working out of the box with 4.3.0: I think that many images and authos-related ones will be redundant, won’t they?

I know that 4.3.0 has not be officially released yet baut I’d like to know how much work I have to expect before upgrading…

Offline

#2 2010-09-27 13:26:37

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,243
Website GitHub

Re: Plugins broken/redundant in 4.3.0

Broken

  • jmd_img_selector. No problem if already installed. Workaround if installed after 4.3.0
  • ebl_upload. Clashes with smd_thumbnail for some reason so that when you twist the Upload panel closed, part of the screen is copied into the smd_thumbnail profile panel. Think this is to do with the markup changes as TheEric is using direct-access DOM selectors due to the old markup. Under the new markup system the plugin’s selectors can be simpler and this may alleviate the problem
  • cnk_versioning: fix courtesy of maniqui
  • ako_cssParse — use rah_css_parse instead

Fixed

  • rvm_css (v0.6)
  • rah_css_embed (v0.3)
  • rah_css_parse (v0.1)
  • smd_where_used (v0.30)
  • hcg_templates (v0.4)

Possibly redundant

  • Image / gallery plugins such as smd_gallery, smd_slimbox, upm_image, wet_for_each_image, bas_lightbox, etc may well be unnecessary with the new image tags. Usage depends on how difficult to implement your gallery is! For simple galleries the new built-in tags will suffice but if you want to go mad (or get directly at the article_image’s URL) then you may need to keep your existing plugins. jsoo has put together an excellent image gallery demo page using the built-in tags
  • jmd_author may be unnecessary now if you are only using it to get at the author’s login name because that can now be accessed using the native <txp:author /> tag. But if you want to get at any other info or prefer the plugin, then stick with it

Unknown

  • smd_style

They’re the only casualties I know of. There may be more.

Last edited by Bloke (2010-11-15 15:46:59)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2010-09-27 13:44:16

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Plugins broken/redundant in 4.3.0

I’m certainly looking forward to seeing if I can thin out soo_image, getting rid of some basic stuff that the new core tags should handle nicely. But I won’t consider it redundant just yet ;)


Code is topiary

Offline

#4 2010-09-27 15:07:41

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Plugins broken/redundant in 4.3.0

Have all the upm_image features been replicated now in the core image tags? I use that plugin all the time at the moment. I’ll wait until there is some documentation on the new tags before scrapping that plugin.

Offline

#5 2010-09-27 15:58:36

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Plugins broken/redundant in 4.3.0

[OT] In case you use social media to spread the news, etc.:

#Textpattern It might be pretty useful to use #hashtag #TXP430 for issues, questions, etc. regarding the spreading #TXP 4.3.0 :)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#6 2010-09-27 19:28:50

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Plugins broken/redundant in 4.3.0

MLP: so far found two three issues, #32, #33 and #36.

Last edited by els (2010-11-19 00:02:14)

Offline

#7 2010-09-27 21:02:51

jelle
Member
Registered: 2006-06-07
Posts: 165

Re: Plugins broken/redundant in 4.3.0

Bloke wrote:

Unknown

  • cnk_versioning

Yup, reading/writing css is a mess. But I guess this could be easily fixed with proper encoding?

Last edited by jelle (2010-09-27 21:03:08)

Offline

#8 2010-09-27 21:52:13

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,243
Website GitHub

Re: Plugins broken/redundant in 4.3.0

jelle wrote:

Yup, reading/writing css is a mess. But I guess this could be easily fixed with proper encoding?

Thanks for the report. Yes, just ditching the base64_encode/decode step and storing the data as raw (well doSlash()ed) CSS will get it going again. It’s probably only two lines of code that need changing. I’ve never used it so I don’t know where that might be at present. Someone else will.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#9 2010-09-27 22:14:46

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Plugins broken/redundant in 4.3.0

Hi!

jelle wrote:

Unknown

  • cnk_versioning

Yup, reading/writing css is a mess. But I guess this could be easily fixed with proper encoding?

I think that changing line 272 from:

$css = doSlash(base64_encode(file_get_contents($filename)));

to:

$css = doSlash(file_get_contents($filename));

And line 465 from:

if (@file_put_contents('../'.$CNK_VER_OUTPUT_PATH.'css/'.$r['name'].'.'.$CNK_VER_EXT_CSS, base64_decode($r['css'])) === false) return false;

to:

if (@file_put_contents('../'.$CNK_VER_OUTPUT_PATH.'css/'.$r['name'].'.'.$CNK_VER_EXT_CSS,  $r['css']) === false) return false;

should do the trick!
Please, report back if so. Thanks :)

*EDIT: fixed typo (there was a remaining unclosed ( that was a left over)

Last edited by maniqui (2010-09-28 18:20:06)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#10 2010-09-28 11:29:49

jelle
Member
Registered: 2006-06-07
Posts: 165

Re: Plugins broken/redundant in 4.3.0

maniqui wrote:

should do the trick!
Please, report back if so. Thanks :)

Hi maniqui. Yes. That got it working. Thanks!

Offline

#11 2010-10-07 17:24:13

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

Re: Plugins broken/redundant in 4.3.0

Image / gallery plugins such as smd_gallery, smd_slimbox, upm_image, wet_for_each_image, bas_lightbox, etc may well be unnecessary with the new image tags.

Wow! That is awfully exciting. If ebl_upload has issues, do you think the same goes for jbx_multiple_image_upload?

Offline

#12 2010-10-24 18:49:34

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: Plugins broken/redundant in 4.3.0

nabrown78 wrote:

Wow! That is awfully exciting. If ebl_upload has issues, do you think the same goes for jbx_multiple_image_upload?

Jxb_multiple_image_upload seems fine in 4.3.

Last edited by joebaich (2010-10-24 18:50:03)

Offline

Board footer

Powered by FluxBB