ZenphotoCMS Forum
ZenPress: Zenphoto plugin for WordPress - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: ZenPress: Zenphoto plugin for WordPress (/thread-449.html)

Pages: 1 2 3 4 5 6 7 8 9 10


ZenPress: Zenphoto plugin for WordPress - ryudonghyup - 2007-02-08

I'm using wordpress 2.1 + zenphoto 1.0.7 + zenpree 1.2.1
It looks like zenpress conflicts with now reading plugin. When I tried to open zenpress in the writing menu. I always show this error message. But it worked when I deactivated now reading plug. Is there any solution for this problem? Or do I had to switch back and forth plugins?

[b]Warning: main(wp-content/plugins/now-reading/translations/wp-admin/admin.php) [function.main]: failed to open stream: No such file or directory in /home/ryudongh/public_html/wp-content/plugins/zenpress/tinymce/popup_zp.php on line 41

Fatal error: main() [function.require]: Failed opening required 'wp-content/plugins/now-reading/translations/wp-admin/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ryudongh/public_html/wp-content/plugins/zenpress/tinymce/popup_zp.php on line 41[/b]




ZenPress: Zenphoto plugin for WordPress - trisweb - 2007-02-08

Simbul, did you overwrite a wordpress path variable, or perhaps a commonly used variable name in your plugin?

Perhaps make any global variables in zenpress more unique, like $zpr_varname. There seem to be conflicts with a couple plugins so far...




ZenPress: Zenphoto plugin for WordPress - Simbul - 2007-02-08

Just released 1.2.2, which should take care of the issue.
Thanks for helping me make ZenPress better




ZenPress: Zenphoto plugin for WordPress - thinkdreams - 2007-02-08

I'll update the wiki links.




ZenPress: Zenphoto plugin for WordPress - kifo - 2007-02-08

Erm I am totally new to this but I just got zenphoto and zenpress installed on my new Wordpress blog.

-wordpress 2.1
-zenphoto 1.0.7
-zenpress 1.2.2

I find that activating the zenpress plugin will mess up the TinyMCE editor. I will end up with the two Visual and Code tabs but I won't be able to see any of the buttons below? Deactivating Zenpress will return the TinyMCE editor.




ZenPress: Zenphoto plugin for WordPress - anneh - 2007-02-08

Hi, thanks for this promising looking plugin!

But, when trying to insert an image it creates a path like:
''

which obviously should be
''

Any ideas? is my Zenphoto admin path incorrect? (I tried several paths)

Thanks a lot!

Anne




ZenPress: Zenphoto plugin for WordPress - thinkdreams - 2007-02-08

@anneh-

Double check your paths once again. That's what it looks like to me. Check for additional slashes.

Remember it should look like this (with no trailing slashes):

base zenphoto path:
http://www.yourgallery.com/zenphoto
admin path:
/var/www/example.com/gallery/zen

these should be autodetected, but may not always be depending on your configuration.

@simbul-

1.2.2 is working and tested OK on my installation. (ZP 1.0.7, WP 2.1)




ZenPress: Zenphoto plugin for WordPress - anneh - 2007-02-08

thanks for the quick reply.

my base zenphoto path is: http://www.annehelmond.nl/zenphoto/
admin path was autodetected at: /home/helmond/domains/annehelmond.nl/public_html/zenphoto//zen

which seems rather odd and creates an incorrect url path. i then changed my admin path to
/home/helmond/domains/annehelmond.nl/public_html/zenphoto/zen
which didn't work either.

Still clueless.

I'm using WP 2.0.7 and ZP 1.1.1 btw.




ZenPress: Zenphoto plugin for WordPress - chazzzzy - 2007-02-08

Works for me now Simbul! Thanks so much!

Quick question though.. I like the default width and height option. Is there anyway you can make it so that it doesn't make it into a square? I want either a 400 width or 400 height (depending on portrait or landscape).. as ZenPhoto allows you to do with the thumbnails. Can you make that happen with Zen Press as well?

From the zp-config.php file:

// Default thumbnail size and scale:
// If $thumb_crop is set to true, then the thumbnail will be a centered portion of the image
// with the given width and height after being resized to $thumb_size (by shortest side).
// Otherwise, it will be the full image resized to $thumb_size (by shortest side).
// NOTE: thumb_crop_width and height should always be less than or equal to thumb_size
$conf['thumb_size'] = 120;
$conf['thumb_crop'] = false;
$conf['thumb_crop_width'] = 120;
$conf['thumb_crop_height'] = 120;

Thanks again!

Charles




ZenPress: Zenphoto plugin for WordPress - Simbul - 2007-02-09

@chazzzzy: not sure I understand what you mean. If you use "thumbnail" as a size, ZenPress will automatically fetch the Zenphoto thumbnail, which means every resizing Zenphoto does will be reflected in Zenpress.
If you use a custom size, you can specify width (or height) alone, and the other dimension will be scaled automatically.

@anneh: both the paths written in your first post are wrong, as far as I can see. The first one WOULD be right IF you had mod_rewrite enabled, but from the URLs in your gallery I see you haven't. The second one cannot be right, IMO: it would be like looking for albums in the Zenphoto admin directory.
What is your mod_rewrite setting?

