Support > cpg1.6 plugin contributions

stream plugin. Transforming the appearance of the thumbnail display.

<< < (2/2)

406man:
I’ve checked the code and can confirm there’s a bug in version 1.0.

The plugin configuration allows the grid / stream selector to be displayed either in the title line of the gallery or in a separate line under the title line. It’s up to the gallery administrator whether they want to save screen space by incorporating the selector in the title line or not. The default is to use a separate line.

The selector can be used by either: All users, logged-in users only, or no users.
When the selector was incorporated in the title line it worked correctly. When the option was chosen to display the selector in its own line it was always displayed instead of only being displayed to users who were permitted to use it.

I’ve changed the code in display_stream.inc.php to fix the bug and also slightly restructured it to make clearer how this part of the logic works.

Version 1.01 is now available for download in the first message in this thread.
Anyone running version 1.00 can avoid the bug by configuring the plugin to display the grid / stream buttons in the Title line.

Thanks to FrA1l3 for reporting the bug.

Navigation

[0] Message Index

[*] Previous page

Go to full version