Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#145 2006-05-02 09:16:19

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

Re: [plugin] [ORPHAN] bas_img_selector

Bug: Space-Char before Textile-Tag

I think it’s a bug: before an inserted textile-Tag is alsways a Space inserted. (Does not happen with txp- or xhtml-Tags).
Today I wondered, why some images are placed different. After a closer look I found out, that this tiny Space makes txp not to wrap the img in a p Tag.
(Using v0.7)

Offline

#146 2006-05-27 10:17:57

-P-
Member
From: Finland
Registered: 2005-09-10
Posts: 211

Re: [plugin] [ORPHAN] bas_img_selector

HI! On my journey trying to find easy, user friendly image insertion method, I found this plugin.

Since on the installation, excerpts are not in use, can I remove radiobox and selection “Body excerpt”?
Also to simplify image insertion even more, I´d prefer to offer only one tag xthtml so the tag radioboxes could be removed all together.

Last edited by -P- (2006-05-27 10:31:59)

Offline

#147 2006-10-20 10:05:45

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

Re: [plugin] [ORPHAN] bas_img_selector

I’ve uninstalled bas_img_sel about a month ago but the image options seem to still appear in the advanced preference area. how do I get rid of it? thanks!

Offline

#148 2006-10-20 19:10:36

rmedek
New Member
From: Nashville, TN
Registered: 2005-08-16
Posts: 9
Website

Re: [plugin] [ORPHAN] bas_img_selector

egyarnetsky wrote:

I love your plugin and I’m wondering if it (or Image Wizard) will be updated for 4.0.4. It does not seem to be working for me now that I have updated.

Find this line (about line 23 or so):

<code>$find = ‘<a href=”#” onclick=“toggleDisplay(\‘advanced\’);’;</code>

and change to:

<code>$find = ‘<a href=”#advanced” onclick=“toggleDisplay(\‘advanced\’);’;</code>

Seems to be the only change needed so far…


All the Dude ever wanted was his rug back.

Offline

#149 2006-10-21 08:47:40

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

Re: [plugin] [ORPHAN] bas_img_selector

Bastian wrote:

bq. Have you thought about creating a version of bas_img_selector that works together with bas_lightbox when both are installed?
Yes, I’m thought about and i’m working on it
I will use forms to parse article-images, so things like Lightbox are not longer a plugin, they become a form.
But it will take a little time.

Wow, looks great Bas.
I was wondering what you were developing – and its great to see this, after recent discussions about “improving image management” basically became a discussion about developing the txp core. Which is good, but means a much bigger job that requires much more time, when a project like yours works just as well and can be built more quickly…..

Offline

#150 2006-10-21 09:26:16

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

Re: [plugin] [ORPHAN] bas_img_selector

wordgasm wrote:

I’ve uninstalled bas_img_sel about a month ago but the image options seem to still appear in the advanced preference area. how do I get rid of it? thanks!

I was in the same place a while ago too. I don’t remember exactly where I found it, but go to phpMyAdmin>Search>bas_img_selector. Check all the records (provided they aren’t your own posts or anything), and click drop.

Offline

#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

Board footer

Powered by FluxBB