@thinkdreams: thanks for telling me it's working on 1.0.7.




ZenPress: Zenphoto plugin for WordPress - anneh - 2007-02-09

First I had mod_rewrite enabled and things didn´t work, now that I disabled mod_rewrite things seem to work!

An enabled mod_rewrite would rename http://www.annehelmond.nl/zenphoto/index.php?album=coparck&image=coparck01.jpg to http://www.annehelmond.nl/zenphoto/coparck/coparck01.jpg ? Am I right? I am 99% sure my server allows mod_rewrite enabled, so I am still puzzled about the paths, or maybe I should just contact my hosting company

Thanks for helping, I love the clean gallery & plugin.




ZenPress: Zenphoto plugin for WordPress - anneh - 2007-02-09

Latest update: I phoned my hosting company and I indeed have permission to mod_rewrite. It turned out that my admin path was different than the ZenPress suggestion and my other guesses I love the clean look of the URLS now




ZenPress: Zenphoto plugin for WordPress - chazzzzy - 2007-02-10

@Simbul.. Zenphoto allows you to specify a maximum width AND height of say 400, and you can keep the rectangular shape of the image if you want.

Your program on the other hands ends up cropping the image and makes a square.. I don't want a square.

Would you be able to allow specifying a maximum height AND width without cropping? You can't JUST specify one dimension as the vertical images will be MUCH bigger then horizontal images.

Thanks so much again for a great plug in!

Charles




ZenPress: Zenphoto plugin for WordPress - Simbul - 2007-02-10

Ok maybe I understood the issue: you'd like to specify a single size value, which will be applied to width if the image is horizontal and to height if it is vertical.

It is possible, indeed, but I will have to make careful considerations on where to put the feature in the interface, since I'm afraid it can lead to some misunderstandings.




ZenPress: Zenphoto plugin for WordPress - yzhang - 2007-02-11

Help!!!
I installed zenpress0.9 and after i pressed the ZP button,
the popup window shows:
"ZenPress error. Check your configuration options."

and the firebug shows the error:
tinyMCE.restoreAndSwitchClass is not a function
onmousedown(mousedown clientX=0, clientY=0)
tinyMCE.restoreClass is not a function
onmouseout(mouseout clientX=0, clientY=0)

do i need to manually set up the admin path?




ZenPress: Zenphoto plugin for WordPress - thinkdreams - 2007-02-11

yzhang-

what version of wordpress are you running? you should be using 1.2.2 if you are running wordpress 2.1. It is available at http://www.zenphoto.org/trac/wiki/ZenphotoPlugins.

if you have an older version of wordpress (must be at least 2.0.x), you should consider using the 1.1 version available as well at http://www.zenphoto.org/trac/wiki/ZenphotoPlugins.




ZenPress: Zenphoto plugin for WordPress - yzhang - 2007-02-12

Thank you for your quick reply, thinkdreams.
Now I put zenpress1.2.2 on wordpress2.1 and after I actived zenpress the buttons (which were below the Visual & Code button on write page in wordpress admin panel) disappeared.

Here shows the 3 errors from firebug.

invalid flag after regular expression
[Break on this error] Warning: file_get_contents(/mnt/w0714/d20/s41/b0287e51/www/blogwp/wp-inc...

tiny_mce_gzip.php (line 2872)
realTinyMCE is not defined
[Break on this error] tinyMCE = realTinyMCE;

tiny_mce_gzip.php (line 43)
realTinyMCE is not defined
[Break on this error] tinyMCE = realTinyMCE;




ZenPress: Zenphoto plugin for WordPress - jcb86 - 2007-02-12

I'm getting a blank pop-up box when I click on the ZP button (inside the rich-text editor). Currently running WP 2.0.7, and I've installed ZenPress version 1.1.1

My ZenPhoto Base Path: http://domain.com/gallery
My ZenPhoto Admin Path: http://domain.com/gallery/photos

Using my FTP app, I've uploaded 3 folders (albums) that contain photos. These 3 folders were uploaded into the admin path----> http://domain.com/gallery/photos.

Why am I getting a white screen? What am I doing wrong?




ZenPress: Zenphoto plugin for WordPress - Simbul - 2007-02-12

@yzhang: it seems like some TinyMCE components can't be loaded. Are you sure Wordpress is configured correctly? Maybe some other plugin is causing trouble?

@jcb86: Your admin path should not be an URL, but a filesystem path. Something like /var/www/domain/gallery/zen.
By the way, I doubt gallery/photos is your admin directory. Default admin directory is called "zen" in Zenphoto.




ZenPress: Zenphoto plugin for WordPress - yzhang - 2007-02-12

Thank you, Simbul.
after I put the files under the tinymce fold into "wp-includes/js/tinymce/plugins" the buttons showed.
And also, I tried zenpress on another server ,(just put everything under "wp-content/plugins" folder), zenpress works well.
So different server may need different setup.
The two servers both had wordpress 2.o and zenpress1.22 on them.
The difference is the admin path: 1st one begins as /mnt/; the 2nd one begins as /services/


I hope these words may help others. I love zenphoto & zenpress.