Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#151 2006-11-07 16:18:14

sgoodwin
Member
From: Boston, MA
Registered: 2006-05-11
Posts: 13

Re: [plugin] [ORPHAN] bas_img_selector

I also updated to 4.0.4 recently, and found that bas_img_selector stopped working… I tried the edit in rmedek’s post, but that didn’t seem to help at all. Does anyone know whether or when the plugin might be updated? Thanks!

Offline

#152 2006-11-07 18:09:14

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] bas_img_selector

sgoodwin, did you convert all the ‘ and “ characters? That did the trick for me.

Last edited by mrdale (2006-11-07 18:09:49)

Offline

#153 2006-11-07 18:32:34

sgoodwin
Member
From: Boston, MA
Registered: 2006-05-11
Posts: 13

Re: [plugin] [ORPHAN] bas_img_selector

yes, I did, but it didn’t seem to have any effect at all… then I noticed that v 0.7 was available, so I installed that, applied the change and now I’m in business! Thanks for your help.

Last edited by sgoodwin (2006-11-07 18:38:59)

Offline

#154 2006-11-09 05:48:20

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: [plugin] [ORPHAN] bas_img_selector

rmedek wrote:

egyarnetsky wrote:
$find = '<a href="#advanced" onclick="toggleDisplay(\'advanced\');';

Nice! That did it!

Offline

#155 2006-11-13 18:14:31

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] bas_img_selector

After installing rmedek’s solution to 4.04 compatability (thanks), I noticed the styling wasn’t quite right. The “Image Select” was grouped with “Advanced Options”.

If you are all type-A about it and that bothers you, you can make the following edit to have it behave more consistently.

Look for
$find = '<a href="#advanced" onclick="toggleDisplay(\'advanced\');';
and change to
$find = '<h3 class="plain"><a href="#advanced" onclick="toggleDisplay(\'advanced\'); return false;">Advanced Options</a></h3>';

then

look for
$replace[] = '<!-- end bas_img_sel -->'.n;
and change to
$replace[] = '</h3><!-- end bas_img_sel -->'.n;

then

look for
$out[] ='<p><a href="#" onclick="toggleDisplay(\'img_select\');">Image Selector</a></p>';
and change to
$out[] ='<h3 class="plain"><a href="#" onclick="toggleDisplay(\'img_select\');">Image Selector</a></h3>';

Worked for me.

More Steps, but more like TXP until BAS has some time.

Last edited by mrdale (2006-11-13 18:16:18)

Offline

#156 2006-12-04 16:36:00

sagariha
New Member
Registered: 2004-05-08
Posts: 7

Re: [plugin] [ORPHAN] bas_img_selector

Fix of Mardale didn’t work for me (Rev. 2000).

look for: (~Line24)
$find = '<a href="#advanced" onclick="toggleDisplay(\'advanced\');';

and change to:
$find = '<h3 class="plain"><a href="#advanced" onclick="toggleDisplay(\'advanced\'); return false;">'.gTxt('advanced_options').'</a></h3>';

Now it works for me…

Last edited by sagariha (2006-12-05 11:07:12)

Offline

#157 2006-12-23 20:26:22

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: [plugin] [ORPHAN] bas_img_selector

Tried both – mardale and sagariha – and neither of them work. The mardale fix breaks TXP – error messages in the GUI – and the sagariha fix simply doesn’t work – the plug in doesn’t appear.

Anyone got some insight on this? I can’t upgrade to 4.04, because I use this plug in constantly.

Offline

#158 2006-12-23 20:53:22

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: [plugin] [ORPHAN] bas_img_selector

Hmmm, and now I’ve upgraded to bas_img_selector 0.7, and downgraded to TXP 4.03 because they don’t work, I find that 0.7 doesn’t work with TXP 4.03.

Do you have a link for 0.6 Bas?
Many thanks.

Last edited by jameslomax (2006-12-23 20:53:50)

Offline

#159 2007-01-11 11:56:10

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_img_selector

I hope I fixed:
bas_img_selector_v0.71.txt

No new features, just some little changes like MrDale suggested.
Let my know if it works in your TXP 4.0.4

James, if you need 0.6, try bas_img_selector06.txt

Offline

#160 2007-02-04 20:06:01

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: [plugin] [ORPHAN] bas_img_selector

Got it from somewhere, thanks, can’t remember where now. But I think its a good idea to have archive releases available, because problems like this always occur.

So whats the verdict, guys? Is 0.71 working with txp 4.04? I’d like to know if everythings OK out of the box, before I attempt this again.

Offline

#161 2007-02-06 21:01:19

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: [plugin] [ORPHAN] bas_img_selector

Any comments, on the compatibility of Bas 0.71 and txp 4.04?

Offline

#162 2007-02-06 21:28:13

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] bas_img_selector

That’s an affirmative j-dog, all systems are go.

Offline

#163 2007-02-08 12:18:52

jj23
New Member
Registered: 2007-01-02
Posts: 6

Re: [plugin] [ORPHAN] bas_img_selector

Bas 0.71 worked for me on txp 4.0.4.

Thanks Bastian, well done!

Offline

#164 2007-02-12 00:31:33

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: [plugin] [ORPHAN] bas_img_selector

Excellent – 4.04 seems to be OK with 0.71 for me also.

Thanks Bas – dont know what I’d do without this plug in.

Offline

#165 2007-02-12 03:45:10

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: [plugin] [ORPHAN] bas_img_selector

Got a question though: how do I get the “More” options to open by default?

This came up some time ago but in an earlier version. I didn’t really understand it then and now of course its a different version so the solution is probably different…..

Offline

Board footer

Powered by FluxBB