wpo-HR
Forum Replies Created
-
Hi,
I just checked how NextGen handles pagination.If you select another page for a nextgen gallery display, Nextgen passes this pagenumber as a parameter to a slightly modified call to the same page.
As for this page the nextgen gallery setup is stored in the wordpress database, Nextgen knows the original (static) request and can proceed to the wanted page.However, my plugin handles the search request as a dynamic call, builds up the image result list and passes this list on the fly to a dynamically generated NextGen gallery shortcode. NextGen is able to generate pagination links as usual, but when clicking on such a pagination link, NextGen is no longer able to find the original request in the database.
On the other hand, NextGen cannot pass search parameters (which it does not know) as needed by my display shortcode. Therefore my shortcode sends the message “no searchstring for images entered”.In short:
NextGen cannot handle dynamic gallery shortcodes
and my plugin cannot handle NextGen pagination calls.So there is no plugin conflict that pagination does not work in this context.
Both plugins (NextGen and my image search) are not designed to handle this situation jontly.Sorry for this feedback.
To implement such a request, I would have to save dynamically generated searchresults, I would have to check NextGen pagination requests and setting, and Nextgen gallery must be able to provide follow up pages by shortcode parameter (which I do not know whether they can handle this).
This sounds like some significant development effort.Best regards
HaraldForum: Plugins
In reply to: [NGG Smart Image Search] Integration search result with a downloadHi,
I just realize that you should already be able to integrate the download into the search result without any plugin modifications.You simply have to define the download template as the template of your choice on the NextGen settingspage for the basic thumbnail gallery.
This will be the default setting which is automatically used by my plugin.
This should work by default:-)!
Best regards
HaraldHi,
if you display the search result list by a basic thumbnail gallery, this plugin will use the original NextGen Gallery shortcode and provide the result list as a parameter. Any paging of the displayed result list will be done by original NextGen Gallery code. I am sorry to say, but I have no cards in this paging issue which should probably be a NextGen Gallery issue or a plugin inconsistency issue between NextGen Gallery plugin and some other plugin.Anyway, personally I find paging not a good option. Today internet bandwidth is good enough to show all result images at once without paging. You can limit the length of the result list with the limit parameter of the search wigdet and searchbox shortcode.
Therefore I would recommend to deactivate the paging option for NextGen basic thumbnail gallery. You can do this in the wordpress backend on the NextGen Gallery setting page. Just set the number of images per page to zero. This will show all images without paging. And this search plugin will use these default settings.
Best regards
HaraldForum: Plugins
In reply to: [NGG Smart Image Search] Great functionality, changes to appearance possible?Hi,
as there is no additional response I mark this request as resolved.
Best regards
HaraldForum: Plugins
In reply to: [NGG Smart Image Search] Integration search result with a downloadHi c0nd3x or whoever you are,
as far as I can see on a quick check of the referenced download plugin, that plugin provides a download-template for a nextgen gallery shortcode to accomplish the downloads.
As my plugin also employs nextgen gallery shortcodes for displaying the search result list, it should be not difficult to provide the download template as an option.
However, there are points to consider.
Personally, I do not like the idea to provide free image downloads for any user.
There should be some authorization logic, i.e. at least that the user is logged in or even is the owner of a gallery (that would make sense on our photoclub website).
Best regards
HaraldForum: Reviews
In reply to: [NGG Smart Image Search] Thank youFine that it now works for you.
I must admit that I was not really sure about what your problem was with the shopping cart icon. But I think now I understand a bit more.
And you are right to modify the nextgen gallery settings, because my plugin uses the standard nextgen gallery settings when displaying the search results in gallery form.Forum: Reviews
In reply to: [NGG Smart Image Search] Thank youThanks for the feedback:-)!
With respect to your question regarding nextgen pro shopping cart icons I am not sure. Main reason is that I only have access to my nextgen plus plugin, I do not know the nextgen pro plugin.
As long as nextgen pro uses the standard nextgen datatables for image description (ngg_pictures, ngg_gallery, ngg_album) it should be possible.
But nextgen pro adds new functionality with its ecommerce addons. I would not be suprised if they use additional tables for these new functionalities. In this case you will not see shopping cart icons as search results.Hi Nicolas,
thanks for using this plugin and actively commenting on it.The new release V 2.0 of this plugin now supplies an advanced multiple keyword search. You can now search for
keyword1 & keyword2 & keyword3 …. (where ‘&’ acts like a logical AND)
as well as for
keyword1 -& keyword2 & keyword3 ….. (where ‘-&’ acts like a logical AND NOT)Whereas ‘&’ and ‘-&’ apply to all searchfields title(alt), description, filename, tags you can restrict a particular keyword to a single searchfield by using the operators ‘&t’, ‘-&t’ for tags, ‘&a’, ‘-&a’ for title/alt, ‘&d’, ‘-&d’ for description and ‘&f’, ‘-&f’ for filename.
You can find more examples and possibilities on the plugin homepage search description.
Best regards
HaraldForum: Plugins
In reply to: [NGG Smart Image Search] Customise search result – how toHi Marco,
if you use the widget in the sidebar for your search definition, you can just input your parameters in the widget settings and you are done. The results will be shown on the automatically generated landing page by means of the shortcode [hr_SIS_search_nextgen_images].If you use the shortcode [hr_SIS_nextgen_Searchbox] for your search setup, you have to do the same settings for this shortcode. The shortcode uses the same parameters as the widget. You can look at the screenshots provided on the plugin page to find all possible parameters. You only have to set those parameters, where you want to change the default settings.
As an example, your requirements listed in your question could be implemented by
[hr_SYS_nextgen_searchbox limit=80 list_file_size=0 list_tags=0].Best regards
HaraldForum: Plugins
In reply to: [NGG Smart Image Search] Great functionality, changes to appearance possible?Hi,
you can change the searchfield by css customization.
Currently the plugin uses the following css classes for the searchfield (widget and shortcode):
hr_searchform for the formular
hr_searchsubmit for the submit button
hr-search-icon for the icon.
The search icon itself is defined as a Genericon ‘\f400’ by class .hr-search-icon:before
Best regards
HaraldForum: Plugins
In reply to: [User Access Manager] please resolve conflict with NextGEN galleryThanks for the quick response !
The conflict with NextGEN Galery is now resolved.Forum: Plugins
In reply to: [User Access Manager] please resolve conflict with NextGEN galleryAny news on this issue?
It is not severe, but correcting it as suggested seems a minor task.
In fact UAM seems to overwrite NextGEN settings, as I only see the conflict (i.e. the original text having tooltips disappears on NextGEN pages) on NextGEN setting pages.Hi Robert,
thanks for the problem description and analysis of the issue.
When documenting the plugin I changed constants hr-selected, hr-none, hr-all to selected, none and all. I must have overlooked the remaining hr-selected references (and I must admit, not repeated my previous testing).This is now fixed with release 1.2.0. So when updating you no longer have the need to adjust the code.
Best regards
HaraldHi Daniel,
thanks for the quick response!
I tested the new version and at first sight it seemed to work.
E.g., NextGEN gallery software shows a filename ‘BrüderGro?.jpg” in the (backend) gallery adminstration view and indeed the backup job now produces a file “BrüderGro?.jpg” when unzipping the backup file and checking with WinSCP on the server in the corresponding gallery directory.However, the NextGEN gallery software still does not show/find the imagefile.
It seems to be more complicated.
Directly checking the MySQL database I can see that NextGEN gallery stores the correct filename ‘BrüderGro?.jpg’ which it seems to use for display in the frontend/backend.
In addition NextGEN gallery also stores a slug ‘br%c3%bcdergro%c3%9f-1’ which presumably it uses for accessing the image file.
Using WinSCP I can see the filename ‘Br??derGro??.jpg’ in the gallery directory on the server.
Somehow NextGEN gallery manages to match filename and imagefile in some way.I am not an expert, but when I check this filenname using Putty I even get further irritating results:
The ‘dir’ command shows me the filename ‘Br\303\274derGro\303\237.jpg’ in the listing.
In addition, the ‘ls -l’ command in the same Putty session shows me the filenname ‘Br??derGro??.jpg’ in the gallery directory.Now I am a bit lost. It seems that each user interface/command uses different character codes. Is there a way to recover the originally stored filename version? Maybe I have to do some postprocessing after backup?
Thanks and best regards,
HaraldHi Daniel,
any update to this issue?
Do you need more information or help from my side?
Thanks and best regards
Harald R?h