Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_img_popper

#511 2006-02-14 04:08:28

darrenemo
Member
From: Ca
Registered: 2005-07-30
Posts: 29
Website

Re: upm_img_popper

yeah i can install other plugins.

Offline

#512 2006-02-14 06:09:17

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

Re: upm_img_popper

Might be the plugin’s size (it really is a monster now).

You can try loading the plugin by an alternate method. You’d grab a copy of the plugin as a PHP file and place it within a plugins folder, as if the plugin was being developed. Someone ‘round here can explain to you how to do that if that’s confusing.

The only drawback with that is you lose the ability to activate/deactivate it the plugin from the admin panel; you’d need to remove the plugin from that folder to keep it from loading. Textpattern’s plugin system is not particularly friendly to anything but small plugins, which makes the future ‘elements’ feature a nice step forward.

Offline

#513 2006-02-14 06:32:53

darrenemo
Member
From: Ca
Registered: 2005-07-30
Posts: 29
Website

Re: upm_img_popper

thanks mary. i was wondering how i could install the plugin another way. i appreciate your hard work—this plugin is invaluable!

Last edited by darrenemo (2006-02-14 06:35:59)

Offline

#514 2006-02-14 06:38:20

darrenemo
Member
From: Ca
Registered: 2005-07-30
Posts: 29
Website

Re: upm_img_popper

quick question—where exactly would i stick this plugin? i just take the .txt file and resave it as a .php right? thanks again mary

Offline

#515 2006-02-14 13:31:01

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: upm_img_popper

Get the zip for the uncompiled plugins After you extract them you will need to upload upm_img_popper.php into you plugin_cache_dir. You can set that by going to Admin -> Advanced Preferences. It’s the last option under admin. Basically set that to a directory on your site and upload the uncompiled plugin there.


Shoving is the answer – pusher robot

Offline

#516 2006-02-15 21:45:30

darrenemo
Member
From: Ca
Registered: 2005-07-30
Posts: 29
Website

Re: upm_img_popper

thanks. imma try that out. thanks for being so responsive to my q’s! I love txp!

Offline

#517 2006-02-16 22:45:39

darrenemo
Member
From: Ca
Registered: 2005-07-30
Posts: 29
Website

Re: upm_img_popper

more questions unfortunately:

okay, so i make a folder called pluginsss and put it into my textpattern directory (../textpattern/pluginsss/)
so in my admin > advanced preferences i put ‘/pluginsss’ as the value for the plugin directory.
i then uploaded the upm_img_popper.php into that directory. also put that directory as CHMOD 777

Is there anything else I need to do? Do I need to put the full path into the plugin directory field in the admin directory?

Thanks in advance

Offline

#518 2006-02-16 23:12:53

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: upm_img_popper

I think the path is filesystem path not the webserver path. At least that’s how I have always done it. I normally just take the path that’s in the file upload path setting and adjust it accordingly (normally just replacing files with textpattern/plugins or whatever your directory is)


Shoving is the answer – pusher robot

Offline

#519 2006-02-17 01:23:35

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

Re: upm_img_popper

That’s correct, it needs to be a full filesystem path, like the path for files.

Offline

#520 2006-02-17 01:23:48

darrenemo
Member
From: Ca
Registered: 2005-07-30
Posts: 29
Website

Re: upm_img_popper

so after i set this up, the plugin should just automatically appear in the plugins section? I think I’ve done everything right for this to work. What’s up?

Offline

#521 2006-02-17 01:37:20

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

Re: upm_img_popper

It won’t appear, that’s the limitation of this method. You’ll know it’s working if you go to your write tab, and there’s a new link there on the left-hand side.

Offline

#522 2006-02-17 01:39:07

darrenemo
Member
From: Ca
Registered: 2005-07-30
Posts: 29
Website

Re: upm_img_popper

WOOO!! yesssssssssssssssssssssssssssssssssssssss thanks so much you guys :} thanks alot mary for your hard work and you too hak. everyone else who took time out to hook me up. thanks again!

Offline

#523 2006-02-21 05:47:07

dododi
Member
Registered: 2006-01-14
Posts: 17

Re: upm_img_popper

Is it possible to automatically set a class for the thumbnail as is done with the main image.

Even if I can add it to the plug-in code itself, this would save a huge amount of time. Does anyone have any tips?

Currently when I insert an image into the main article the class “floatright” is added. What would be great is if I can add a different class for the excerpt thumbnail as well. This would save my clients from having to add the class themselves i.e.

[txp:upm_image type=“thumb” image_id=“8” class=“floatright2” /]blah blah blah

Thanks

Last edited by dododi (2006-02-21 05:47:54)

Offline

#524 2006-02-21 13:23:45

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: upm_img_popper

You could always wrap your excerpt in a classed element and style the floatright class accordingly. That way you can use the same class.

Something like

<pre>
.floatright { float:right;
}

.excerpt .floatright { float:left;
}
</pre>

Last edited by hakjoon (2006-02-21 13:24:09)


Shoving is the answer – pusher robot

Offline

#525 2006-02-22 07:09:12

dododi
Member
Registered: 2006-01-14
Posts: 17

Re: upm_img_popper

Thanks hakjoon.

I hate it when the solution is staring me in the face. As always the simplest solution is always the best.

Why hard code it when you can use CSS.

Thanks again.

Offline

  1. Index
  2. » Archives
  3. » upm_img_popper

Board footer

Powered by FluxBB