grezvany13
Forum Replies Created
-
Ahh… I’m so sorry…
I had both plugins installed (no idea why) and since I use WP User Avatar, it seems to be logical to post the error here. Although I should have seen it by the file path.
Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] permalinkHere’s one of the scripts I build for the new router:
$id = get_the_ID(); if(is_page($id)) { $post = &get_page($id); } else { $post = &get_post($id); } if($post->post_parent){ $ancestors = get_post_ancestors($post->ID); foreach($ancestors as $ancestor) { if($ancestor->ID == $id) continue; $ancestor = &get_post($ancestor->ID); $slug .= $ancestor->post_name.'/'; } } $slug .= $post->post_name . '/'; $url = get_option('home') . '/' . $slug;What does it do?
It fixes the problem where the gallery on a page ALWAYS uses the page_id, while in a post it can use page_name.Please note: you can’t use this snippet yet, since it requires more code to be altered (like the rewrite rules). Although it will give you an idea of some ‘new features’ I’m building π
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Giant spaces between thumbnails… please help!The problem has nothing to do with NextGen or WordPress but with your theme.
<div id="content"> <div id="main"> <div class="post" id="post-8"> <div class="entry"> <h2><a href="http://www.hatfieldmedia.com/photo/" rel="bookmark" title="Permanent Link to Photography">Photography</a></h2> <p><code> <div class="ngg-galleryoverview" id="ngg-gallery-12-8"> <!-- Thumbnails -->You’ll note the extra code-tag before the ngg-gallery div? There’s the problem.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Manage Gallery Screen BlankI found the problem: Your PHP version is too low!
Requirements
* WordPress 2.7.x or above
* PHP 5.2 or higher
* GD 2 Library
* Freetype Support (for Watermark)
* Safe-Mode Off (for more function)
* Memory limit should 16MB or more
(source: http://alexrabe.de/wordpress-plugins/nextgen-gallery/)Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] ERROR: [filename]:0The error is generated by the PCLZip class (WP core) and returned to NextGen. The PCLZip class is used when you upload a zip file with images, which (as far as I can see at your descriptions) not the case.
I’ve tested all the upload types and didn’t get any errors.
The problem could be NextGen, WordPress or your server settings.My Setup
Wordpress : 2.8.6
NextGen : 1.4.3
Operating System : Windows Vista Business – 64bit
Server : Apache/2.2.11 (WampServer)
MYSQL: 5.1.30
PHP: 5.2.8
Safe Mode : OffForum: Plugins
In reply to: [Plugin: NextGEN Gallery] Using NextGEN inside postCan you see the NextGen Icon? or Does it open a popup?
1) missing / corrupt javascript
To check this try to open: http://your.domain.tld/wp-content/plugins/nextgen-gallery/admin/tinymce/editor_plugin.js
This file should exist and be proper coded (ending with })(); ).Can you see the forms inside the popup?
2) missing / corrupt php
To check this try to open: http://your.domain.tld/wp-content/plugins/nextgen-gallery/admin/tinymce/window.php
This file should exist and return an empty page, although viewing the source should show a form.Both problems means to upload/reinstall the plugin again since it has missing or corrupt files.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Fatal Error – Allowed Memory Size@goingbigger: read the 2 solutions SEMPHI provides, that should work. Unless you have the same host π
@semphi: the best solution would be change hosting, although there is a simple solution. If you have FTP access to your WordPress installation you also can upload the photo’s to /wp-content/gallery/gallery-name/ and use the import function ( WP Admin > Gallery > Add Gallery / Images > Import image folder) which will handle the new files the same as when you upload them.
Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] permalinkHi Gordon,
it’s a known ‘problem’ that the url’s don’t look as nice as it should. And at this time no solution is available. The biggest problem is that NextGen uses it’s own router class (/lib/rewrite.php), which is required to show multiple pages within a plugin. This means that (no matter what) the base URL of the plugin is /nggallery/ and then a bunch of ugly stuff (from “/page-X/” to “/post/X/album-X/gallery-X/page-X/slideshow/”).
At this moment I’m working on a new router class which fixes most problems (eg use the page/category/post name as base url) and let it use the same (permalink) settings as the WordPress installation itself, though it’s more complex as it looks.
When as working version is ready I’ll contact the NextGen developer(s) and post the fixes at these forums and maybe it will be included in one of the next versions.
Though, if you’re a skilled PHP programmer and find a solution yourself, I’ll be happy to use the fix π
Forum: Requests and Feedback
In reply to: [Plugin: NextGEN Gallery] Singlepic ExifJust copy the Exif data table from /view/imagebrowser-exif.php and place it at /view/singlepic.php. This should do the trick π
Forum: Plugins
In reply to: [Plugin NextGEN Gallery] GPS & EXIFNextGen Gallery reads the meta data from the image and puts the information in an array which is easier to access. In this process only the default information is kept, which means that the GPS data is lost.
You can easily add extra fields to the array by modifying the get_EXIF() function in /lib/meta.php (line 105).
I can’t provide the exact code since I don’t have any pictures with GPS information, but it shouldn’t be a big problem to add this functionality by yourself.