Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2007-12-14 05:17:42

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

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

I’ve had similar window size problems to Tom.

Offline

#32 2007-12-17 15:28:45

sauo
Member
Registered: 2005-07-05
Posts: 11

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

Hello,
Mary, I get a strange error when I’m trying to install this plugin:

Fatal error: Call to undefined function gzinflate() in /home/users/…/textpattern/include/txp_plugin.php on line 207

I have TXP 4.0.5 and two other plugins: cnk_section_tree and rvm_if_this_article. Any ideas why it happens?

Offline

#33 2007-12-20 18:25:14

visualpeople
Member
From: Corvallis, Oregon - USA
Registered: 2005-11-16
Posts: 73
Website

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

visualpeople wrote:

In 4.0.5 (maybe in older versions, too, haven’t tried yet) when both upm_img_popper and upm_quicktags are both installed and active, I’m unable to pop an image into the body or the excerpt of an article (article image still works fine). When I try, it just gives me “[object HTMLTextAreaElement]” in the place where the image tag should be. If I deactivate upm_quicktags, it all works just as it should, I just don’t have quicktags. Any ideas why this is happening?

Mary wrote:

Are you running the latest versions of both plugins?

I’ve done pretty extensive testing now — I am using the latest versions of both plugins. I’ve tried deactivating every plugin but those two, just in case, and I still get the same result.

Any thoughts on what would cause that object tag to appear anyway?

Last edited by visualpeople (2007-12-20 18:25:38)

Offline

#34 2007-12-28 00:40:23

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

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

sauo: try downloading the uncompressed version of the plugin.

Ryan: I will have to install them both again and see what the problem is. What browser(s) are you using?

Offline

#35 2007-12-28 08:58:52

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

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

I am getting the same error:

[object HTMLTextAreaElement]

Was working fine, but then I added some other plugins, like upm_file, upm_file_popper, ied_hide_in_admin… I don’t know which one is causing upm_img_popper problems. I can say that suddenly the prefs for the popup don’t work – it is set to open a 1000×600 window, and it only opens a small window.

Using Safari 3 on Mac.

Offline

#36 2007-12-28 09:02:03

visualpeople
Member
From: Corvallis, Oregon - USA
Registered: 2005-11-16
Posts: 73
Website

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

Mary — I’ve tried in Safari, Firefox for Mac and PC and IE 6 and 7 — all pretty much the same result except IE just inserts [object]. Thanks so much.

-Ryan

Offline

#37 2007-12-30 02:26:06

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

Hi Mary. Something I’ve spotted whilst messing with the TXP admin is that your plug-in uses <body id="Image Selector">. Whilst you can have multiple classes you can’t do the same with id tags.

Whilst I’m here I may as well ask – What are the chances of plug-ins that produce a “pop-up” using a common body id?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#38 2007-12-30 03:25:05

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

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

  1. Huh? What are you talking about?
  2. What if you don’t want your window re-used?

Offline

#39 2007-12-30 03:37:57

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

1. The pop-up window that your plug-in produces has the “body” id set to <body id="Image Selector"> which can’t be used to aim any CSS at it. This can be modified within the plug-in code but what I can do and what others can do… It would be better changed at source.

2. I wasn’t suggesting re-using windows. What I am suggesting is that those plug-ins that produce a pop-up could all use the same body id for the window which would mean that the same CSS could be applied to all of them.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#40 2007-12-30 04:13:51

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

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

No, it doesn’t. It doesn’t set one at all, so if you have one, something else is at play. I suspect you might be running with a “facelift” mod that is trying to use the page title as the body id or something. I was so confused I even double-checked my plugin on a clean install. Nope, it ain’t there:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
			"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">
	<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	<title>Txp › My Site › Image Selector</title>
	<link href="textpattern.css" rel="Stylesheet" type="text/css" />
	<script type="text/javascript" src="textpattern.js"></script>

	<script type="text/javascript">
	<!--

		var cookieEnabled = checkCookies();

		if (!cookieEnabled)
		{
			confirm('Browser cookies must be enabled to use Textpattern.');
		}

	-->
	</script>
	<script type="text/javascript" src="jquery.js"></script>
	</head>
	<body>

As to actually adding one: what would your suggestion be? What CSS would a user want to apply to plugin popup windows that they don’t want to apply to all their pages (since the plugin loads textpattern.css)?

Offline

#41 2007-12-30 04:15:27

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

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

Ryan: there is a function conflict between the two plugins. I’ll release an update in a few minutes that should resolve it for you.

Offline

#42 2007-12-30 04:31:15

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

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

v.1.3.6 is available for download.

Offline

#43 2007-12-30 04:57:20

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

Whoops. Sorry Mary. My bad. I’m using $pagetitle for the body id. Mmmm. What else could I use?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#44 2007-12-30 08:38:00

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,416
Website GitHub Mastodon

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

Any chance to have this fix included for those who suffer from a bad case of browser imitation?

Offline

#45 2008-01-02 18:27:37

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

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

on a clean TXP 4.0.5 installation using v1.3.6 of the plugin, this is what happens when i try to delete an image from the popper window. it seems to just shift me directly to the image tab rather than the plugin’s normal display:

Last edited by iblastoff (2008-01-02 18:31:53)

Offline

Board footer

Powered by FluxBB