WPReady
Forum Replies Created
-
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Albums disapperingI guess Niko’s answer is better π …
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Rename URL path of page breaks albumGallery slug (nggallery) can be changed from settings, but can’t be suppressed completely (an empty slug is filled with nggallery value…)
I’d like also to offer a way to get rid the slug, so I’m currently viewing some options…Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Rename URL path of page breaks albumHi pjamedia,
thanks for your feedback.
Casually I found the same issue yesterday with the same workaround.
I’m working on that, I’ll let you know any progress.Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Albums disapperingThinking about it, it would be possible.
Album structure is stored in [suffix here]_nggalbum table (usually wp_nggalbum) into the sortorder field. This field stores a serialized array representing the gallery/album stack for the current album.
For example, I have a gallery where sortorder values is:
a:3:{i:0;s:1:”5″;i:1;s:2:”a2″;i:2;s:2:”a3″;}The array meaning is: 5 represents a gallery with ID 5, and other two values starting with an ‘a’ (a2,a3) are albums with ID 2 and 3 respectively .
Then the album is a stack of three elements, one gallery and two albums.There is an action named ngg_update_album_sortorder which is triggered when a change to sortorder is made. Notice this action happen AFTER the field update, so there wont’ be track of previous values, but this should be a starting point to check what’s going on with your installation.
I’ll try to give a code example, when the time allows me(!).
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Albums disapperingHi mynoch,
thanks for your feedback.
The problem here is how to reproduce the issue, without it we’re walking in circles.
I couldn’t find anything wrong yet.Hi pjamedia,
solved the z-index problem. It took me a time to figure it out a workaround.
Could you download and test it again? (same link, just updated)
ThanksForum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Modal, Popup or what ever…donΒ΄t workHi matiasgys,
Check on Gallery -> Settings -> Gallery if you have
ImageBrowser checked. Uncheck itAlso check your Gallery->Settings->Effects . Select Shutter for example.
Refresh the page and try again
If none works, please provide a link with an example.
Thank you.
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Facebook autoposter and galleryOk, but where is that error? Do you have some other info related?
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Facebook autoposter and galleryHi piechcio,
thanks for your feedback.
I guess the problem goes like this: NextScripts: SNAP uses Ajax . When that happen, Nextcellent avoid loading some classes, which is causing also the problem. One of the classes omitted is nggRewrite causing the error you’re mentioning.The solution should be including the class without taking care is an Ajax operation.
If you want a fast & dirty solution, you’ll need to edit the plugin’s code.
I have to warn you: this is simple, but it could be risky.
If the change works for you, a fix will be included on next version ,1.9.26Steps:
1-Edit the file nggallery.php (in the plugin’s root)
2-look for the following code (about line 370)
You’ll find something like following code ((I’ve deleted some comments to simplify):// We didn’t need all stuff during a AJAX operation
if ( defined(‘DOING_AJAX’) )
require_once (dirname (__FILE__) . ‘/admin/ajax.php’);
else {
require_once (dirname (__FILE__) . ‘/lib/meta.php’);
require_once (dirname (__FILE__) . ‘/lib/media-rss.php’);
require_once (dirname (__FILE__) . ‘/lib/rewrite.php’);
include_once (dirname (__FILE__) . ‘/admin/tinymce/tinymce.php’);
// Load backend libraries
if ( is_admin() ) {
require_once (dirname (__FILE__) . ‘/admin/admin.php’);
require_once (dirname (__FILE__) . ‘/admin/media-upload.php’);
$this->nggAdminPanel = new nggAdminPanel();
}
}3-Move the line including the rewrite.php file before the ‘if’ and comment sentence. The final code will be like this:
require_once (dirname (__FILE__) . ‘/lib/rewrite.php’);
// We didn’t need all stuff during a AJAX operation
if ( defined(‘DOING_AJAX’) )
require_once (dirname (__FILE__) . ‘/admin/ajax.php’);
else {
require_once (dirname (__FILE__) . ‘/lib/meta.php’);
require_once (dirname (__FILE__) . ‘/lib/media-rss.php’);
include_once (dirname (__FILE__) . ‘/admin/tinymce/tinymce.php’);
// Load backend libraries
if ( is_admin() ) {
require_once (dirname (__FILE__) . ‘/admin/admin.php’);
require_once (dirname (__FILE__) . ‘/admin/media-upload.php’);
$this->nggAdminPanel = new nggAdminPanel();
}
}If you decide to apply this ‘fix’ tell me if it worked. Thanks
Hi pjamedia,
thanks for your feedback!The speed improvement is a positive side effect. The way the image list is now retrieved uses a different and faster query. However, if the album is big, you’ll end up waiting too long (let’s say more than 300-400 images).
I was hoping the z-index problem was only a problem on my tests :(…I’m working to isolate it. I’ll let you know shortly when I’m done.
I’d be glad if you can send us your custom template. It’s a very nice presentation. Don’t forget to add your name and link on your files so you will be credit for it.
Thanks.
Hi codifex,
Niko already submitted a request to workaround the problem.
This fix will be released with other improvements in 1.9.26 version.Thanks for your feedback!
Hi pjamedia,
I made a branch which solves:
-Drop down box list proper images from album.Currently there is not image limit, which it means the dropdown will work in albums with few images and probably it fails (or in fact, you will have to wait too much) displaying bigger albums.
I’m currently trying to find best settings or a clever way to solve the image limit.
Download the branch version from
https://bitbucket.org/wpgetready/nextcellent/downloads
See 20150304-album-preview-fixFirst thing to notice is the combo should bring pictures related to the album .Instead is bringing last 50 images uploaded, which definitively isn’t very helpful.
Hi pjamedia,
First, thanks for your comments and the time you took to give us a great feedback.I’m going to make few changes to deal with that special case.
I’ll get back to you as soon I finish.Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Album won't displayWhen you switch to Nextcellent, galleries don’t dissapear. I guess something else is going on. Check Galleries options and if there are no images try scanning folders.