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
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!
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.
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".
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 )
Unfortunately, that's all of it. I can email you the popup html source if that will help...
Thanks
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
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?
Good for me with PHP5 also - thanks!
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
@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;
}`
Thanks! This works great. Only i added the css true HTML Inserts, so i didnt had to modify a file.
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:
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.