Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-06-04 07:26:32

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Hi Mary,

is there anyway I can easily remove some of the insert commands? I only need a few.

Also, small bug report, if you have upm_file_popper and ump_image_popper installed the “Popup width” preference for ump_image_popper seems to be overridden.

Last edited by FireFusion (2007-06-04 07:29:25)

Offline

#14 2007-06-04 13:29:44

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

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

You would need to modify the plugin. Thanks for the report, I’ll check into that.

Offline

#15 2007-07-02 06:17:26

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Hi Mary, I get these errors appear when updating to 4.0.5

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_width' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_width',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_height' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_height',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_alt' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_alt',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_title' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_title',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_class' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_class',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_the_class' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_the_class',
				val = 'image',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_custom_form' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_custom_form',
				val = 'upm_img_popper',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_form' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_form',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_admin_popup_width' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_admin_popup_width',
				val = '725',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_admin_popup_height' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_admin_popup_height',
				val = '400',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 84

Offline

#16 2007-07-02 10:56:04

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

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

It doesn’t matter; you can safely ignore it.

Offline

#17 2007-07-18 17:15:33

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

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

using txp 4.0.5 it seems to be working fine. but when i have multiple pages of images to choose from (ie i click on “next” at the bottom) i get this outputted at the top of the image popper page:

Notice: Undefined index: in /mnt/w0202/d31/s24/b02b5cfd/www/site/textpattern/lib/txplib_head.php on line 220

Warning: Invalid argument supplied for foreach() in /mnt/w0202/d31/s24/b02b5cfd/www/site/textpattern/lib/txplib_head.php on line 220

the 2nd page actually lists the images just fine. just wondering what the notice/warning was about. hmm

Last edited by iblastoff (2007-07-18 17:17:07)

Offline

#18 2007-07-26 15:07:52

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

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

v.1.3.5

Last edited by Mary (2013-01-24 17:22:59)

Offline

#19 2007-07-26 17:03:51

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

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Mary wrote:

v.1.3.5

thank you!

Offline

#20 2007-08-03 15:45:11

mattgilbert
Member
Registered: 2006-03-23
Posts: 70

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Great plugin!

It seems like whatever I set the width of the popup to be, i always get a dinky little window about 500 × 400. any clues on why the preferred width would be ignored? Can I hard code it to be bigger somehow?

Offline

#21 2007-08-24 15:32:51

starzabove
Member
Registered: 2004-04-13
Posts: 76

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

I upgraded a client to Txp 4.0.5 and then upgraded their upm_img_popper from version .9something, and now none of her images are showing up from previous, but new ones will show up. Did I miss something from a past upgrade?

Thanks again Mary, for all that you do!

UPDATE:

I’ve now installed upm_img (a plug-in that I didn’t have before) and all is well again.

Last edited by starzabove (2007-08-24 15:50:32)


90+ Textpattern installs and still going…

Offline

#22 2007-09-19 15:01:04

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

My IE7 (and probably yours, too) shows a strange behaviour: Setting an elements class name via foo.setAttribute('class', 'bar') ist somehow ignored, while using foo.className = 'bar'; delivers the desired results.

This is why upm_img_popper’s activation link looks like an ordinary h3 Element in IE71, while it looks like a h3.plain in other browsers.

Changing line #495 (in v1.3.5) from

	link.setAttribute('class', 'plain');

to

	link.className = 'plain';

helps one of the most challenged browser simulations of the world to render a pleasing link2.

1 Exhibit A:

2 Exhibit B:

Offline

#23 2007-09-20 12:09:16

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

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

It’d do that in any IE version actually, they all have that retarded className syntax. Apparently I forgot about it, who knows when.

Offline

#24 2007-09-20 12:55:46

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

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

FYI, the same thing occurs with the “Attach file” link generated by upm_file_popper.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB