Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2005-05-06 15:51:20

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Re: [plugin] [ORPHAN] bas_img_selector

Skubidu:
Could you be more specific where to change this with Textile Help ?
I have my admincenter in icelandic but when i changed from icelandic to english just the “textile Help” i see the image selector but did not before :)

Thanks


regards,

Agust

Offline

#32 2005-05-06 16:01:25

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

Re: [plugin] [ORPHAN] bas_img_selector

Hey Agust!

You have to go to the plugin tab in your admin area. There should be an option to edit the plugin code. Search this code for “Textile Help” an change it to the icelandic (or whatever) translation of this phrase. Save the Plugin. That’s all :)

I don’t know if there is a possibility to change the plugin that way, that it doesn’t search for “Textile Help” but for the variable in the language file belonging to this phrase.

Nils

Offline

#33 2005-05-06 16:11:08

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Re: [plugin] [ORPHAN] bas_img_selector

Thanks alot Nils :)


regards,

Agust

Offline

#34 2005-05-06 22:19:25

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: [plugin] [ORPHAN] bas_img_selector

Okay… using rc3 and this shows up on the Content page. The plug-in is there and it works fine, but I get the folowing at the bottom of the page…

Warning: array_unique(): The argument should be an array in /home/brewerde/public_html/textpattern/lib/txplib_misc.php(351) : eval()’d code on line 106

Warning: array_values(): The argument should be an array in /home/brewerde/public_html/textpattern/lib/txplib_misc.php(351) : eval()’d code on line 106

Warning: join(): Bad arguments. in /home/brewerde/public_html/textpattern/lib/txplib_misc.php(351) : eval()’d code on line 122


To even the least of these…

Offline

#35 2005-05-12 21:58:50

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: [plugin] [ORPHAN] bas_img_selector

Same to me. Same warnings as jbrew gets.
(I changed to german Textile Hilfe.)

anybody?

Offline

#36 2005-05-13 00:05:58

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] bas_img_selector

(Edit: I screwed up the instructions.)

The plugin still works. To make the errors go away, the plugin code only needs a teensy adjustment.

Instructions

Last edited by Mary (2005-05-17 02:47:15)

Offline

#37 2005-05-13 05:31:03

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: [plugin] [ORPHAN] bas_img_selector

Mary, this is what I did…

<blockquote>
<code> $bas_cats = array(); $bas_img = bas_get_img(); $bas_img_cat = bas_get_cats($bas_img); $bas_out = bas_prefs_for_js($bas_img_cat); $bas_out.= bas_img_for_js($bas_img); bas_display($bas_out);
</code>
</blockquote>

I continue to get errors. Am I missing something here?


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#38 2005-05-13 09:40:54

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: [plugin] [ORPHAN] bas_img_selector

sh… same to me…

Offline

#39 2005-05-13 23:58:57

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] bas_img_selector

(Edit: I screwed up the instructions.)

The plugin still works. To make the errors go away, the plugin code only needs a teensy adjustment.

Instructions

Last edited by Mary (2005-05-17 02:47:03)

Offline

#40 2005-05-15 13:37:19

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] bas_img_selector

BTW, is there any way to make the “Select image” INPUT a little bit smaller? It’s too wide dor 800×600 resolutions.

Offline

#41 2005-05-15 20:15:37

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: [plugin] [ORPHAN] bas_img_selector

just tried this and getting the same errors – I’ve tried mary’s suggestion and the one regarding changing the language, both still provided the same teo errors followed by the bad argument. So i’ve deleted it, but if anyone finds a fix for it, would be grateful

Offline

#42 2005-05-16 06:18:11

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: [plugin] [ORPHAN] bas_img_selector

Hi Mary, I changed it. But I still continue to get errors.


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#43 2005-05-17 02:45:50

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] bas_img_selector

Oh I am sorry, I had a typo in my instructions (there’s no ending “s”). I’ve edited my posts above to point to this one.

1. Click on “edit” for bas_img_selector

2. Find the bas_get_cats function definition, around line 100:
function bas_gets_cats($basimg)

3. Insert a line right after it:
$bas_cat = array();

4. Save and close. Errors go bye-bye.

Offline

#44 2005-05-17 07:30:26

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: [plugin] [ORPHAN] bas_img_selector

In the content area there is:

advanced options
recent articles

is there meant to be a third option? I installed the plugin and where the drop should display there is just a blank space. It did work before, but with errors. used the above fix to remove the errors – so that part worked. Suggestions on this?

Cheers

Offline

#45 2005-05-17 15:22:22

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] bas_img_selector

Hm. Is the plugin “active”? Clear your browser’s cache?

Offline

Board footer

Powered by FluxBB