ZenphotoCMS Forum
ZenphotoPress: 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: ZenphotoPress: Zenphoto plugin for WordPress (/thread-1802.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


ZenphotoPress: Zenphoto plugin for WordPress - trisweb - 2008-08-24

And I must say, this latest release is absolutely phenomenal. I love how defaults are available for everything so I can tune it how I like it and just use it. Great job!

I want to use the sidebar widget too, I'll work it in my theme at some point. Thanks again.

One thing I really need, as I have dozens of albums and it's hard to sort through the menu - if you could sort the Album selection menu by the album sort order, that would be great! I think I will just go hack that in now, but I'm sure you know how as well




ZenphotoPress: Zenphoto plugin for WordPress - cox - 2008-08-24

I can't get it to work. I can't select an album, the drop-down menu doesn't show any albums. I double checked all the settings and am sure they are right. Could anyone offer a suggestion on what is wrong
(WP2.6.1 + ZP1.2)




ZenphotoPress: Zenphoto plugin for WordPress - greggreiner - 2008-08-24

I'm getting the following when I click the Zp icon in the WP post editor after installing v1.5:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in .../wp-content/plugins/zenphotopress/classes.php on line 225

Any ideas why this would happen? WP v2.6.1 and ZP 1.2

Thanks!




ZenphotoPress: Zenphoto plugin for WordPress - greggreiner - 2008-08-24

I got rid of the warning message by adding allow_url_fopen = On to my php.ini file, but my albums dropdown is still empty. My configuration paths are set the same as with previous versions.




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2008-08-24

Ok, both of you seem to have the same problem.
Is your gallery on the same server as Wordpress?

You could also try enabling debug messages to see if it tells you more about what is going on: write "ZP_E_ALL" in line 27 in classes.php, in the place of "ZP_E_FATAL".




ZenphotoPress: Zenphoto plugin for WordPress - greggreiner - 2008-08-24

Same server. I'll post the debug results asap.

Update: Here's what I see:

ZenphotoPress Messages

INFO

PHP Version: 4.4.8

INFO

Current working directory: //html/blog/wp-content/plugins/zenphotopress/tinymce

INFO

POST:

INFO

GET: Array ( [tinyMCE] => 1 [ver] => 311 )




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2008-08-24

Strange: you should actually see one more debug message, saying something like "ZenphotoProxy call".
Try looking for hidden PHP messages in the popup. If you have Firefox, right click on the ZenphotoPress popup, select "This frame" and "View frame source".




ZenphotoPress: Zenphoto plugin for WordPress - greggreiner - 2008-08-24

Unfortunately, that's all of it. I can email you the popup html source if that will help...

Thanks




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2008-08-25

Let's try it: webmaster@simbul.net




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2008-08-25

Quick update: the issue seems to be caused by PHP4, which silently dies after choking on a small try/catch block

If we were in a perfect world I'd tell you all to upgrade to PHP5... but since this world is far from perfect, I'll just try to restore PHP4 compatibility as soon as possible




ZenphotoPress: Zenphoto plugin for WordPress - cox - 2008-08-25

Thanks Simbul. Upgrading to PHP5 made everything run as it should




ZenphotoPress: Zenphoto plugin for WordPress - MarcelSpijker - 2008-08-25

I have a small problem with the widget.
I just don't know how to get the thumbs side by side.
I want to display 4 images with two in a row.
I, I , I ... I must have a big ego

Hope you can tell me how to do it.

And thanks for making this! It's a great feature for wordpress!

Just got a new question in my head... Is it possible to use more then one widget?




ZenphotoPress: Zenphoto plugin for WordPress - greggreiner - 2008-08-25

Good for me with PHP5 also - thanks!




ZenphotoPress: Zenphoto plugin for WordPress - yuande - 2008-08-26

Hi,
I am new here and I want to thanks Simbul for this plugin.
Ok, I am facing the same problem as cox: the icon ZP is in the write toolbar, I click on, a pop-up is opening, and then the drop-down menu is empty. I emptied the cache of my Firefox but well, still have the problem. My zenphoto is on on the same server as my worpress.
You said that you upgraded to php5, how to do that ? Thanks for your help.
I




ZenphotoPress: Zenphoto plugin for WordPress - cox - 2008-08-26

@ Yuande: For me fortunately it was only a matter of clicking one button in the control panel of my hosting service. Check with your webhost to see if PHP5 is an option for you.




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2008-08-26

@MarcelSpijker: ZenphotoPress is completely stylable through CSS. You just have to write some code in the style.css file in your Wordpress theme folder.
The widget is assigned a class named .ZenphotoPress_widget, so you could try something like:

`.ZenphotoPress_widget dt {

float: left;

margin: 5px;

}`




ZenphotoPress: Zenphoto plugin for WordPress - MarcelSpijker - 2008-08-26

Thanks! This works great. Only i added the css true HTML Inserts, so i didnt had to modify a file.




ZenphotoPress: Zenphoto plugin for WordPress - vtroia - 2008-08-26

For whatever reason, I can't make this plugin work. I am running the latest wordpress and Zenphoto. Php version 5.2.6.

My PHP Info here: http://www.vinnyandjess.com/test.php

The error I am receiving:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/13/d209020387/htdocs/VinnyAndJess/wp-content/plugins/zenphotopress/classes.php on line 225

Warning: file_get_contents(http://www.vinnyandjess.com/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_albums&admin_path=/homepages/13/d209020387/htdocs/VinnyAndJess/pictures/zp-core) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/13/d209020387/htdocs/VinnyAndJess/wp-content/plugins/zenphotopress/classes.php on line 225


  • You'll notice from my phpinfo url that allow_url_fopen and allow_url_include are already set to ON.

  • You'll also notice that if you try to use the URL that is in the error, you get plenty of data returned:

http://www.vinnyandjess.com/wp-content/plugins/zenphotopress/zenphoto_bridge.php?function=get_albums&admin_path=/homepages/13/d209020387/htdocs/VinnyAndJess/pictures/zp-core




ZenphotoPress: Zenphoto plugin for WordPress - Simbul - 2008-08-26

Well, this is kinda strange: it seems your server isn't very clear on how it's making PHP run

When allow_url_fopen is true you shouldn't get the warning. In fact, I'm currently having some problems understanding why file_get_contents() fails.

I'll do some more research. In the meantime, you could try asking for help to your server administrator.

Another possibility: go to line 224 in classes.php and substitute it with
if (false) {
This workaround should avoid file_get_contents altogether. Worth a try, but it's possible the fallback method won't work either.




ZenphotoPress: Zenphoto plugin for WordPress - yuande - 2008-08-27

@cox: ok, I've done it. I changed to php5 and it is working now. Thanks for your help.