VesaT
Forum Replies Created
-
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Mobile viewSorry, my piece of code included some unnecessary (copy-paste…arrgh!) code. The correct code change should be like this:
$ngg_gallery = is_plugin_active( 'nextcellent-gallery-nextgen-legacy/nggallery.php') && !empty($pid);
But as Niko above states, the WPJaipho has now a more generic way to find if NGG – should work now both with NextGEN and NextCellent.
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Slideshow without FlashWhat settings do you have for NextCellent Gallery slideshow? And what version of WordPress are you using?
Unfortunately I could not visit your site as “paintings” is not an active link.
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Moving from NGG 2.0.61@lampz: did you insert the galleries using NextGEN 2.0.x “Attach to Post” button at your pages/posts? This will generate NGG 2.0.x piece of code that no other plugin understands – not NextCellent anyway.
NextCellent Gallery only works with legacy NGG shortcodes, not NGG 2.0.x generated code. If you have used legacy shortcodes with NGG 2.0.x the galleries should display ok also under NextCellent.
You may test how your design works on any device with a free service at https://www.responsinator.com; just write your site URL into Responsinator and you will see the results for a number of devices. At least https://www.smilefoto.se does not seem to work fully ok on small screens – so the design itself is not responsive ??
There is one simple addition to you theme’s style.css file which you will find in theme’s root folder
/******************************* limit image width to max. 100% ******************************/ img { max-width: 100%; }
This will make sure none of your images will not flow over on small screens.
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Lightbox effectNextCellent has two “lightbox” effects bundled with it: shutter and thickbox.
If you want to have more lightbox effects, use an external lightbox that works ok with NextCellent. My personal favourite at the moment is Lightbox Plus ColorBox. It has several themes with it and you can quite easily add new themes to mach you site design (requires some CSS knowledge though). This plugin works also with standard WP Gallery images and also with images added to posts (if they have a http link to the image file).
You should also transfer all tables starting with ‘ngg’ from your WP’s MySQL database into the new site’s database.
There at at least the following tables (without your WP’s database prefix, which by default is WP_):
ngg_album
ngg_gallery
ngg_picturesBasically you can do this by using your phpMyAdmin service on both sites (export + import).
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Mobile viewI do not use WPJaipho (because I prefer responsive themes supporting all mobile devices), but had a very brief look at this plugin.
WPJaipho works with NextGEN Gallery and supports (only?) its legacy shortcodes. WPJaipho calls NextGEN in its functions.php using NGG’s folder name this way under section // NGG:
$ngg_gallery = is_plugin_active( 'nextgen-gallery/nggallery.php') && !empty($pid);
Find this row in WPJaipho’s functions.php and replace it to include NextCellent Gallery’s folder name like this:
$ngg_gallery = is_plugin_active( 'C:\wamp\www\wordpress\wp-content\plugins\nextcellent-gallery-nextgen-legacy/nggallery.php') && !empty($pid);
I haven’t tested this, but it might do the trick. Before any edits to this functions.php do backup your WPJaipho folder. Also note that after this change WPJaipho will no longer support NextGEN Gallery.
Basically this type of change should be done by the plugin developer ??
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Slideshow does not randomizeThat would need a fair amount of added/changed code into widgets.php file as current (and the same in NextGEN Gallery 2.0.63) slideshow widget does not have random as an option to select.
As you know, thumbnail widget has a choice between random or most recent images, maybe its code would help make the hack.
Both widgets are handled by widgets.php file.
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Moving from NGG 2.0.61I’ve done that, and basically it should go smoothly with all your galleries and images still ok. The only thing are albums if you use them, at least for me they did not have any galleries in them – had to manually rebuild them one-by-one.
And of course if you have used NGG’s ‘Attach to Post’ (or whatever the name now is) button for your posts, the generated code will not show anything under NextCellent. NGG legacy shortcodes work as expected.
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Using gallery image as Featured Image?You can use a NextCellent gallery image as a page/post featured image by using WP’s standard “Add Media” button.
After clicking this button select NextCellent Gallery, then the desired gallery from a drop-down list and from the the image you want to use. Opening the image dialogue will show a text “Use as featured image”.
Has worked all the time. Also works with current NextGEN 2.0.61 if anyone is interested.
I also prefer using WP’s “Add Media” button for inserting single images into pages & posts, it allows more options e.g. for image settings than NextCellent’s (or NextGEN’s) own “attach to post” button.
However, latest WP 3.9. image editing features are much worse for my taste than previously, for example not allowing image width&height defined in percentages (which is handy for fully responsive images within responsive themes).
@niknetniko: sorry, read your comment badly. Your suggestion works, ie. saving gallery.PHP into ../themes/mytheme/nggallery folder with name gallery-NAME.PHP. So, thanks for the suggestion ??
It does not however work on gallery views which have been selected from an album – that still needs the actual gallery.php edits.
Showing gallery title especially with galleries selected from albums would be most beneficial. This should be a general option within NextCellent for displaying galleries.
@niknetniko: you mean save the whole gallery.php file into …/themes/nggallery/ and then call it as a template in gallery display? If that is what you mean, I certainly will give it a try!
But… as the gallery title display on pages is very handy when calling the gallery thumbnail view from an album, this probably would not work on those cases? Or would it?
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] Gallery picker shows no galleriesI haven’t found a fix for this, and with WP versions up to 3.8.3 it worked ok.
But with WP 3.9 (and WP 4.0.alpha) the button works either the way you have pointed out (a blank dialogue window) or partly as follows:
it shows the lists of galleries, albums and pictures ,but when I press the “Add” button the dialogue window will not close and shows only the digit zero (0). If I close the dialogue from the cross in the top right corner, nothing will be added.
With the new WP 3.9 this seems like a conflict with WP or some plugins – but I do not yet know which.
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] CSS into a separate gallery?@niknetniko: Thanks, now it seems to work (under WP 4.0-alpha) at my local test site ??
Hope this piece of code will be included in the next public version of NextCellent!
Forum: Plugins
In reply to: [NextCellent Gallery - NextGEN Legacy] CSS into a separate gallery?I briefly tested your hack to locate edited nggallery.css to /themes/ (root) folder using your latest core.php and style.php files from Bitbucket. Unfortunately it did not seem to work, so please test it over again.
When I returned the original PHP files and put nggallery.css into my theme’s folder the CSS edits worked as they should.
Looking at the code I was wondering about whether all code changes in core.php really are needed and/or done into right places. I’m not a coding expert with WP, PHP and also not in NextCellent Gallery logic so I have no direct proposals to change your code…