Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#217 2007-11-26 18:31:41

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: [plugin] [ORPHAN] bas_img_selector

OK. So looks like the plug-in doesn’t allow multiple images anymore?
I love me some bas_img_selector, but I can’t use it without the ability to add more than a single image.

Bastian, I could REALLY, REALLY, REALLY use that feature back.
Is there a way to hack the code to allow for multiple images?

Thanks,

Tom

Offline

#218 2008-02-13 18:43:22

diniscorreia
Member
From: Lisbon, Portugal
Registered: 2007-07-18
Posts: 19

Re: [plugin] [ORPHAN] bas_img_selector

Hmm it appears to be broken on 4.0.6.

When I select a category I get:
Notice: Undefined index: bas_img_sel_start_cat in /var/www/vhosts/codex.pt/httpdocs/textpattern/lib/txplib_misc.php(574) : eval()'d code on line 85

Update well, I do get the above warning, but the plugin still works. However, I can’t see any options on the Extensions panel – so maybe something is broken, after all.

Last edited by diniscorreia (2008-02-13 18:47:38)

Offline

#219 2008-03-07 19:15:37

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

Re: [plugin] [ORPHAN] bas_img_selector

Me too: same error message and no options in Preferences, though the plug in appears to be working apart from that.

This is a great plug in, that I find indispensable. If it doesn’t work properly in 4.0.6, I can’t use 4.0.6 – simple as that.
Any comments?

In particular, I guess, anyone interested in investigating this and correcting it? It seems that Bastian no longer maintains this plug in.

Last edited by jameslomax (2008-03-07 19:49:12)

Offline

#220 2008-03-07 19:29:25

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: [plugin] [ORPHAN] bas_img_selector

plugin works fine for me in 4.0.6.

Offline

#221 2008-03-08 14:49:40

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

Re: [plugin] [ORPHAN] bas_img_selector

Hmmm, any idea what the error is then? There are no options in the Preferences tab, and this appears on the Write page:

Notice: Undefined index: bas_img_sel_start_cat in /home/sites/……com/public_html/textpattern/lib/txplib_misc.php(574) : eval()’d code on line 85

Offline

#222 2008-03-08 14:53:21

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: [plugin] [ORPHAN] bas_img_selector

means you haven’t installed the db preferences via the extensions tab.

Offline

#223 2008-03-08 15:05:00

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [plugin] [ORPHAN] bas_img_selector

jameslomax, and you possibly may need update the plugin by adding there privs for the extensions tab

Offline

#224 2008-03-08 16:49:35

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

Re: [plugin] [ORPHAN] bas_img_selector

At my extensions tab I’m told it’s a “restricted area”. Theres nothing else there.
And there’s nothing in Preferences for this plug in, which I think there should be.

I’m logged in as Publisher, so don’t understand why I should be adding privileges and such….I’m the dude who installed this, with full control and privileges…….

Offline

#225 2008-03-08 19:07:44

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: [plugin] [ORPHAN] bas_img_selector

because in 4.0.6, admin-side plugins should specify what privileges are allowed.

either read the 4.0.6 release notes, the link gocom gave you or the faq

Offline

#226 2008-03-10 10:44:47

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

Re: [plugin] [ORPHAN] bas_img_selector

Ok thanks….

Offline

#227 2008-03-10 18:40:27

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

Re: [plugin] [ORPHAN] bas_img_selector

Still can’t get it to work, because I don’t understand the instructions and what “event” I’m supposed to be matching (don’t know what an “event” is).

There’s only one place where “register_tab” appears, here it is:

"prefs","advanced_prefs_save",1);
		register_tab("extensions", 'bas_img_selector_install', 'bas_img_sel');

What should I replace that with/add to it?

Offline

#228 2008-03-10 19:16:59

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

Re: [plugin] [ORPHAN] bas_img_selector

Without trying it, my guess is to add this line just before the register_tab line:

add_privs('bas_img_selector_install', '1');


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

Board footer

Powered by FluxBB